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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_PROPERTY_TREE_H_ 5 #ifndef CC_TREES_PROPERTY_TREE_H_
6 #define CC_TREES_PROPERTY_TREE_H_ 6 #define CC_TREES_PROPERTY_TREE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // This id is used for all content that draws into a render surface associated 85 // This id is used for all content that draws into a render surface associated
86 // with this transform node. 86 // with this transform node.
87 int content_target_id; 87 int content_target_id;
88 88
89 // This is the node with respect to which source_offset is defined. This will 89 // This is the node with respect to which source_offset is defined. This will
90 // not be needed once layerization moves to cc, but is needed in order to 90 // not be needed once layerization moves to cc, but is needed in order to
91 // efficiently update the transform tree for changes to position in the layer 91 // efficiently update the transform tree for changes to position in the layer
92 // tree. 92 // tree.
93 int source_node_id; 93 int source_node_id;
94 94
95 // This id determines which 3d rendering context the node is in. 0 is a
96 // special value and indicates that the node is not in any 3d rendering
97 // context.
98 int sorting_context_id;
99
95 // TODO(vollick): will be moved when accelerated effects are implemented. 100 // TODO(vollick): will be moved when accelerated effects are implemented.
96 bool needs_local_transform_update : 1; 101 bool needs_local_transform_update : 1;
97 102
98 bool is_invertible : 1; 103 bool is_invertible : 1;
99 bool ancestors_are_invertible : 1; 104 bool ancestors_are_invertible : 1;
100 105
101 bool is_animated : 1; 106 bool is_animated : 1;
102 bool to_screen_is_animated : 1; 107 bool to_screen_is_animated : 1;
103 bool has_only_translation_animations : 1; 108 bool has_only_translation_animations : 1;
104 bool to_screen_has_scale_animation : 1; 109 bool to_screen_has_scale_animation : 1;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 ClipTree clip_tree; 541 ClipTree clip_tree;
537 ScrollTree scroll_tree; 542 ScrollTree scroll_tree;
538 bool needs_rebuild; 543 bool needs_rebuild;
539 bool non_root_surfaces_enabled; 544 bool non_root_surfaces_enabled;
540 int sequence_number; 545 int sequence_number;
541 }; 546 };
542 547
543 } // namespace cc 548 } // namespace cc
544 549
545 #endif // CC_TREES_PROPERTY_TREE_H_ 550 #endif // CC_TREES_PROPERTY_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698