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

Side by Side Diff: cc/layers/layer_impl.h

Issue 2166043002: cc: Compute target space transform dynamically (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert ancestors_are_invertible change Created 4 years, 5 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
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void set_property_tree_sequence_number(int sequence_number) {} 110 void set_property_tree_sequence_number(int sequence_number) {}
111 111
112 void SetTransformTreeIndex(int index); 112 void SetTransformTreeIndex(int index);
113 int transform_tree_index() const { return transform_tree_index_; } 113 int transform_tree_index() const { return transform_tree_index_; }
114 114
115 void SetClipTreeIndex(int index); 115 void SetClipTreeIndex(int index);
116 int clip_tree_index() const { return clip_tree_index_; } 116 int clip_tree_index() const { return clip_tree_index_; }
117 117
118 void SetEffectTreeIndex(int index); 118 void SetEffectTreeIndex(int index);
119 int effect_tree_index() const { return effect_tree_index_; } 119 int effect_tree_index() const { return effect_tree_index_; }
120 int render_target_effect_tree_index() const;
120 121
121 void SetScrollTreeIndex(int index); 122 void SetScrollTreeIndex(int index);
122 int scroll_tree_index() const { return scroll_tree_index_; } 123 int scroll_tree_index() const { return scroll_tree_index_; }
123 124
124 void set_offset_to_transform_parent(const gfx::Vector2dF& offset) { 125 void set_offset_to_transform_parent(const gfx::Vector2dF& offset) {
125 offset_to_transform_parent_ = offset; 126 offset_to_transform_parent_ = offset;
126 } 127 }
127 gfx::Vector2dF offset_to_transform_parent() const { 128 gfx::Vector2dF offset_to_transform_parent() const {
128 return offset_to_transform_parent_; 129 return offset_to_transform_parent_;
129 } 130 }
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 bool scrolls_drawn_descendant_ : 1; 591 bool scrolls_drawn_descendant_ : 1;
591 bool has_will_change_transform_hint_ : 1; 592 bool has_will_change_transform_hint_ : 1;
592 bool needs_push_properties_ : 1; 593 bool needs_push_properties_ : 1;
593 594
594 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 595 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
595 }; 596 };
596 597
597 } // namespace cc 598 } // namespace cc
598 599
599 #endif // CC_LAYERS_LAYER_IMPL_H_ 600 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698