summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbroman <jbroman@chromium.org>2015-08-21 23:40:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-22 06:41:05 +0000
commit027a930a4f456a173b5c01d8537185187698caeb (patch)
treec9cf79b9140232dfecce187a677c051def689292
parentc76a816074e6504b0b4b3420529928057d11b50b (diff)
downloadchromium_src-027a930a4f456a173b5c01d8537185187698caeb.zip
chromium_src-027a930a4f456a173b5c01d8537185187698caeb.tar.gz
chromium_src-027a930a4f456a173b5c01d8537185187698caeb.tar.bz2
Disable renderer partial raster by default.
It is causing one-pixel lines to be left behind, probably due to a small error in the invalidation rects being used. BUG=492754,522797,522922,522920 Review URL: https://codereview.chromium.org/1290133003 Cr-Commit-Position: refs/heads/master@{#344975}
-rw-r--r--chrome/browser/chromeos/login/chrome_restart_request.cc1
-rw-r--r--content/browser/gpu/compositor_util.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/login/chrome_restart_request.cc b/chrome/browser/chromeos/login/chrome_restart_request.cc
index c414934..648510e 100644
--- a/chrome/browser/chromeos/login/chrome_restart_request.cc
+++ b/chrome/browser/chromeos/login/chrome_restart_request.cc
@@ -110,6 +110,7 @@ void DeriveCommandLine(const GURL& start_url,
::switches::kEnableImageColorProfiles,
::switches::kEnableLogging,
::switches::kEnableLowResTiling,
+ ::switches::kEnablePersistentGpuMemoryBuffer,
::switches::kEnablePinch,
::switches::kEnablePreferCompositingToLCDText,
::switches::kEnablePluginPlaceholderShadowDom,
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 825becd..bf10085 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -242,7 +242,7 @@ bool IsPersistentGpuMemoryBufferEnabled() {
if (IsZeroCopyUploadEnabled())
return false;
const auto& command_line = *base::CommandLine::ForCurrentProcess();
- return !command_line.HasSwitch(switches::kDisablePersistentGpuMemoryBuffer);
+ return command_line.HasSwitch(switches::kEnablePersistentGpuMemoryBuffer);
}
bool IsGpuRasterizationEnabled() {