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

Side by Side Diff: cc/tile_manager.h

Issue 11879012: cc: Redraw incomplete frames when new texture uploads finish (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3b
Patch Set: Created 7 years, 11 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
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_TILE_MANAGER_H_ 5 #ifndef CC_TILE_MANAGER_H_
6 #define CC_TILE_MANAGER_H_ 6 #define CC_TILE_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ResourceProvider *resource_provider, 75 ResourceProvider *resource_provider,
76 size_t num_raster_threads); 76 size_t num_raster_threads);
77 virtual ~TileManager(); 77 virtual ~TileManager();
78 78
79 const GlobalStateThatImpactsTilePriority& GlobalState() const { 79 const GlobalStateThatImpactsTilePriority& GlobalState() const {
80 return global_state_; 80 return global_state_;
81 } 81 }
82 void SetGlobalState(const GlobalStateThatImpactsTilePriority& state); 82 void SetGlobalState(const GlobalStateThatImpactsTilePriority& state);
83 83
84 void ManageTiles(); 84 void ManageTiles();
85 void CheckForCompletedSetPixels(); 85 bool CheckForCompletedSetPixels();
86 void GetMemoryStats(size_t* memoryRequiredBytes, 86 void GetMemoryStats(size_t* memoryRequiredBytes,
87 size_t* memoryNiceToHaveBytes, 87 size_t* memoryNiceToHaveBytes,
88 size_t* memoryUsedBytes); 88 size_t* memoryUsedBytes);
89 89
90 void GetRenderingStats(RenderingStats* stats); 90 void GetRenderingStats(RenderingStats* stats);
91 91
92 protected: 92 protected:
93 // Methods called by Tile 93 // Methods called by Tile
94 friend class Tile; 94 friend class Tile;
95 void RegisterTile(Tile* tile); 95 void RegisterTile(Tile* tile);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 TileQueue tiles_with_pending_set_pixels_; 139 TileQueue tiles_with_pending_set_pixels_;
140 140
141 RenderingStats rendering_stats_; 141 RenderingStats rendering_stats_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(TileManager); 143 DISALLOW_COPY_AND_ASSIGN(TileManager);
144 }; 144 };
145 145
146 } // namespace cc 146 } // namespace cc
147 147
148 #endif // CC_TILE_MANAGER_H_ 148 #endif // CC_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/tile_manager.cc » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698