OSDN Git Service

Add usage bit for RenderScript.
authorJason Sams <jsams@google.com>
Tue, 16 Jul 2013 19:51:13 +0000 (12:51 -0700)
committerJason Sams <jsams@google.com>
Tue, 16 Jul 2013 19:51:13 +0000 (12:51 -0700)
Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb

include/hardware/gralloc.h

index 9c62242..0dbebcf 100644 (file)
@@ -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
      */