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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 2507963003: Pass correct texture hint for GPU raster (Closed)
Patch Set: Created 4 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/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 7cc25863aaa38f1f82b4c423d86e8a9d7e8b5542..c7cb7636b8b8a817d4a4a346b3aa22233553911f 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -26,6 +26,7 @@ FakePictureLayerTilingClient::FakePictureLayerTilingClient(
: resource_pool_(
ResourcePool::Create(resource_provider,
base::ThreadTaskRunnerHandle::Get().get(),
+ ResourceProvider::TEXTURE_HINT_IMMUTABLE,
ResourcePool::kDefaultExpirationDelay)),
tile_manager_(
new FakeTileManager(&tile_manager_client_, resource_pool_.get())),

Powered by Google App Engine
This is Rietveld 408576698