aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Hu <bohu@google.com>2016-08-07 05:10:11 +0000
committerBo Hu <bohu@google.com>2016-08-07 05:10:11 +0000
commit1a80c227edbc86ae585276a0b7c45e28458813f1 (patch)
tree8a70a8a2e69e284dd48b6308cad54551609bedcf
parent1454b715016822c276b8bcaaeabca2d8f5b4857c (diff)
downloadgoldfish-opengl-1a80c227edbc86ae585276a0b7c45e28458813f1.tar.gz
Revert "Emulator: create host color buffer for Vedio encoder"
temp revert to track down CTS regression starting with build 107 where massive cases were not executed This reverts commit 1454b715016822c276b8bcaaeabca2d8f5b4857c. Change-Id: I88b37b6087dcb6677c7afb863022063db6ee5893
-rw-r--r--system/gralloc/gralloc.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp
index a5920cd3..b11e908c 100644
--- a/system/gralloc/gralloc.cpp
+++ b/system/gralloc/gralloc.cpp
@@ -369,7 +369,6 @@ 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 |