summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/opengl.pri
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2013-01-03 16:06:51 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-12 16:01:14 +0100
commit771286e01e610155fb1f96c3bc3a8fd238c20219 (patch)
tree6da8f21cf25a3118f318a4e15041640511d267b4 /src/gui/opengl/opengl.pri
parenta410273fabb294b46b04f7ccee38bab668413061 (diff)
Add QOpenGLTimerQuery and QOpenGLTimeMonitor classes
QOpenGLTimerQuery encapsulates a single OpenGL timer query object. QOpenGLTimeMonitor is a convenience wrapper around a sequence of OpenGL timer query objects that can be used to profile OpenGL rendering code or to allow real-time adaptation of rendering methods based upon run-time performance. Change-Id: I873e591927080dea2b079b0e2a1eb9fed15c0372 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: James Turner <james.turner@kdab.com>
Diffstat (limited to 'src/gui/opengl/opengl.pri')
-rw-r--r--src/gui/opengl/opengl.pri8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri
index 0c16e1582d..6a5a6f018b 100644
--- a/src/gui/opengl/opengl.pri
+++ b/src/gui/opengl/opengl.pri
@@ -51,7 +51,6 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qopenglversionfunctionsfactory.cpp \
opengl/qopenglvertexarrayobject.cpp
-
!contains(QT_CONFIG, opengles2) {
HEADERS += opengl/qopenglfunctions_1_0.h \
opengl/qopenglfunctions_1_1.h \
@@ -74,7 +73,9 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qopenglfunctions_4_0_compatibility.h \
opengl/qopenglfunctions_4_1_compatibility.h \
opengl/qopenglfunctions_4_2_compatibility.h \
- opengl/qopenglfunctions_4_3_compatibility.h
+ opengl/qopenglfunctions_4_3_compatibility.h \
+ opengl/qopenglqueryhelper_p.h \
+ opengl/qopengltimerquery.h
SOURCES += opengl/qopenglfunctions_1_0.cpp \
opengl/qopenglfunctions_1_1.cpp \
@@ -97,7 +98,8 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qopenglfunctions_4_0_compatibility.cpp \
opengl/qopenglfunctions_4_1_compatibility.cpp \
opengl/qopenglfunctions_4_2_compatibility.cpp \
- opengl/qopenglfunctions_4_3_compatibility.cpp
+ opengl/qopenglfunctions_4_3_compatibility.cpp \
+ opengl/qopengltimerquery.cpp
}
contains(QT_CONFIG, opengles2) {