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

Unified Diff: cc/trees/property_tree.h

Issue 1624693004: cc:: Add transform nodes at boundaries of 3d rendering contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index dc479a9402d45ac5d460a9e104cbc5a390ea1f92..ace8650e00b5c45b80210fd951c1b62182c99d66 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -92,6 +92,11 @@ struct CC_EXPORT TransformNodeData {
// tree.
int source_node_id;
+ // This id determines which 3d rendering context the node is in. 0 is a
+ // special value and indicates that the node is not in any 3d rendering
+ // context.
+ int sorting_context_id;
+
// TODO(vollick): will be moved when accelerated effects are implemented.
bool needs_local_transform_update : 1;
« no previous file with comments | « cc/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698