From ddd8ab311271b59514ce0748301e634ca988b62b Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Fri, 13 Jun 2014 18:17:07 +0200 Subject: Implement GLSurfaceQt and exclude chromium's implementation This makes it possible to use the same EGLConfig that is used by Qt when initializing the EGL surface instead of relying on eglChooseConfig. We can use the native interface to query the used config from Qt to avoid EGL_BAD_MATCH errors during initialization. This depends on patches in the qtbase dev branch, which will become Qt 5.4 at some point, therefore we can only merge this patch if we make Qt 5.4 a hard-dependency of QtWebEngine. Change-Id: I94319433b0790994ecbf543b74e7d12fa4767e32 Reviewed-by: Michael Bruning --- src/core/core_gyp_generator.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/core_gyp_generator.pro') diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro index 0e67eb59b..1c2857030 100644 --- a/src/core/core_gyp_generator.pro +++ b/src/core/core_gyp_generator.pro @@ -51,6 +51,7 @@ SOURCES = \ dev_tools_http_handler_delegate_qt.cpp \ download_manager_delegate_qt.cpp \ gl_context_qt.cpp \ + gl_surface_qt.cpp \ javascript_dialog_controller.cpp \ javascript_dialog_manager_qt.cpp \ media_capture_devices_dispatcher.cpp \ @@ -94,6 +95,7 @@ HEADERS = \ download_manager_delegate_qt.h \ chromium_gpu_helper.h \ gl_context_qt.h \ + gl_surface_qt.h \ javascript_dialog_controller_p.h \ javascript_dialog_controller.h \ javascript_dialog_manager_qt.h \ -- cgit v1.2.3