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

Unified 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: deprecate GLenum format throughout cc Created 7 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 side-by-side diff with in-line comments
Download patch
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index 1ac2689f9bdbbe52bc6516ef924847e478bc5618..9fc7fd2427123ec58dce4f42a39877bdf009f1a0 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -53,7 +53,8 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
size_t num_raster_threads,
RenderingStatsInstrumentation* rendering_stats_instrumentation,
bool use_map_image,
- size_t max_transfer_buffer_usage_bytes);
+ size_t max_transfer_buffer_usage_bytes,
+ bool use_rgba_4444_tiles);
virtual ~TileManager();
const GlobalStateThatImpactsTilePriority& GlobalState() const {
@@ -103,7 +104,8 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
ResourceProvider* resource_provider,
scoped_ptr<RasterWorkerPool> raster_worker_pool,
size_t num_raster_threads,
- RenderingStatsInstrumentation* rendering_stats_instrumentation);
+ RenderingStatsInstrumentation* rendering_stats_instrumentation,
+ ResourceProvider::TextureFormat texture_type);
// Methods called by Tile
friend class Tile;
@@ -183,6 +185,7 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient {
LayerCountMap used_layer_counts_;
RasterTaskCompletionStats update_visible_tiles_stats_;
+ ResourceProvider::TextureFormat texture_type_;
DISALLOW_COPY_AND_ASSIGN(TileManager);
};

Powered by Google App Engine
This is Rietveld 408576698