OSDN Git Service
(root)
/
android-x86
/
device-generic-goldfish-opengl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a80c22
)
Revert "Revert "Emulator: create host color buffer for Vedio encoder""
author
Bo Hu
<bohu@google.com>
Tue, 9 Aug 2016 01:09:06 +0000
(
01:09
+0000)
committer
Bo Hu
<bohu@google.com>
Tue, 9 Aug 2016 01:09:06 +0000
(
01:09
+0000)
This reverts commit
1a80c227edbc86ae585276a0b7c45e28458813f1
.
Change-Id: I484c2092e30d23038f3a6ffbdf646960747b54b4
system/gralloc/gralloc.cpp
patch
|
blob
|
history
diff --git
a/system/gralloc/gralloc.cpp
b/system/gralloc/gralloc.cpp
index
b11e908
..
a5920cd
100644
(file)
--- a/
system/gralloc/gralloc.cpp
+++ b/
system/gralloc/gralloc.cpp
@@
-369,6
+369,7
@@
static int gralloc_alloc(alloc_device_t* dev,
#if PLATFORM_SDK_VERSION >= 15
if (usage & (GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_RENDER |
GRALLOC_USAGE_HW_2D | GRALLOC_USAGE_HW_COMPOSER |
+ GRALLOC_USAGE_HW_VIDEO_ENCODER |
GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_SW_READ_MASK) ) {
#else // PLATFORM_SDK_VERSION
if (usage & (GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_HW_RENDER |