summaryrefslogtreecommitdiffstats
path: root/include/hardware/gralloc.h
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-08-10 11:41:52 -0700
committerJamie Gennis <jgennis@google.com>2011-08-10 11:41:52 -0700
commit4b560d5563ee4699cd24938c2f13b4a416408273 (patch)
treeed46be4c4e22570445b55ab60adb9bc09fccb9b1 /include/hardware/gralloc.h
parentee43a308b6d89442e41d5c14bf5831a213b681a9 (diff)
downloadhardware_libhardware-4b560d5563ee4699cd24938c2f13b4a416408273.zip
hardware_libhardware-4b560d5563ee4699cd24938c2f13b4a416408273.tar.gz
hardware_libhardware-4b560d5563ee4699cd24938c2f13b4a416408273.tar.bz2
Gralloc: add a HWComposer usage bit
This change adds a new Gralloc usage bit to indicate that the Gralloc buffer being allocated will be passed to the HWComposer HAL module. Change-Id: If901f886cb22fc8379811898db3a380a61c0e442
Diffstat (limited to 'include/hardware/gralloc.h')
-rw-r--r--include/hardware/gralloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h
index 8ee0240..9daad1c 100644
--- a/include/hardware/gralloc.h
+++ b/include/hardware/gralloc.h
@@ -70,6 +70,8 @@ enum {
GRALLOC_USAGE_HW_RENDER = 0x00000200,
/* buffer will be used by the 2D hardware blitter */
GRALLOC_USAGE_HW_2D = 0x00000400,
+ /* buffer will be used by the HWComposer HAL module */
+ GRALLOC_USAGE_HW_COMPOSER = 0x00000800,
/* buffer will be used with the framebuffer device */
GRALLOC_USAGE_HW_FB = 0x00001000,
/* mask for the software usage bit-mask */