OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 | 5 |
6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ | 6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ |
7 #define CC_LAYERS_RENDER_SURFACE_H_ | 7 #define CC_LAYERS_RENDER_SURFACE_H_ |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void SetReplicaScreenSpaceTransform( | 61 void SetReplicaScreenSpaceTransform( |
62 const gfx::Transform& replica_screen_space_transform) { | 62 const gfx::Transform& replica_screen_space_transform) { |
63 replica_screen_space_transform_ = replica_screen_space_transform; | 63 replica_screen_space_transform_ = replica_screen_space_transform; |
64 } | 64 } |
65 const gfx::Transform& replica_screen_space_transform() const { | 65 const gfx::Transform& replica_screen_space_transform() const { |
66 return replica_screen_space_transform_; | 66 return replica_screen_space_transform_; |
67 } | 67 } |
68 | 68 |
69 void SetTargetSurfaceTransformsAreAnimating(bool animating) { | 69 void SetTargetSurfaceTransformsAreAnimating(bool animating) { |
70 target_surface_transforms_are_animating_ = animating; | 70 target_surface_transforms_are_animating_ = animating; |
71 } | 71 } |
72 bool target_surface_transforms_are_animating() const { | 72 bool target_surface_transforms_are_animating() const { |
73 return target_surface_transforms_are_animating_; | 73 return target_surface_transforms_are_animating_; |
74 } | 74 } |
75 void SetScreenSpaceTransformsAreAnimating(bool animating) { | 75 void SetScreenSpaceTransformsAreAnimating(bool animating) { |
76 screen_space_transforms_are_animating_ = animating; | 76 screen_space_transforms_are_animating_ = animating; |
77 } | 77 } |
78 bool screen_space_transforms_are_animating() const { | 78 bool screen_space_transforms_are_animating() const { |
79 return screen_space_transforms_are_animating_; | 79 return screen_space_transforms_are_animating_; |
80 } | 80 } |
81 | 81 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // a blur). This can point to itself. | 128 // a blur). This can point to itself. |
129 RenderSurface* nearest_ancestor_that_moves_pixels_; | 129 RenderSurface* nearest_ancestor_that_moves_pixels_; |
130 | 130 |
131 // For LayerIteratorActions | 131 // For LayerIteratorActions |
132 int target_render_surface_layer_index_history_; | 132 int target_render_surface_layer_index_history_; |
133 int current_layer_index_history_; | 133 int current_layer_index_history_; |
134 | 134 |
135 DISALLOW_COPY_AND_ASSIGN(RenderSurface); | 135 DISALLOW_COPY_AND_ASSIGN(RenderSurface); |
136 }; | 136 }; |
137 | 137 |
138 } | 138 } // namespace cc |
139 #endif // CC_LAYERS_RENDER_SURFACE_H_ | 139 #endif // CC_LAYERS_RENDER_SURFACE_H_ |
OLD | NEW |