summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglimage.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-05 16:43:04 -0400
committerKristian Høgsberg <[email protected]>2012-07-11 15:28:36 -0400
commite6a33570b73aa56c87818d7f67a122d4427b7841 (patch)
tree4417b28097e16ea2b944922b6ec71c2ba087817e /src/egl/main/eglimage.c
parent1aaec8c60985ffe03af265bf8f659ee0319926ca (diff)
egl: Add EGL_WAYLAND_PLANE_WL attribute
This lets us specify the plane to create the image for for multiplanar wl_buffers. Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/egl/main/eglimage.c')
-rw-r--r--src/egl/main/eglimage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c
index 1174d0aef1f..bfae709bb3c 100644
--- a/src/egl/main/eglimage.c
+++ b/src/egl/main/eglimage.c
@@ -88,6 +88,11 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy,
attrs->DRMBufferStrideMESA = val;
break;
+ /* EGL_WL_bind_wayland_display */
+ case EGL_WAYLAND_PLANE_WL:
+ attrs->PlaneWL = val;
+ break;
+
default:
/* unknown attrs are ignored */
break;