summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-02-18 08:33:11 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-18 16:34:04 +0000
commit2b0273be4aa28177d202942eadea5e8086f1ae79 (patch)
tree221110da611b4c421f8ee57d4da4b770b797842a
parentf4a02f3fbb325be5f30c34e2604691184cb8c9b9 (diff)
downloadchromium_src-2b0273be4aa28177d202942eadea5e8086f1ae79.zip
chromium_src-2b0273be4aa28177d202942eadea5e8086f1ae79.tar.gz
chromium_src-2b0273be4aa28177d202942eadea5e8086f1ae79.tar.bz2
Revert of cc: Default threaded GPU rasterization to ON. (patchset #1 id:1 of https://codereview.chromium.org/927463004/)
Reason for revert: Breaks compositor rendering on Nexus 6: crbug.com/459557 Original issue's description: > cc: Default threaded GPU rasterization to ON. > > BUG=454500 > > Committed: https://crrev.com/96a23833e024783905297b60e7d86ca588ada45c > Cr-Commit-Position: refs/heads/master@{#316665} TBR=sievers@chromium.org,vmiura@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=454500 Review URL: https://codereview.chromium.org/936803002 Cr-Commit-Position: refs/heads/master@{#316840}
-rw-r--r--content/browser/gpu/compositor_util.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index c75571b..9606eb5 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -301,8 +301,10 @@ bool IsThreadedGpuRasterizationEnabled() {
if (command_line.HasSwitch(switches::kDisableThreadedGpuRasterization))
return false;
+ if (command_line.HasSwitch(switches::kEnableThreadedGpuRasterization))
+ return true;
- return true;
+ return false;
}
bool UseSurfacesEnabled() {