diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2013-05-03 10:08:54 +0300 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2013-05-13 15:28:35 +0300 |
commit | a872ecf380bfb33a1e17878d7d7ac16d1730dc09 (patch) | |
tree | 65cfc8edea3b91fe9da22635a52dbff5b9d8345e /gralloc.c | |
parent | 29b01951d54470f495e1097bd779342d618daf7a (diff) | |
download | external_drm_gralloc-a872ecf380bfb33a1e17878d7d7ac16d1730dc09.zip external_drm_gralloc-a872ecf380bfb33a1e17878d7d7ac16d1730dc09.tar.gz external_drm_gralloc-a872ecf380bfb33a1e17878d7d7ac16d1730dc09.tar.bz2 |
gralloc: provide methods for hwc to change handle of a plane
Patch changes reserve_plane to get id number as additional parameter.
This can be used by hwc to make changes to a particular plane. New
api hwc_set_plane_handle is introduced so that hwc can change the
buffer handle of a plane, this is required because after plane has
been reserved for a particular ui layer, this handle can change as
the layer is typically multibuffered.
Change-Id: I32d711ff3565ae9e8f5b8a6691c22b03a50cefe7
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'gralloc.c')
-rw-r--r-- | gralloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -354,6 +354,7 @@ struct drm_module_t HAL_MODULE_INFO_SYM = { }, .hwc_reserve_plane = gralloc_drm_reserve_plane, .hwc_disable_planes = gralloc_drm_disable_planes, + .hwc_set_plane_handle = gralloc_drm_set_plane_handle, .mutex = PTHREAD_MUTEX_INITIALIZER, .drm = NULL |