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

Unified Diff: cc/shared_quad_state.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/render_surface_impl.cc ('k') | cc/shared_quad_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/shared_quad_state.h
diff --git a/cc/shared_quad_state.h b/cc/shared_quad_state.h
index 974d5f1f582ab59502d8bf0f913680a36cdf946a..420dc5498959520b377599ea4405af8beb45d446 100644
--- a/cc/shared_quad_state.h
+++ b/cc/shared_quad_state.h
@@ -20,6 +20,7 @@ class CC_EXPORT SharedQuadState {
scoped_ptr<SharedQuadState> Copy() const;
void SetAll(const gfx::Transform& content_to_target_transform,
+ const gfx::Size content_bounds,
const gfx::Rect& visible_content_rect,
const gfx::Rect& clip_rect,
bool is_clipped,
@@ -28,6 +29,7 @@ class CC_EXPORT SharedQuadState {
// Transforms from quad's original content space to its target content space.
gfx::Transform content_to_target_transform;
// This rect lives in the content space for the quad's originating layer.
+ gfx::Size content_bounds;
gfx::Rect visible_content_rect;
gfx::Rect clip_rect;
bool is_clipped;
« no previous file with comments | « cc/render_surface_impl.cc ('k') | cc/shared_quad_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698