summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-drm/wayland-drm.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-05 16:27:05 -0400
committerKristian Høgsberg <[email protected]>2012-07-11 15:28:35 -0400
commit1aaec8c60985ffe03af265bf8f659ee0319926ca (patch)
tree6f7660b996f65e2c794c61f764dcb644b88ea776 /src/egl/wayland/wayland-drm/wayland-drm.h
parent379eb47ea61c87c9ac071fa6d93e49ae3f02ac2c (diff)
wayland-drm: Add protocol to create planar buffers
Diffstat (limited to 'src/egl/wayland/wayland-drm/wayland-drm.h')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.h b/src/egl/wayland/wayland-drm/wayland-drm.h
index f3df7eeaddd..46aab6984d1 100644
--- a/src/egl/wayland/wayland-drm/wayland-drm.h
+++ b/src/egl/wayland/wayland-drm/wayland-drm.h
@@ -14,9 +14,8 @@ struct wl_drm_buffer {
struct wl_drm *drm;
uint32_t format;
uint32_t driver_format;
- int32_t offset0;
- int32_t stride0;
-
+ int32_t offset[3];
+ int32_t stride[3];
void *driver_buffer;
};