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

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

Issue 2017263002: cc: Move copy requests from layers to the effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in comment Created 4 years, 6 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_impl_test_properties.cc ('k') | 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 <memory> 10 #include <memory>
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 occlusion_in_content_space_ = occlusion; 135 occlusion_in_content_space_ = occlusion;
136 } 136 }
137 137
138 LayerImplList& layer_list() { return layer_list_; } 138 LayerImplList& layer_list() { return layer_list_; }
139 void ClearLayerLists(); 139 void ClearLayerLists();
140 140
141 int OwningLayerId() const; 141 int OwningLayerId() const;
142 bool HasReplica() const; 142 bool HasReplica() const;
143 const LayerImpl* ReplicaLayer() const; 143 const LayerImpl* ReplicaLayer() const;
144 144
145 bool HasCopyRequest() const;
146
145 void ResetPropertyChangedFlag() { surface_property_changed_ = false; } 147 void ResetPropertyChangedFlag() { surface_property_changed_ = false; }
146 bool SurfacePropertyChanged() const; 148 bool SurfacePropertyChanged() const;
147 bool SurfacePropertyChangedOnlyFromDescendant() const; 149 bool SurfacePropertyChangedOnlyFromDescendant() const;
148 150
149 DamageTracker* damage_tracker() const { return damage_tracker_.get(); } 151 DamageTracker* damage_tracker() const { return damage_tracker_.get(); }
150 152
151 RenderPassId GetRenderPassId(); 153 RenderPassId GetRenderPassId();
152 154
153 void AppendRenderPasses(RenderPassSink* pass_sink); 155 void AppendRenderPasses(RenderPassSink* pass_sink);
154 void AppendQuads(RenderPass* render_pass, 156 void AppendQuads(RenderPass* render_pass,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 int target_render_surface_layer_index_history_; 222 int target_render_surface_layer_index_history_;
221 size_t current_layer_index_history_; 223 size_t current_layer_index_history_;
222 224
223 friend class LayerIterator; 225 friend class LayerIterator;
224 226
225 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl); 227 DISALLOW_COPY_AND_ASSIGN(RenderSurfaceImpl);
226 }; 228 };
227 229
228 } // namespace cc 230 } // namespace cc
229 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_ 231 #endif // CC_LAYERS_RENDER_SURFACE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl_test_properties.cc ('k') | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698