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

Side by Side Diff: cc/resources/tile_manager.h

Issue 565043002: cc: Remove the opaque rect return-parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contentlayerclientopaque: build Created 6 years, 3 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/resources/tile.cc ('k') | cc/resources/tile_manager.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_RESOURCES_TILE_MANAGER_H_ 5 #ifndef CC_RESOURCES_TILE_MANAGER_H_
6 #define CC_RESOURCES_TILE_MANAGER_H_ 6 #define CC_RESOURCES_TILE_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual ~TileManager(); 96 virtual ~TileManager();
97 97
98 void ManageTiles(const GlobalStateThatImpactsTilePriority& state); 98 void ManageTiles(const GlobalStateThatImpactsTilePriority& state);
99 99
100 // Returns true when visible tiles have been initialized. 100 // Returns true when visible tiles have been initialized.
101 bool UpdateVisibleTiles(); 101 bool UpdateVisibleTiles();
102 102
103 scoped_refptr<Tile> CreateTile(PicturePileImpl* picture_pile, 103 scoped_refptr<Tile> CreateTile(PicturePileImpl* picture_pile,
104 const gfx::Size& tile_size, 104 const gfx::Size& tile_size,
105 const gfx::Rect& content_rect, 105 const gfx::Rect& content_rect,
106 const gfx::Rect& opaque_rect,
107 float contents_scale, 106 float contents_scale,
108 int layer_id, 107 int layer_id,
109 int source_frame_number, 108 int source_frame_number,
110 int flags); 109 int flags);
111 110
112 scoped_refptr<base::debug::ConvertableToTraceFormat> BasicStateAsValue() 111 scoped_refptr<base::debug::ConvertableToTraceFormat> BasicStateAsValue()
113 const; 112 const;
114 void BasicStateAsValueInto(base::debug::TracedValue* dict) const; 113 void BasicStateAsValueInto(base::debug::TracedValue* dict) const;
115 const MemoryHistory::Entry& memory_stats_from_last_assign() const { 114 const MemoryHistory::Entry& memory_stats_from_last_assign() const {
116 return memory_stats_from_last_assign_; 115 return memory_stats_from_last_assign_;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 std::vector<scoped_refptr<RasterTask> > orphan_raster_tasks_; 263 std::vector<scoped_refptr<RasterTask> > orphan_raster_tasks_;
265 264
266 UniqueNotifier ready_to_activate_check_notifier_; 265 UniqueNotifier ready_to_activate_check_notifier_;
267 266
268 DISALLOW_COPY_AND_ASSIGN(TileManager); 267 DISALLOW_COPY_AND_ASSIGN(TileManager);
269 }; 268 };
270 269
271 } // namespace cc 270 } // namespace cc
272 271
273 #endif // CC_RESOURCES_TILE_MANAGER_H_ 272 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/resources/tile.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698