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

Unified Diff: cc/trees/quad_culler.h

Issue 205503002: cc: Apply occlusion before creating quads in RenderSurfaceImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/trees/quad_culler.h
diff --git a/cc/trees/quad_culler.h b/cc/trees/quad_culler.h
index 74aae6d2d377d84e950222fe8c1c68b1afd55a2f..12d115f13396e8bdcaeb3db32983d34d1f7947df 100644
--- a/cc/trees/quad_culler.h
+++ b/cc/trees/quad_culler.h
@@ -30,6 +30,9 @@ class CC_EXPORT QuadCuller : public QuadSink {
virtual gfx::Rect UnoccludedContentRect(const gfx::Rect& content_rect,
const gfx::Transform& draw_transform)
OVERRIDE;
+ virtual gfx::Rect UnoccludedContributingSurfaceContentRect(
+ gfx::Rect& content_rect,
+ gfx::Transform& draw_transform) OVERRIDE;
virtual bool MaybeAppend(scoped_ptr<DrawQuad> draw_quad) OVERRIDE;
virtual void Append(scoped_ptr<DrawQuad> draw_quad) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698