summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-06-27 16:18:29 +0200
committerAndras Becsi <andras.becsi@digia.com>2014-06-27 16:25:42 +0200
commit22b3c48230acca1af5613b19050dd017d8e4b021 (patch)
tree8e0cd3153dd0840c90dc13823a7a6e65dbf7ec5b
parent1e96580bc20ed8e89c3d427a69f12543a4aad9e7 (diff)
downloadqtwebengine-22b3c48230acca1af5613b19050dd017d8e4b021.tar.gz
Ignore GPU blacklist on embedded
We have to pass this flag on half of our devices anyway so we can just as well pass it by default. Change-Id: I652fac478f389b91ee69d2273747583e2678fd13 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-rw-r--r--src/core/web_engine_context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index ff433027e..c1b2aa6e1 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -139,6 +139,8 @@ WebEngineContext::WebEngineContext()
parsedCommandLine->AppendSwitch(switches::kInProcessGPU);
#if defined(QTWEBENGINE_MOBILE_SWITCHES)
+ parsedCommandLine->AppendSwitch(switches::kIgnoreGpuBlacklist);
+
// Inspired from the Android port's default switches
parsedCommandLine->AppendSwitch(switches::kEnableOverlayScrollbars);
parsedCommandLine->AppendSwitch(switches::kEnableGestureTapHighlight);