summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_main.cc
diff options
context:
space:
mode:
authorbajones <bajones@chromium.org>2015-07-24 17:41:56 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-25 00:42:45 +0000
commite3677b649fff6a114d4c28de6afddef8cc5320db (patch)
tree578fcf8d6e59eef99457b6e321c3da7038cabd37 /content/gpu/gpu_main.cc
parentd3e8c080d8f5484d3728a2af57a4b5c8a4569835 (diff)
downloadchromium_src-e3677b649fff6a114d4c28de6afddef8cc5320db.zip
chromium_src-e3677b649fff6a114d4c28de6afddef8cc5320db.tar.gz
chromium_src-e3677b649fff6a114d4c28de6afddef8cc5320db.tar.bz2
Allow WebGL on Android if the GPU has it's own process (Take 2)
First attempt (https://codereview.chromium.org/1247093006/) was reverted due to failures on the Android bots. This is because the Android bots use content shell, not Chromium, to run the tests and that uses in-process GPU. As such the test were running without WebGL support. This patch adds back in the EXT_robusness exceptions, which allowed the bots to run WebGL content previously and won't appear to users as a regression. BUG=512992 TBR=mkwst@chromium.org Review URL: https://codereview.chromium.org/1252943008 Cr-Commit-Position: refs/heads/master@{#340385}
Diffstat (limited to 'content/gpu/gpu_main.cc')
-rw-r--r--content/gpu/gpu_main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index e93f30f..7820638 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -225,6 +225,7 @@ int GpuMain(const MainFunctionParams& parameters) {
// Get vendor_id, device_id, driver_version from browser process through
// commandline switches.
GetGpuInfoFromCommandLine(gpu_info, command_line);
+ gpu_info.in_process_gpu = false;
#if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY)
VaapiWrapper::PreSandboxInitialization();