diff options
author | Jamie Gennis <jgennis@google.com> | 2011-08-10 11:41:52 -0700 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2011-08-10 11:41:52 -0700 |
commit | 4b560d5563ee4699cd24938c2f13b4a416408273 (patch) | |
tree | ed46be4c4e22570445b55ab60adb9bc09fccb9b1 | |
parent | ee43a308b6d89442e41d5c14bf5831a213b681a9 (diff) | |
download | libhardware-4b560d5563ee4699cd24938c2f13b4a416408273.tar.gz |
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
-rw-r--r-- | include/hardware/gralloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h index 8ee02401..9daad1c8 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 */ |