diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2013-01-21 14:58:33 +0200 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2013-01-21 14:59:04 +0200 |
commit | 73e275e7be13df5c74e26510dcb9d9c0cc24981e (patch) | |
tree | 99774bfc9dfec1f413b319d0c98220680780bb89 /gralloc_drm_handle.h | |
parent | a8f0334ef5706875f2c73a2690a2f1fc3e5fee27 (diff) | |
download | external_drm_gralloc-73e275e7be13df5c74e26510dcb9d9c0cc24981e.zip external_drm_gralloc-73e275e7be13df5c74e26510dcb9d9c0cc24981e.tar.gz external_drm_gralloc-73e275e7be13df5c74e26510dcb9d9c0cc24981e.tar.bz2 |
gralloc: set supported planes for buffers on allocation
This is done so that we should not have to do it dynamically during
composition. This information will be used later with hwcomposer module
when using planes for composition.
Change-Id: I2b6716fe9a8da81050645900c6c0955385946991
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'gralloc_drm_handle.h')
-rw-r--r-- | gralloc_drm_handle.h | 4 |
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 */ |