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

Unified Diff: cc/trees/layer_tree_host_pixeltest_tiles.cc

Issue 1381163002: Add a flag to disable partial raster in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/trees/layer_tree_host_pixeltest_tiles.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_tiles.cc b/cc/trees/layer_tree_host_pixeltest_tiles.cc
index f013e989d3c3f9fa8adaffd068ac4aeeb38bd946..94dd0655f3646a47ea77933adbaa20f62a4d748d 100644
--- a/cc/trees/layer_tree_host_pixeltest_tiles.cc
+++ b/cc/trees/layer_tree_host_pixeltest_tiles.cc
@@ -151,6 +151,11 @@ class LayerTreeHostTilesTestPartialInvalidation
picture_layer_->SetIsDrawable(true);
}
+ void InitializeSettings(LayerTreeSettings* settings) override {
+ LayerTreeHostTilesPixelTest::InitializeSettings(settings);
+ settings->enable_partial_raster = true;
+ }
+
void DidCommitAndDrawFrame() override {
switch (layer_tree_host()->source_frame_number()) {
case 1:

Powered by Google App Engine
This is Rietveld 408576698