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

Unified Diff: cc/tile_draw_quad.h

Issue 12328098: cc: Moving anti-aliasing decision to parent compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@solidaa
Patch Set: Rebase to tip of tree Created 7 years, 10 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
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/tile_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_draw_quad.h
diff --git a/cc/tile_draw_quad.h b/cc/tile_draw_quad.h
index 2018a5417b18fb38dbd734a5fa4c2f89851bb56e..ff04b4bcbb60f2b651f5161ace97950961e35a1e 100644
--- a/cc/tile_draw_quad.h
+++ b/cc/tile_draw_quad.h
@@ -24,11 +24,7 @@ class CC_EXPORT TileDrawQuad : public DrawQuad {
unsigned resource_id,
const gfx::RectF& tex_coord_rect,
gfx::Size texture_size,
- bool swizzle_contents,
- bool left_edge_aa,
- bool top_edge_aa,
- bool right_edge_aa,
- bool bottom_edge_aa);
+ bool swizzle_contents);
void SetAll(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
@@ -38,28 +34,13 @@ class CC_EXPORT TileDrawQuad : public DrawQuad {
unsigned resource_id,
const gfx::RectF& tex_coord_rect,
gfx::Size texture_size,
- bool swizzle_contents,
- bool left_edge_aa,
- bool top_edge_aa,
- bool right_edge_aa,
- bool bottom_edge_aa);
+ bool swizzle_contents);
unsigned resource_id;
gfx::RectF tex_coord_rect;
gfx::Size texture_size;
bool swizzle_contents;
- // TODO(danakj): Stick the data used to compute these things in the quad
- // instead so the parent compositor can decide to use AA on its own.
- bool left_edge_aa;
- bool top_edge_aa;
- bool right_edge_aa;
- bool bottom_edge_aa;
-
- bool IsAntialiased() const {
- return left_edge_aa || top_edge_aa || right_edge_aa || bottom_edge_aa;
- }
-
virtual void IterateResources(const ResourceIteratorCallback& callback)
OVERRIDE;
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/tile_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698