| Index: content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc
|
| diff --git a/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc b/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc
|
| index 992decd875d5e06e2637e8a17f9c8ae995d1a8ae..4c8f0e9a4c3caca71e5f4af68a147160fad2d8e2 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc
|
| @@ -23,10 +23,10 @@ void GpuMemoryBufferFactorySharedMemory::
|
| GetSupportedGpuMemoryBufferConfigurations(
|
| std::vector<Configuration>* configurations) {
|
| const Configuration supported_configurations[] = {
|
| - { gfx::GpuMemoryBuffer::RGBA_8888, gfx::GpuMemoryBuffer::MAP },
|
| - { gfx::GpuMemoryBuffer::BGRA_8888, gfx::GpuMemoryBuffer::MAP },
|
| - { gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::MAP }
|
| - };
|
| + {gfx::GpuMemoryBuffer::R_8, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::RGBA_8888, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::BGRA_8888, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::MAP}};
|
| configurations->assign(
|
| supported_configurations,
|
| supported_configurations + arraysize(supported_configurations));
|
|
|