summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland
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/wayland
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/wayland')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h
index 46aab6984d1..4ef286fe6c5 100644
--- a/src/egl/wayland/wayland-drm/wayland-drm.h
+++ b/src/egl/wayland/wayland-drm/wayland-drm.h
@@ -13,7 +13,7 @@ struct wl_drm_buffer {
struct wl_buffer buffer;
struct wl_drm *drm;
uint32_t format;
- uint32_t driver_format;
+ const void *driver_format;
int32_t offset[3];
int32_t stride[3];
void *driver_buffer;