diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-05 16:14:54 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-05 16:17:46 (GMT) |
commit | cc8877068dc6ae8f3142ffec0b85f6fbac4a0d81 (patch) | |
tree | 90008cb66bc91d38b230dd6ec561352a666346bf /src/plugins/platforms/eglconvenience/qeglconvenience.h | |
parent | 1462a7ba51d25a7d022eab5533885cb1ed1c4c5c (diff) | |
download | Qt-cc8877068dc6ae8f3142ffec0b85f6fbac4a0d81.zip Qt-cc8877068dc6ae8f3142ffec0b85f6fbac4a0d81.tar.gz Qt-cc8877068dc6ae8f3142ffec0b85f6fbac4a0d81.tar.bz2 |
Lighthouse: Adding support for EGL to testlite
There is really no good way of detecting if to use EGL instead of
GLX using qmake. So this is the behavior for now:
if QtOpenGL is compiled with "desktop gl" then use GLX if its compiled
with OpenGLES2 then use EGL.
Diffstat (limited to 'src/plugins/platforms/eglconvenience/qeglconvenience.h')
-rw-r--r-- | src/plugins/platforms/eglconvenience/qeglconvenience.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglconvenience/qeglconvenience.h b/src/plugins/platforms/eglconvenience/qeglconvenience.h index 604262b..98c30b8 100644 --- a/src/plugins/platforms/eglconvenience/qeglconvenience.h +++ b/src/plugins/platforms/eglconvenience/qeglconvenience.h @@ -53,6 +53,7 @@ QVector<EGLint> q_createConfigAttributesFromFormat(const QPlatformWindowFormat & bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes); EGLConfig q_configFromQPlatformWindowFormat(EGLDisplay display, const QPlatformWindowFormat &format); QPlatformWindowFormat qt_qPlatformWindowFormatFromConfig(EGLDisplay display, const EGLConfig config); +bool q_hasEglExtension(EGLDisplay display,const char* extensionName); QT_END_NAMESPACE |