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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 817133006: Support different formats in the same resource pool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ResourceFormatUsage Created 5 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/fake_picture_layer_tiling_client.cc
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index 293d4f6563e82ad1cf0fe684fa7fdc55bce5bb06..b031b790636dc5e9d993ae53d8d2184ebc8af61e 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -23,7 +23,7 @@ FakePictureLayerTilingClient::FakePictureLayerTilingClient()
FakePictureLayerTilingClient::FakePictureLayerTilingClient(
ResourceProvider* resource_provider)
: resource_pool_(
- ResourcePool::Create(resource_provider, GL_TEXTURE_2D, RGBA_8888)),
+ ResourcePool::Create(resource_provider, GL_TEXTURE_2D, false)),
tile_manager_(
new FakeTileManager(&tile_manager_client_, resource_pool_.get())),
pile_(FakePicturePileImpl::CreateInfiniteFilledPile()),

Powered by Google App Engine
This is Rietveld 408576698