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

Side by Side Diff: cc/picture_layer_tiling_set.h

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont expose to extension yet Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « cc/picture_layer_tiling.cc ('k') | cc/picture_layer_tiling_set.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_PICTURE_LAYER_TILING_SET_H_ 5 #ifndef CC_PICTURE_LAYER_TILING_SET_H_
6 #define CC_PICTURE_LAYER_TILING_SET_H_ 6 #define CC_PICTURE_LAYER_TILING_SET_H_
7 7
8 #include "cc/picture_layer_tiling.h" 8 #include "cc/picture_layer_tiling.h"
9 #include "cc/region.h" 9 #include "cc/region.h"
10 #include "cc/scoped_ptr_vector.h" 10 #include "cc/scoped_ptr_vector.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 gfx::Rect viewport_in_content_space, 53 gfx::Rect viewport_in_content_space,
54 gfx::Size last_layer_bounds, 54 gfx::Size last_layer_bounds,
55 gfx::Size current_layer_bounds, 55 gfx::Size current_layer_bounds,
56 gfx::Size last_layer_content_bounds, 56 gfx::Size last_layer_content_bounds,
57 gfx::Size current_layer_content_bounds, 57 gfx::Size current_layer_content_bounds,
58 float last_layer_contents_scale, 58 float last_layer_contents_scale,
59 float current_layer_contents_scale, 59 float current_layer_contents_scale,
60 const gfx::Transform& last_screen_transform, 60 const gfx::Transform& last_screen_transform,
61 const gfx::Transform& current_screen_transform, 61 const gfx::Transform& current_screen_transform,
62 int current_source_frame_number, 62 int current_source_frame_number,
63 double current_frame_time); 63 double current_frame_time,
64 bool store_screen_space_quads_on_tiles);
64 65
65 void DidBecomeActive(); 66 void DidBecomeActive();
66 67
67 // For a given rect, iterates through tiles that can fill it. If no 68 // For a given rect, iterates through tiles that can fill it. If no
68 // set of tiles with resources can fill the rect, then it will iterate 69 // set of tiles with resources can fill the rect, then it will iterate
69 // through null tiles with valid geometry_rect() until the rect is full. 70 // through null tiles with valid geometry_rect() until the rect is full.
70 // If all tiles have resources, the union of all geometry_rects will 71 // If all tiles have resources, the union of all geometry_rects will
71 // exactly fill rect with no overlap. 72 // exactly fill rect with no overlap.
72 class CC_EXPORT Iterator { 73 class CC_EXPORT Iterator {
73 public: 74 public:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 PictureLayerTilingClient* client_; 114 PictureLayerTilingClient* client_;
114 gfx::Size layer_bounds_; 115 gfx::Size layer_bounds_;
115 ScopedPtrVector<PictureLayerTiling> tilings_; 116 ScopedPtrVector<PictureLayerTiling> tilings_;
116 117
117 friend class Iterator; 118 friend class Iterator;
118 }; 119 };
119 120
120 } // namespace cc 121 } // namespace cc
121 122
122 #endif // CC_PICTURE_LAYER_TILING_SET_H_ 123 #endif // CC_PICTURE_LAYER_TILING_SET_H_
OLDNEW
« no previous file with comments | « cc/picture_layer_tiling.cc ('k') | cc/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698