Index: gpu/ipc/host/gpu_memory_buffer_support.cc |
diff --git a/gpu/ipc/host/gpu_memory_buffer_support.cc b/gpu/ipc/host/gpu_memory_buffer_support.cc |
index 66884870a1c0c4821ae04beaacb701b357fe76f2..55c42a88aa7be8f16a0e784b8679821c81511828 100644 |
--- a/gpu/ipc/host/gpu_memory_buffer_support.cc |
+++ b/gpu/ipc/host/gpu_memory_buffer_support.cc |
@@ -38,11 +38,17 @@ GpuMemoryBufferConfigurationSet GetNativeGpuMemoryBufferConfigurations() { |
#if defined(USE_OZONE) || defined(OS_MACOSX) |
if (AreNativeGpuMemoryBuffersEnabled()) { |
const gfx::BufferFormat kNativeFormats[] = { |
- 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::RGBA_F16, gfx::BufferFormat::UYVY_422, |
- gfx::BufferFormat::YVU_420, gfx::BufferFormat::YUV_420_BIPLANAR}; |
+ gfx::BufferFormat::R_8, |
+ gfx::BufferFormat::RG_88, |
+ gfx::BufferFormat::R_16, |
+ gfx::BufferFormat::BGR_565, |
+ gfx::BufferFormat::RGBA_4444, |
+ gfx::BufferFormat::RGBA_8888, |
+ gfx::BufferFormat::BGRA_8888, |
+ gfx::BufferFormat::RGBA_F16, |
+ 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, |