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 160f58adeaea9423ee3c9d6c40103b9ed8c49bc6..a63fc08da1a3b8d2bd5c3c53825894e3c978ebd3 100644 |
--- a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc |
+++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc |
@@ -56,10 +56,15 @@ GpuMemoryBufferConfigurationSet GetNativeGpuMemoryBufferConfigurations() { |
if (BrowserGpuMemoryBufferManager::IsNativeGpuMemoryBuffersEnabled()) { |
const gfx::BufferFormat kNativeFormats[] = { |
- gfx::BufferFormat::R_8, gfx::BufferFormat::BGR_565, |
- gfx::BufferFormat::RGBA_4444, gfx::BufferFormat::RGBA_8888, |
- gfx::BufferFormat::BGRA_8888, gfx::BufferFormat::UYVY_422, |
- gfx::BufferFormat::YVU_420, gfx::BufferFormat::YUV_420_BIPLANAR}; |
+ gfx::BufferFormat::R_8, |
+ gfx::BufferFormat::RG_88, |
+ gfx::BufferFormat::BGR_565, |
+ gfx::BufferFormat::RGBA_4444, |
+ gfx::BufferFormat::RGBA_8888, |
+ gfx::BufferFormat::BGRA_8888, |
+ gfx::BufferFormat::UYVY_422, |
+ gfx::BufferFormat::YVU_420, |
+ gfx::BufferFormat::YUV_420_BIPLANAR}; |
const gfx::BufferUsage kNativeUsages[] = { |
gfx::BufferUsage::GPU_READ, gfx::BufferUsage::SCANOUT, |
gfx::BufferUsage::GPU_READ_CPU_READ_WRITE, |