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

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

Issue 1613583002: cc:: Remove RenderSurfaceImpl::TargetEffectTreeIndex (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 unified diff | Download patch
« no previous file with comments | « no previous file | cc/layers/render_surface_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_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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 const Occlusion& occlusion_in_content_space, 148 const Occlusion& occlusion_in_content_space,
149 SkColor debug_border_color, 149 SkColor debug_border_color,
150 float debug_border_width, 150 float debug_border_width,
151 LayerImpl* mask_layer, 151 LayerImpl* mask_layer,
152 AppendQuadsData* append_quads_data, 152 AppendQuadsData* append_quads_data,
153 RenderPassId render_pass_id); 153 RenderPassId render_pass_id);
154 154
155 int TransformTreeIndex() const; 155 int TransformTreeIndex() const;
156 int ClipTreeIndex() const; 156 int ClipTreeIndex() const;
157 int EffectTreeIndex() const; 157 int EffectTreeIndex() const;
158 int TargetEffectTreeIndex() const;
159 158
160 private: 159 private:
161 LayerImpl* owning_layer_; 160 LayerImpl* owning_layer_;
162 161
163 // Uses this surface's space. 162 // Uses this surface's space.
164 gfx::Rect content_rect_; 163 gfx::Rect content_rect_;
165 gfx::Rect content_rect_from_property_trees_; 164 gfx::Rect content_rect_from_property_trees_;
166 // Is used to calculate the content rect from property trees. 165 // Is used to calculate the content rect from property trees.
167 gfx::Rect accumulated_content_rect_; 166 gfx::Rect accumulated_content_rect_;
168 bool surface_property_changed_ : 1; 167 bool surface_property_changed_ : 1;
(...skipping 25 matching lines...) Expand all
194 int target_render_surface_layer_index_history_; 193 int target_render_surface_layer_index_history_;
195 size_t current_layer_index_history_; 194 size_t current_layer_index_history_;
196 195
197 friend class LayerIterator; 196 friend class LayerIterator;
198 197
199 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); 198 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl);
200 }; 199 };
201 200
202 } // namespace cc 201 } // namespace cc
203 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ 202 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698