[mutter/wip/rstrode/rhel-8.0.0: 71/117] renderer/native: Make the EGLStreams operate in mailbox mode
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/rstrode/rhel-8.0.0: 71/117] renderer/native: Make the EGLStreams operate in mailbox mode
- Date: Sun, 17 Feb 2019 17:28:48 +0000 (UTC)
commit 6628d12f3c37b05b5844d652cadd202877fb5eb8
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Jan 11 16:03:37 2019 +0100
renderer/native: Make the EGLStreams operate in mailbox mode
This means eglSwapBuffers() wont dead lock if there is an old buffer pending
page flip. This could happen after e.g. mode changes or for other reasons.
src/backends/native/meta-renderer-native.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index d80826c27..a19fcef2a 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -2122,7 +2122,7 @@ meta_renderer_native_create_surface_egl_device (CoglOnscreen *onscreen,
EGLOutputLayerEXT output_layer;
EGLAttrib output_attribs[3];
EGLint stream_attribs[] = {
- EGL_STREAM_FIFO_LENGTH_KHR, 1,
+ EGL_STREAM_FIFO_LENGTH_KHR, 0,
EGL_CONSUMER_AUTO_ACQUIRE_EXT, EGL_FALSE,
EGL_NONE
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]