Add glxContextForContext function to QXcbNativeInterface.
authorZeno Albisser <zeno@webkit.org>
Wed, 24 Oct 2012 14:04:15 +0000 (16:04 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Oct 2012 10:09:28 +0000 (12:09 +0200)
commit9214b39beb01d69d3667328e7e62ef8d779b3957
tree888e59e86375a3fc420361c81ed879e0e776c84c
parent03967c4f0b5dbbd134da676846a20f6e5b9a2554
Add glxContextForContext function to QXcbNativeInterface.

This change enables receiving the native GLXContext object that is used
by a QOpenGLContext in case of GLX.
This clearly is non-public api that is only meant to be used as a
last resort for cases where it is really necessary to get hold of
a native context object.

Change-Id: I7f1f974f18063ed334b8034a0c0192c875c10cec
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/plugins/platforms/xcb/qxcbnativeinterface.cpp
src/plugins/platforms/xcb/qxcbnativeinterface.h