diff options
author | Bo Hu <bohu@google.com> | 2016-08-09 01:09:15 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-08-09 01:09:15 +0000 |
commit | 1fb7ea129dc0538080e1712adae34cf91ba1c962 (patch) | |
tree | 0e41a60b7d7e3c12f983519ec13bffcbb8594244 | |
parent | f0559ca935cb7db471a3283379d449ca016a470d (diff) | |
parent | 7579c85fbe246ffb2d994648b774f7e324b4fff4 (diff) | |
download | goldfish-opengl-1fb7ea129dc0538080e1712adae34cf91ba1c962.tar.gz |
Merge "Revert "Revert "Emulator: create host color buffer for Vedio encoder"""
-rw-r--r-- | system/gralloc/gralloc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp index c1cd5066..08c41ac8 100644 --- a/system/gralloc/gralloc.cpp +++ b/system/gralloc/gralloc.cpp @@ -377,6 +377,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 | |