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

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

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to 4_4_4_4 textures in RP Created 7 years, 4 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_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 <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 bool did_initialize_visible_tile_; 155 bool did_initialize_visible_tile_;
156 156
157 GLenum texture_format_; 157 GLenum texture_format_;
158 158
159 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap; 159 typedef base::hash_map<uint32_t, RasterWorkerPool::Task> PixelRefTaskMap;
160 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap; 160 typedef base::hash_map<int, PixelRefTaskMap> LayerPixelRefTaskMap;
161 LayerPixelRefTaskMap image_decode_tasks_; 161 LayerPixelRefTaskMap image_decode_tasks_;
162 162
163 RasterTaskCompletionStats update_visible_tiles_stats_; 163 RasterTaskCompletionStats update_visible_tiles_stats_;
164 bool use_16bit_tiles_;
164 165
165 DISALLOW_COPY_AND_ASSIGN(TileManager); 166 DISALLOW_COPY_AND_ASSIGN(TileManager);
166 }; 167 };
167 168
168 } // namespace cc 169 } // namespace cc
169 170
170 #endif // CC_RESOURCES_TILE_MANAGER_H_ 171 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698