OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d542a20
)
Add usage bit for RenderScript.
author
Jason Sams
<jsams@google.com>
Tue, 16 Jul 2013 19:51:13 +0000
(12:51 -0700)
committer
Jason Sams
<jsams@google.com>
Tue, 16 Jul 2013 19:51:13 +0000
(12:51 -0700)
Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
include/hardware/gralloc.h
patch
|
blob
|
history
diff --git
a/include/hardware/gralloc.h
b/include/hardware/gralloc.h
index
9c62242
..
0dbebcf
100644
(file)
--- 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
*/