summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc_drm_handle.h')
-rw-r--r--gralloc_drm_handle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gralloc_drm_handle.h b/gralloc_drm_handle.h
index 430b480..70a1ae8 100644
--- a/gralloc_drm_handle.h
+++ b/gralloc_drm_handle.h
@@ -31,7 +31,7 @@ struct gralloc_drm_handle_t {
native_handle_t base;
#define GRALLOC_DRM_HANDLE_MAGIC 0x12345678
-#define GRALLOC_DRM_HANDLE_NUM_INTS 9
+#define GRALLOC_DRM_HANDLE_NUM_INTS 10
#define GRALLOC_DRM_HANDLE_NUM_FDS 0
int magic;
@@ -40,6 +40,8 @@ struct gralloc_drm_handle_t {
int format;
int usage;
+ unsigned int plane_mask; /* planes that support handle */
+
int name; /* the name of the bo */
int stride; /* the stride in bytes */