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

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: Remove "--enable-persistent-gpu-memory-buffer" Created 5 years, 2 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..b15e5e81f2091ab24664cacd4baa5a2a1e66b043 100644
--- a/cc/trees/layer_tree_host_pixeltest_tiles.cc
+++ b/cc/trees/layer_tree_host_pixeltest_tiles.cc
@@ -32,11 +32,11 @@ class LayerTreeHostTilesPixelTest : public LayerTreePixelTest {
switch (raster_mode_) {
case PARTIAL_ONE_COPY:
settings->use_zero_copy = false;
- settings->use_persistent_map_for_gpu_memory_buffers = true;
+ settings->use_partial_raster = true;
break;
case FULL_ONE_COPY:
settings->use_zero_copy = false;
- settings->use_persistent_map_for_gpu_memory_buffers = false;
+ settings->use_partial_raster = false;
break;
case BITMAP:
// This is done via context creation. No settings to change here!

Powered by Google App Engine
This is Rietveld 408576698