Chromium Code Reviews| 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 4c8f0e9a4c3caca71e5f4af68a147160fad2d8e2..250ce34fc4e0fc28479b7da3cc518d75ad76577e 100644 |
| --- a/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc |
| +++ b/content/common/gpu/gpu_memory_buffer_factory_shared_memory.cc |
| @@ -26,7 +26,11 @@ void GpuMemoryBufferFactorySharedMemory:: |
| {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}}; |
| + {gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::MAP}, |
| + {gfx::GpuMemoryBuffer::R_8, gfx::GpuMemoryBuffer::PERSISTENT_MAP}, |
| + {gfx::GpuMemoryBuffer::RGBA_8888, gfx::GpuMemoryBuffer::PERSISTENT_MAP}, |
| + {gfx::GpuMemoryBuffer::BGRA_8888, gfx::GpuMemoryBuffer::PERSISTENT_MAP}, |
| + {gfx::GpuMemoryBuffer::YUV_420, gfx::GpuMemoryBuffer::PERSISTENT_MAP}}; |
|
reveman
2015/05/19 16:12:12
nit: let's sort these lines alphabetically
danakj
2015/05/19 22:19:44
Done.
|
| configurations->assign( |
| supported_configurations, |
| supported_configurations + arraysize(supported_configurations)); |