| Index: content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| index 28bd1463cb76e20aa4a21ddd7691317033a31bd1..bc4d9faac5263d61cf0d760fdf7af174aae38d9b 100644
|
| --- a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| +++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| @@ -118,6 +118,8 @@ GetSupportedGpuMemoryBufferConfigurations(gfx::GpuMemoryBufferType type) {
|
| {gfx::BufferFormat::BGRA_8888, gfx::BufferUsage::PERSISTENT_MAP},
|
| {gfx::BufferFormat::UYVY_422, gfx::BufferUsage::MAP},
|
| {gfx::BufferFormat::UYVY_422, gfx::BufferUsage::PERSISTENT_MAP},
|
| + {gfx::BufferFormat::YUV_420_BIPLANAR, gfx::BufferUsage::MAP},
|
| + {gfx::BufferFormat::YUV_420_BIPLANAR, gfx::BufferUsage::PERSISTENT_MAP},
|
| };
|
| for (auto& configuration : kNativeConfigurations) {
|
| if (IsGpuMemoryBufferFactoryConfigurationSupported(type, configuration))
|
| @@ -130,6 +132,7 @@ GetSupportedGpuMemoryBufferConfigurations(gfx::GpuMemoryBufferType type) {
|
| {gfx::BufferFormat::BGRA_8888, gfx::BufferUsage::SCANOUT},
|
| {gfx::BufferFormat::BGRX_8888, gfx::BufferUsage::SCANOUT},
|
| {gfx::BufferFormat::UYVY_422, gfx::BufferUsage::SCANOUT},
|
| + {gfx::BufferFormat::YUV_420_BIPLANAR, gfx::BufferUsage::SCANOUT},
|
| };
|
| for (auto& configuration : kScanoutConfigurations) {
|
| if (IsGpuMemoryBufferFactoryConfigurationSupported(type, configuration))
|
|
|