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

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: 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
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index ce9b2801336019e52d41f31826e4f94fdbd8e687..0e0df3477005cb461d32d75de490eec004734b86 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -93,7 +93,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_;

Powered by Google App Engine
This is Rietveld 408576698