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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 2507963003: Pass correct texture hint for GPU raster (Closed)
Patch Set: rebase 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
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/test/layer_tree_pixel_resource_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9db5977e47b219459e10698091a64e25bdc14a18..2b33ad55a2f8978e71523f5350fc8224d624c884 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())),
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/test/layer_tree_pixel_resource_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698