| 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 b3cd98332b41d82eecec0e17434bfb01d865a78d..224c411f297b4d1f76ef46d7328fae59b161baca 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| @@ -21,6 +21,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;
|
| @@ -43,6 +44,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();
|
|
|