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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 1024633002: cc: Keep tilings texture size in sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address vmp's comments Created 5 years, 9 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_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 5ac6f69e3e039a134106b02add5e175cdbb5cd1b..75f7fdafa4f1a927ae87d7437a1e82be297f235c 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -132,6 +132,7 @@ void FakePictureLayerImpl::SetRasterSourceOnPending(
DCHECK(layer_tree_impl()->IsPendingTree());
Region invalidation_temp = invalidation;
const PictureLayerTilingSet* pending_set = nullptr;
+ set_gpu_raster_max_texture_size(layer_tree_impl()->device_viewport_size());
UpdateRasterSource(raster_source, &invalidation_temp, pending_set);
}

Powered by Google App Engine
This is Rietveld 408576698