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

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: 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_tree_host_common.cc » ('j') | cc/layer_tree_host_common.cc » ('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..d57c08332ac45ff329e52a80c9d81ab808d137bd 100644
--- a/cc/draw_properties.h
+++ b/cc/draw_properties.h
@@ -55,6 +55,9 @@ struct CC_EXPORT DrawProperties {
// True if the layer needs to be clipped by clipRect.
bool is_clipped;
+ // True if all chilren can clip to this layer (if is_clipped is true)
+ bool all_children_can_clip;
shawnsingh 2012/12/14 07:34:44 We should definitely add another line to the DrawP
whunt 2012/12/14 18:17:01 I'm happy to do this but I object to the word "def
+
// The layer whose coordinate space this layer draws into. This can be
// either the same layer (m_drawProperties.render_target == this) or an
// ancestor of this layer.
« no previous file with comments | « no previous file | cc/layer_tree_host_common.cc » ('j') | cc/layer_tree_host_common.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698