summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-07-24 16:44:45 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-07-29 13:16:55 (GMT)
commitfd0cd53a24459e0314360d70d8499b491c06a8e4 (patch)
tree4f0343ae0c1a28f730767ab0bfc0cc42a54877dd /src/gui/egl/qegl_p.h
parent65702aa6b44568946b8c3924a45b9362401d893c (diff)
downloadQt-fd0cd53a24459e0314360d70d8499b491c06a8e4.zip
Qt-fd0cd53a24459e0314360d70d8499b491c06a8e4.tar.gz
Qt-fd0cd53a24459e0314360d70d8499b491c06a8e4.tar.bz2
Add a getter to QEglContext for the EGL extension string
Reviewed-By: Rhys Weatherley
Diffstat (limited to 'src/gui/egl/qegl_p.h')
-rw-r--r--src/gui/egl/qegl_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/egl/qegl_p.h b/src/gui/egl/qegl_p.h
index ddf7d27..3ae1489 100644
--- a/src/gui/egl/qegl_p.h
+++ b/src/gui/egl/qegl_p.h
@@ -122,6 +122,9 @@ public:
void dumpAllConfigs();
+ QString extensions();
+ bool hasExtension(const char* extensionName);
+
private:
QEgl::API apiType;
EGLDisplay dpy;