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

Unified Diff: cc/software_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/render_pass_draw_quad.cc ('k') | cc/solid_color_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/software_renderer.cc
diff --git a/cc/software_renderer.cc b/cc/software_renderer.cc
index d7aa06d21534613e42ab4a2c4e9fbfd49fcf4972..2710ba3b65de621bc63def13d9fb8ac8120ba68f 100644
--- a/cc/software_renderer.cc
+++ b/cc/software_renderer.cc
@@ -187,19 +187,19 @@ void SoftwareRenderer::drawQuad(DrawingFrame& frame, const DrawQuad* quad)
}
switch (quad->material()) {
- case DrawQuad::DebugBorder:
+ case DrawQuad::DEBUG_BORDER:
drawDebugBorderQuad(frame, DebugBorderDrawQuad::materialCast(quad));
break;
- case DrawQuad::SolidColor:
+ case DrawQuad::SOLID_COLOR:
drawSolidColorQuad(frame, SolidColorDrawQuad::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::RenderPass:
+ case DrawQuad::RENDER_PASS:
drawRenderPassQuad(frame, RenderPassDrawQuad::materialCast(quad));
break;
default:
« no previous file with comments | « cc/render_pass_draw_quad.cc ('k') | cc/solid_color_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698