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

Unified Diff: cc/draw_properties.h

Issue 11567034: Changes subtreeShouldRenderToSeparateSurface logic to account for explicit clipping (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-adding a previously removed check of the transforms between a layer and its child Created 8 years 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 | « no previous file | cc/layer.h » ('j') | cc/layer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/draw_properties.h
diff --git a/cc/draw_properties.h b/cc/draw_properties.h
index 3895ef0720ab675044c7f7f9d63142261ac8e3ed..865a553bb7f90e5c4a912e175431714e51169755 100644
--- a/cc/draw_properties.h
+++ b/cc/draw_properties.h
@@ -25,6 +25,7 @@ struct CC_EXPORT DrawProperties {
, is_clipped(false)
, render_target(0)
, num_descendants_that_draw_content(0)
+ , can_clip_self(false)
{
}
@@ -77,6 +78,7 @@ struct CC_EXPORT DrawProperties {
// Does not include this layer itself, only its children and descendants.
int num_descendants_that_draw_content;
+ int can_clip_self;
danakj 2012/12/15 00:02:17 Can you add a description comment for this please?
};
} // namespace cc
« no previous file with comments | « no previous file | cc/layer.h » ('j') | cc/layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698