diff options
author | Arvid Nilsson <anilsson@blackberry.com> | 2013-11-12 13:16:38 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-12 14:43:11 +0100 |
commit | c92a8994b412c86a605d1d81a947f9a5e03adfc2 (patch) | |
tree | 12b144d8b7b0cc1fcf0399e5bc99be884196ea0f | |
parent | 7403ef5908cf2d2e81e5cedf44cb2536bd1b9ac2 (diff) |
Delegated renderer: Share context support for QNX
Add code to extract the EGL context on QNX for use as the share context
in the Chromium GPU process/thread. Very similar to the other
platforms.
Change-Id: I54fba69283e984a392c11922da2483ce921ea594
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-rw-r--r-- | lib/content_browser_client_qt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/content_browser_client_qt.cpp b/lib/content_browser_client_qt.cpp index 97d5c8e4e..82587bf8d 100644 --- a/lib/content_browser_client_qt.cpp +++ b/lib/content_browser_client_qt.cpp @@ -222,6 +222,8 @@ public: m_handle = pni->nativeResourceForContext(QByteArrayLiteral("glxcontext"), qtContext); } else if (platform == QStringLiteral("Cocoa")) m_handle = pni->nativeResourceForContext(QByteArrayLiteral("cglcontextobj"), qtContext); + else if (platform == QStringLiteral("qnx")) + m_handle = pni->nativeResourceForContext(QByteArrayLiteral("eglcontext"), qtContext); else // Add missing platforms once they work. Q_UNREACHABLE(); |