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

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

Issue 1248433007: Draw Transform of Render Surface From Property Trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: transform tree walk removed Created 5 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 | « no previous file | cc/layers/render_surface_impl.cc » ('j') | cc/layers/render_surface_impl.cc » ('J')
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_RENDER_SURFACE_IMPL_H_ 5 #ifndef CC_LAYERS_RENDER_SURFACE_IMPL_H_
6 #define CC_LAYERS_RENDER_SURFACE_IMPL_H_ 6 #define CC_LAYERS_RENDER_SURFACE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 void AppendRenderPasses(RenderPassSink* pass_sink); 131 void AppendRenderPasses(RenderPassSink* pass_sink);
132 void AppendQuads(RenderPass* render_pass, 132 void AppendQuads(RenderPass* render_pass,
133 const gfx::Transform& draw_transform, 133 const gfx::Transform& draw_transform,
134 const Occlusion& occlusion_in_content_space, 134 const Occlusion& occlusion_in_content_space,
135 SkColor debug_border_color, 135 SkColor debug_border_color,
136 float debug_border_width, 136 float debug_border_width,
137 LayerImpl* mask_layer, 137 LayerImpl* mask_layer,
138 AppendQuadsData* append_quads_data, 138 AppendQuadsData* append_quads_data,
139 RenderPassId render_pass_id); 139 RenderPassId render_pass_id);
140 140
141 int TransformTreeIndex() const;
142
141 private: 143 private:
142 LayerImpl* owning_layer_; 144 LayerImpl* owning_layer_;
143 145
144 // Uses this surface's space. 146 // Uses this surface's space.
145 gfx::Rect content_rect_; 147 gfx::Rect content_rect_;
146 bool surface_property_changed_ : 1; 148 bool surface_property_changed_ : 1;
147 bool target_surface_transforms_are_animating_ : 1; 149 bool target_surface_transforms_are_animating_ : 1;
148 bool screen_space_transforms_are_animating_ : 1; 150 bool screen_space_transforms_are_animating_ : 1;
149 151
150 bool is_clipped_ : 1; 152 bool is_clipped_ : 1;
(...skipping 23 matching lines...) Expand all
174 int target_render_surface_layer_index_history_; 176 int target_render_surface_layer_index_history_;
175 size_t current_layer_index_history_; 177 size_t current_layer_index_history_;
176 178
177 friend class LayerIterator; 179 friend class LayerIterator;
178 180
179 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); 181 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl);
180 }; 182 };
181 183
182 } // namespace cc 184 } // namespace cc
183 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ 185 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | cc/layers/render_surface_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698