diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-23 15:57:11 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-23 16:00:22 (GMT) |
commit | 60941f8fccca4406cbfee826df738bea3d5695d6 (patch) | |
tree | 670700fb177a2a4b2610d73826752610e02038ac /src/plugins/platforms/eglconvenience/qeglconvenience.h | |
parent | 11d327e3d2b90a8f1f68675cf1c93a67e26b273b (diff) | |
download | Qt-60941f8fccca4406cbfee826df738bea3d5695d6.zip Qt-60941f8fccca4406cbfee826df738bea3d5695d6.tar.gz Qt-60941f8fccca4406cbfee826df738bea3d5695d6.tar.bz2 |
Lighthouse: Wayland: Added a xpixmap readback glcontext
It uses a x11 pixmap to render all gl content into, then reads it back
using glReadPixels. Then it sends it over the wire like any other shm
surface.
Diffstat (limited to 'src/plugins/platforms/eglconvenience/qeglconvenience.h')
-rw-r--r-- | src/plugins/platforms/eglconvenience/qeglconvenience.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.h b/src/plugins/platforms/eglconvenience/qeglconvenience.h index fab1cb0..c7d3d61 100644 --- a/src/plugins/platforms/eglconvenience/qeglconvenience.h +++ b/src/plugins/platforms/eglconvenience/qeglconvenience.h @@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE QVector<EGLint> q_createConfigAttributesFromFormat(const QPlatformWindowFormat &format); bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes); -EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QPlatformWindowFormat &format, bool highestPixelFormat = false); +EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QPlatformWindowFormat &format, bool highestPixelFormat = false, int surfaceType = EGL_WINDOW_BIT); QPlatformWindowFormat qt_qPlatformWindowFormatFromConfig(EGLDisplay display, const EGLConfig config); bool q_hasEglExtension(EGLDisplay display,const char* extensionName); |