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

Unified Diff: cc/render_pass_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/render_pass_draw_quad.cc
diff --git a/cc/render_pass_draw_quad.cc b/cc/render_pass_draw_quad.cc
index b46d3b754889345b21e73f828aa5941698c9f18e..c04aceae017c9a422676a68753bf7a7163a9409e 100644
--- a/cc/render_pass_draw_quad.cc
+++ b/cc/render_pass_draw_quad.cc
@@ -70,7 +70,7 @@ void RenderPassDrawQuad::SetAll(
DCHECK(render_pass_id.index >= 0);
DrawQuad::SetAll(shared_quad_state, DrawQuad::RENDER_PASS, rect, opaque_rect,
- visible_rect, needs_blending);
+ visible_rect, needs_blending, AntiAliasing());
this->render_pass_id = render_pass_id;
this->is_replica = is_replica;
this->mask_resource_id = mask_resource_id;

Powered by Google App Engine
This is Rietveld 408576698