| Index: content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.cc b/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| index 00a94818b732c971a84deebec29e02612ad35050..b197cca2bced5fa122740938957dc486a2c387fb 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| @@ -27,6 +27,7 @@ bool GpuMemoryBufferImpl::IsFormatValid(unsigned internalformat) {
|
| switch (internalformat) {
|
| case GL_BGRA8_EXT:
|
| case GL_RGBA8_OES:
|
| + case GL_RGB8_OES:
|
| return true;
|
| default:
|
| return false;
|
| @@ -49,6 +50,7 @@ size_t GpuMemoryBufferImpl::BytesPerPixel(unsigned internalformat) {
|
| switch (internalformat) {
|
| case GL_BGRA8_EXT:
|
| case GL_RGBA8_OES:
|
| + case GL_RGB8_OES:
|
| return 4;
|
| default:
|
| NOTREACHED();
|
|
|