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

Unified Diff: cc/resources/tile_manager.h

Issue 83883002: cc: Allow TEXTURE_RECTANGLE_ARB to be used for tile textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review feedback Created 7 years, 1 month 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
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index ce9b2801336019e52d41f31826e4f94fdbd8e687..0aa89d749fb69c72217f05d6f2b537d67417f006 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -56,7 +56,8 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient,
RenderingStatsInstrumentation* rendering_stats_instrumentation,
bool use_map_image,
size_t max_transfer_buffer_usage_bytes,
- size_t max_raster_usage_bytes);
+ size_t max_raster_usage_bytes,
+ GLenum map_image_texture_target);
virtual ~TileManager();
void ManageTiles(const GlobalStateThatImpactsTilePriority& state);
@@ -93,7 +94,7 @@ class CC_EXPORT TileManager : public RasterWorkerPoolClient,
mts.tile_versions[HIGH_QUALITY_NO_LCD_RASTER_MODE];
tile_version.resource_ = resource_pool_->AcquireResource(
- gfx::Size(1, 1), resource_provider->best_texture_format());
+ gfx::Size(1, 1));
bytes_releasable_ += BytesConsumedIfAllocated(tiles[i]);
++resources_releasable_;
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698