summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2017-11-28 14:09:56 +0100
committerLars Knoll <lars.knoll@qt.io>2017-11-29 08:42:29 +0000
commitefa6d3f0d3a01753dd40823ce119e7d4f9765c8e (patch)
treef304d4aded8b40de0eb745c5cf8ca63ee3aba101
parent65c1f255e6282bc7dda942f72de7f9d67824f2a6 (diff)
Fix broken rendering of select popups on macOSv5.10.0-rc3v5.10.0-rc2v5.10.0
Pass the kDisableNativeGpuMemoryBuffers flag to Chromium, so it does not generate GL_TEXTURE_RECTANGLE_ARB textures, which caused the rendering issues for popups. Task-number: QTBUG-64823 Change-Id: Ie7b5824eed870ce5c89ff66ba3309f85f9261c81 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
m---------src/3rdparty0
-rw-r--r--src/core/web_engine_context.cpp3
2 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty b/src/3rdparty
-Subproject 2366767e6c6f333ef090667aa6838d6781725a7
+Subproject e36dcec23b79a52fd7794ed2fad49bbf65a8146
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index f3818b19..9fbe1235 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -68,6 +68,7 @@
#include "content/renderer/in_process_renderer_thread.h"
#include "content/utility/in_process_utility_thread.h"
#include "gpu/command_buffer/service/gpu_switches.h"
+#include "gpu/ipc/host/gpu_switches.h"
#include "net/base/port_util.h"
#include "ppapi/features/features.h"
#include "ui/events/event_switches.h"
@@ -341,6 +342,8 @@ WebEngineContext::WebEngineContext()
parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideoDecode);
// Same problem with Pepper using OpenGL images.
parsedCommandLine->AppendSwitch(switches::kDisablePepper3DImageChromium);
+ // Same problem with select popups.
+ parsedCommandLine->AppendSwitch(switches::kDisableNativeGpuMemoryBuffers);
#endif
#if defined(Q_OS_WIN)