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

Unified Diff: cc/draw_quad.cc

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/draw_quad.cc
diff --git a/cc/draw_quad.cc b/cc/draw_quad.cc
index 47f9aa0e0b123d62cc7e058bb01f4163e45f83b6..4e5ead54263614cefb142042ed6d262cd211baf7 100644
--- a/cc/draw_quad.cc
+++ b/cc/draw_quad.cc
@@ -36,12 +36,14 @@ void DrawQuad::SetAll(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
gfx::Rect opaque_rect,
gfx::Rect visible_rect,
- bool needs_blending) {
+ bool needs_blending,
+ AntiAliasing anti_aliasing) {
this->material = material;
this->rect = rect;
this->opaque_rect = opaque_rect;
this->visible_rect = visible_rect;
this->needs_blending = needs_blending;
+ this->anti_aliasing = anti_aliasing;
this->shared_quad_state = shared_quad_state;
DCHECK(shared_quad_state);

Powered by Google App Engine
This is Rietveld 408576698