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

Unified Diff: cc/gl_renderer.cc

Issue 11417035: cc: Switch the DrawQuad enum names to chromium style and remove pragmas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « cc/draw_quad.cc ('k') | cc/io_surface_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/gl_renderer.cc
diff --git a/cc/gl_renderer.cc b/cc/gl_renderer.cc
index e69d285070ef275234d916123d6d6562eb7e5205..895e5db9ae7e39714be4cfaedc44de0d59f0d5d9 100644
--- a/cc/gl_renderer.cc
+++ b/cc/gl_renderer.cc
@@ -256,34 +256,34 @@ void GLRenderer::drawQuad(DrawingFrame& frame, const DrawQuad* quad)
GLC(m_context, m_context->disable(GL_BLEND));
switch (quad->material()) {
- case DrawQuad::Invalid:
+ case DrawQuad::INVALID:
NOTREACHED();
break;
- case DrawQuad::Checkerboard:
+ case DrawQuad::CHECKERBOARD:
drawCheckerboardQuad(frame, CheckerboardDrawQuad::materialCast(quad));
break;
- case DrawQuad::DebugBorder:
+ case DrawQuad::DEBUG_BORDER:
drawDebugBorderQuad(frame, DebugBorderDrawQuad::materialCast(quad));
break;
- case DrawQuad::IOSurfaceContent:
+ case DrawQuad::IO_SURFACE_CONTENT:
drawIOSurfaceQuad(frame, IOSurfaceDrawQuad::materialCast(quad));
break;
- case DrawQuad::RenderPass:
+ case DrawQuad::RENDER_PASS:
drawRenderPassQuad(frame, RenderPassDrawQuad::materialCast(quad));
break;
- case DrawQuad::SolidColor:
+ case DrawQuad::SOLID_COLOR:
drawSolidColorQuad(frame, SolidColorDrawQuad::materialCast(quad));
break;
- case DrawQuad::StreamVideoContent:
+ case DrawQuad::STREAM_VIDEO_CONTENT:
drawStreamVideoQuad(frame, StreamVideoDrawQuad::materialCast(quad));
break;
- case DrawQuad::TextureContent:
+ case DrawQuad::TEXTURE_CONTENT:
drawTextureQuad(frame, TextureDrawQuad::materialCast(quad));
break;
- case DrawQuad::TiledContent:
+ case DrawQuad::TILED_CONTENT:
drawTileQuad(frame, TileDrawQuad::materialCast(quad));
break;
- case DrawQuad::YUVVideoContent:
+ case DrawQuad::YUV_VIDEO_CONTENT:
drawYUVVideoQuad(frame, YUVVideoDrawQuad::materialCast(quad));
break;
}
« no previous file with comments | « cc/draw_quad.cc ('k') | cc/io_surface_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698