| 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 2cb45df2c930d38f328140438461c2252c46c2cf..470be0744ae7cc3fd4147e3df59f3e9edb55aca6 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc
|
| @@ -24,10 +24,15 @@ void GpuMemoryBufferFactorySharedMemory::
|
| std::vector<Configuration>* configurations) {
|
| const Configuration supported_configurations[] = {
|
| {gfx::GpuMemoryBuffer::R_8, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::R_8, gfx::GpuMemoryBuffer::PERSISTENT_MAP},
|
| {gfx::GpuMemoryBuffer::RGBA_4444, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::RGBA_4444, gfx::GpuMemoryBuffer::PERSISTENT_MAP},
|
| {gfx::GpuMemoryBuffer::RGBA_8888, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::RGBA_8888, gfx::GpuMemoryBuffer::PERSISTENT_MAP},
|
| {gfx::GpuMemoryBuffer::BGRA_8888, gfx::GpuMemoryBuffer::MAP},
|
| - {gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::MAP}};
|
| + {gfx::GpuMemoryBuffer::BGRA_8888, gfx::GpuMemoryBuffer::PERSISTENT_MAP},
|
| + {gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::MAP},
|
| + {gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::PERSISTENT_MAP}};
|
| configurations->assign(
|
| supported_configurations,
|
| supported_configurations + arraysize(supported_configurations));
|
|
|