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

Unified Diff: cc/solid_color_draw_quad.h

Issue 11649005: cc: Support anti-aliasing for solid color layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and add DrawQuad::AntiAliasing struct. Created 7 years, 11 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
Index: cc/solid_color_draw_quad.h
diff --git a/cc/solid_color_draw_quad.h b/cc/solid_color_draw_quad.h
index c8dd0c01d17501160b389ccbd8734707ef4e8935..f2bee39484520b54a0b35e629d6f4d1b772372ec 100644
--- a/cc/solid_color_draw_quad.h
+++ b/cc/solid_color_draw_quad.h
@@ -18,6 +18,7 @@ class CC_EXPORT SolidColorDrawQuad : public DrawQuad {
void SetNew(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
+ AntiAliasing anti_aliasing,
SkColor color);
void SetAll(const SharedQuadState* shared_quad_state,
@@ -25,6 +26,7 @@ class CC_EXPORT SolidColorDrawQuad : public DrawQuad {
gfx::Rect opaque_rect,
gfx::Rect visible_rect,
bool needs_blending,
+ AntiAliasing anti_aliasing,
SkColor color);
SkColor color;

Powered by Google App Engine
This is Rietveld 408576698