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

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: Reworking the test for creating a layer, should work correctly now. 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_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..5220bcd5a53d650d1c299cbaf5fdf79f332b655c 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)
+ , num_descendants_that_draw_content_and_cant_clip_themselves(0)
jamesr 2012/12/14 21:48:54 Hmm, what a mouthful! I don't think we need a cou
{
}
@@ -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 num_descendants_that_draw_content_and_cant_clip_themselves;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/layer.h » ('j') | cc/layer_tree_host_common.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698