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

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

Issue 13947038: Retry tree activation if raster tasks finish during first half of vsync interval (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | 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 <list> 8 #include <list>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 12 matching lines...) Expand all
23 namespace cc { 23 namespace cc {
24 class RasterWorkerPool; 24 class RasterWorkerPool;
25 class ResourceProvider; 25 class ResourceProvider;
26 class Tile; 26 class Tile;
27 class TileVersion; 27 class TileVersion;
28 28
29 class CC_EXPORT TileManagerClient { 29 class CC_EXPORT TileManagerClient {
30 public: 30 public:
31 virtual void ScheduleManageTiles() = 0; 31 virtual void ScheduleManageTiles() = 0;
32 virtual void DidInitializeVisibleTile() = 0; 32 virtual void DidInitializeVisibleTile() = 0;
33 virtual void DidFinishTileRasterTasks() = 0;
33 34
34 protected: 35 protected:
35 virtual ~TileManagerClient() {} 36 virtual ~TileManagerClient() {}
36 }; 37 };
37 38
38 // Tile manager classifying tiles into a few basic 39 // Tile manager classifying tiles into a few basic
39 // bins: 40 // bins:
40 enum TileManagerBin { 41 enum TileManagerBin {
41 NOW_BIN = 0, // Needed ASAP. 42 NOW_BIN = 0, // Needed ASAP.
42 SOON_BIN = 1, // Impl-side version of prepainting. 43 SOON_BIN = 1, // Impl-side version of prepainting.
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 size_t max_pending_tasks_; 206 size_t max_pending_tasks_;
206 207
207 base::TimeTicks anticipated_draw_time_; 208 base::TimeTicks anticipated_draw_time_;
208 209
209 DISALLOW_COPY_AND_ASSIGN(TileManager); 210 DISALLOW_COPY_AND_ASSIGN(TileManager);
210 }; 211 };
211 212
212 } // namespace cc 213 } // namespace cc
213 214
214 #endif // CC_RESOURCES_TILE_MANAGER_H_ 215 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698