| Index: content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
| diff --git a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
| index eeec46039404502fccf79b4e59ea3d3154d6dc90..327d4bc8796d05087886fa1619a6a01e39a2e47f 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc
|
| @@ -26,6 +26,7 @@ void AddIntegerValue(CFMutableDictionaryRef dictionary,
|
| int32 BytesPerPixel(gfx::BufferFormat format) {
|
| switch (format) {
|
| case gfx::BufferFormat::R_8:
|
| + case gfx::BufferFormat::YUV_420_BIPLANAR:
|
| return 1;
|
| case gfx::BufferFormat::BGRA_8888:
|
| return 4;
|
| @@ -52,6 +53,8 @@ int32 PixelFormat(gfx::BufferFormat format) {
|
| return 'L008';
|
| case gfx::BufferFormat::BGRA_8888:
|
| return 'BGRA';
|
| + case gfx::BufferFormat::YUV_420_BIPLANAR:
|
| + return '420v';
|
| case gfx::BufferFormat::ATC:
|
| case gfx::BufferFormat::ATCIA:
|
| case gfx::BufferFormat::DXT1:
|
|
|