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

Side by Side Diff: cc/tile_manager.h

Issue 12022043: cc: Fix inappropriate use of term "texture". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/InitializeTile/UploadTile/ and s/CompletedSetPixels/CompletedTileUploads/ 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 | Annotate | Revision Log
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/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_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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ResourceProvider *resource_provider, 76 ResourceProvider *resource_provider,
77 size_t num_raster_threads); 77 size_t num_raster_threads);
78 virtual ~TileManager(); 78 virtual ~TileManager();
79 79
80 const GlobalStateThatImpactsTilePriority& GlobalState() const { 80 const GlobalStateThatImpactsTilePriority& GlobalState() const {
81 return global_state_; 81 return global_state_;
82 } 82 }
83 void SetGlobalState(const GlobalStateThatImpactsTilePriority& state); 83 void SetGlobalState(const GlobalStateThatImpactsTilePriority& state);
84 84
85 void ManageTiles(); 85 void ManageTiles();
86 void CheckForCompletedTextures(); 86 void CheckForCompletedTileUploads();
87 void GetMemoryStats(size_t* memoryRequiredBytes, 87 void GetMemoryStats(size_t* memoryRequiredBytes,
88 size_t* memoryNiceToHaveBytes, 88 size_t* memoryNiceToHaveBytes,
89 size_t* memoryUsedBytes); 89 size_t* memoryUsedBytes);
90 90
91 void GetRenderingStats(RenderingStats* stats); 91 void GetRenderingStats(RenderingStats* stats);
92 92
93 protected: 93 protected:
94 // Methods called by Tile 94 // Methods called by Tile
95 friend class Tile; 95 friend class Tile;
96 void RegisterTile(Tile* tile); 96 void RegisterTile(Tile* tile);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 TileQueue tiles_with_pending_set_pixels_; 141 TileQueue tiles_with_pending_set_pixels_;
142 142
143 RenderingStats rendering_stats_; 143 RenderingStats rendering_stats_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(TileManager); 145 DISALLOW_COPY_AND_ASSIGN(TileManager);
146 }; 146 };
147 147
148 } // namespace cc 148 } // namespace cc
149 149
150 #endif // CC_TILE_MANAGER_H_ 150 #endif // CC_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698