summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/opengl.pri
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@gmail.com>2014-02-02 22:29:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-10 12:49:06 +0100
commita80253ae4c2ea52a8ffb77e62648374b6fc650a8 (patch)
tree0632cbb75a05990ec72cd5622b4fbd845bd2fe68 /src/gui/opengl/opengl.pri
parenta093204f07f276bc8e7b4fedf4af0e1369f55734 (diff)
QOpenGLTextureBlitter
private api, but useful for 2d gui code that suddenly finds itself needing to get a set of textures onto some fbo I didn't want to include ARB_copy_image since it looks like its from texture/renderbuffer -> texture/renderbuffer while this class implies texture -> write fbo. We could wrap ARB_copy_image in QOpenGLTexture or some other class or we can add it later. I have not added any QOpenGLTexture functions since this class opperates on the GLuint identifier. We can add overloads later. Change-Id: I3e565b33466c1c183a249a33c3e82c6786debd55 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'src/gui/opengl/opengl.pri')
-rw-r--r--src/gui/opengl/opengl.pri6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/opengl/opengl.pri b/src/gui/opengl/opengl.pri
index d249b855f5..cadba26797 100644
--- a/src/gui/opengl/opengl.pri
+++ b/src/gui/opengl/opengl.pri
@@ -31,7 +31,8 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qopenglversionfunctions.h \
opengl/qopenglversionfunctionsfactory_p.h \
opengl/qopenglvertexarrayobject.h \
- opengl/qopengldebug.h
+ opengl/qopengldebug.h \
+ opengl/qopengltextureblitter_p.h
SOURCES += opengl/qopengl.cpp \
opengl/qopenglfunctions.cpp \
@@ -51,7 +52,8 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
opengl/qopenglversionfunctions.cpp \
opengl/qopenglversionfunctionsfactory.cpp \
opengl/qopenglvertexarrayobject.cpp \
- opengl/qopengldebug.cpp
+ opengl/qopengldebug.cpp \
+ opengl/qopengltextureblitter.cpp
!wince* {
HEADERS += opengl/qopengltexture.h \