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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 190965 Created 7 years, 9 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/test/tiled_layer_test_common.cc ('k') | cc/trees/layer_tree_host.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_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 private: 249 private:
250 typedef std::vector<scoped_refptr<Layer> > LayerList; 250 typedef std::vector<scoped_refptr<Layer> > LayerList;
251 251
252 bool InitializeProxy(scoped_ptr<Proxy> proxy); 252 bool InitializeProxy(scoped_ptr<Proxy> proxy);
253 void InitializeRenderer(); 253 void InitializeRenderer();
254 254
255 bool PaintLayerContents(const LayerList& render_surface_layer_list, 255 bool PaintLayerContents(const LayerList& render_surface_layer_list,
256 ResourceUpdateQueue* quue); 256 ResourceUpdateQueue* quue);
257 bool PaintMasksForRenderSurface(Layer* render_surface_layer, 257 bool PaintMasksForRenderSurface(Layer* render_surface_layer,
258 ResourceUpdateQueue* queue, 258 ResourceUpdateQueue* queue);
259 RenderingStats* stats);
260 259
261 void UpdateLayers(Layer* root_layer, ResourceUpdateQueue* queue); 260 void UpdateLayers(Layer* root_layer, ResourceUpdateQueue* queue);
262 void UpdateHudLayer(); 261 void UpdateHudLayer();
263 void TriggerPrepaint(); 262 void TriggerPrepaint();
264 263
265 void PrioritizeTextures(const LayerList& render_surface_layer_list, 264 void PrioritizeTextures(const LayerList& render_surface_layer_list,
266 OverdrawMetrics* metrics); 265 OverdrawMetrics* metrics);
267 void SetPrioritiesForSurfaces(size_t surface_memory_bytes); 266 void SetPrioritiesForSurfaces(size_t surface_memory_bytes);
268 void SetPrioritiesForLayers(const LayerList& update_list); 267 void SetPrioritiesForLayers(const LayerList& update_list);
269 size_t CalculateMemoryForRenderSurfaces(const LayerList& update_list); 268 size_t CalculateMemoryForRenderSurfaces(const LayerList& update_list);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 base::TimeDelta duration; 333 base::TimeDelta duration;
335 }; 334 };
336 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 335 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
337 336
338 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 337 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
339 }; 338 };
340 339
341 } // namespace cc 340 } // namespace cc
342 341
343 #endif // CC_TREES_LAYER_TREE_HOST_H_ 342 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/tiled_layer_test_common.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698