summaryrefslogtreecommitdiffstats
path: root/include/hardware/gralloc.h
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2013-07-16 12:51:13 -0700
committerJason Sams <jsams@google.com>2013-07-16 12:51:13 -0700
commit22423852817b19245a2134653eef3f71a39cf42a (patch)
treecb8f9b09a9ab5513d33e4d388e6b0f7b175ba6cc /include/hardware/gralloc.h
parentd542a200748d7f182e5df56aabe574d357433e46 (diff)
downloadhardware_libhardware-22423852817b19245a2134653eef3f71a39cf42a.zip
hardware_libhardware-22423852817b19245a2134653eef3f71a39cf42a.tar.gz
hardware_libhardware-22423852817b19245a2134653eef3f71a39cf42a.tar.bz2
Add usage bit for RenderScript.
Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
Diffstat (limited to 'include/hardware/gralloc.h')
-rw-r--r--include/hardware/gralloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h
index 9c62242..0dbebcf 100644
--- a/include/hardware/gralloc.h
+++ b/include/hardware/gralloc.h
@@ -104,6 +104,9 @@ enum {
/* mask for the software usage bit-mask */
GRALLOC_USAGE_HW_MASK = 0x00071F00,
+ /* buffer will be used as a RenderScript Allocation */
+ GRALLOC_USAGE_RENDERSCRIPT = 0x00100000,
+
/* buffer should be displayed full-screen on an external display when
* possible
*/