Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2288)

Unified Diff: gpu/command_buffer/tests/gl_manager.cc

Issue 1078253002: gfx namespace cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc ('k') | ui/gl/gl_image_linux_dma_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_manager.cc
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
index 2b6d06dbc22634d829354867406d26dca2de0dcd..3aaf34fa738d4797b52200138e9ed620e6b8daf0 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -41,17 +41,17 @@ namespace {
size_t NumberOfPlanesForGpuMemoryBufferFormat(
gfx::GpuMemoryBuffer::Format format) {
switch (format) {
- case gfx::GpuMemoryBuffer::Format::ATC:
- case gfx::GpuMemoryBuffer::Format::ATCIA:
- case gfx::GpuMemoryBuffer::Format::DXT1:
- case gfx::GpuMemoryBuffer::Format::DXT5:
- case gfx::GpuMemoryBuffer::Format::ETC1:
- case gfx::GpuMemoryBuffer::Format::R_8:
- case gfx::GpuMemoryBuffer::Format::RGBA_8888:
- case gfx::GpuMemoryBuffer::Format::RGBX_8888:
- case gfx::GpuMemoryBuffer::Format::BGRA_8888:
+ case gfx::GpuMemoryBuffer::ATC:
+ case gfx::GpuMemoryBuffer::ATCIA:
+ case gfx::GpuMemoryBuffer::DXT1:
+ case gfx::GpuMemoryBuffer::DXT5:
+ case gfx::GpuMemoryBuffer::ETC1:
+ case gfx::GpuMemoryBuffer::R_8:
+ case gfx::GpuMemoryBuffer::RGBA_8888:
+ case gfx::GpuMemoryBuffer::RGBX_8888:
+ case gfx::GpuMemoryBuffer::BGRA_8888:
return 1;
- case gfx::GpuMemoryBuffer::Format::YUV_420:
+ case gfx::GpuMemoryBuffer::YUV_420:
return 3;
}
NOTREACHED();
« no previous file with comments | « gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc ('k') | ui/gl/gl_image_linux_dma_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698