summaryrefslogtreecommitdiffstats
path: root/src/core/core_gyp_generator.pro
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2014-04-02 02:27:31 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-09 18:13:50 +0200
commit8e1a9c88431bbae3a47d09799395d81f76626ec0 (patch)
treed09be6d92354ac9afdc46d809f17fe617f9a66c4 /src/core/core_gyp_generator.pro
parent6de87734c623d0b6ecfea0440ee396a00d59d74f (diff)
Add GLContextHelper class for EGL context creation.
Shared EGL contexts should always be created on the same thread, as otherwise context creation might fail. We use a GLContextHelper singleton that is initialized on startup and creates the contexts when requested through a BlockingQueuedConnection. There is a pretty and a correct solution for this problem. This is the pretty one. It is based on the assumption that Chromium decides to use the same or a similar enough configuration for the EGLContext as Qt previously did. But we prefer pretty over correct as the correct solution would potentially impose a layering violation. This is enabled for all embedded linux devices. Change-Id: I910cc90d0f87fd6d1fe0a475b17ba56cd8c503f6 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/core_gyp_generator.pro')
-rw-r--r--src/core/core_gyp_generator.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro
index f6b513a21..4012f198a 100644
--- a/src/core/core_gyp_generator.pro
+++ b/src/core/core_gyp_generator.pro
@@ -39,6 +39,7 @@ SOURCES = \
delegated_frame_node.cpp \
dev_tools_http_handler_delegate_qt.cpp \
download_manager_delegate_qt.cpp \
+ gl_context_qt.cpp \
javascript_dialog_controller.cpp \
javascript_dialog_manager_qt.cpp \
process_main.cpp \
@@ -77,6 +78,7 @@ HEADERS = \
dev_tools_http_handler_delegate_qt.h \
download_manager_delegate_qt.h \
chromium_gpu_helper.h \
+ gl_context_qt.h \
javascript_dialog_controller_p.h \
javascript_dialog_controller.h \
javascript_dialog_manager_qt.h \