summaryrefslogtreecommitdiffstats
path: root/tests/manual/qopengltextureblitter/qopengltextureblitter.pro
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 /tests/manual/qopengltextureblitter/qopengltextureblitter.pro
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 'tests/manual/qopengltextureblitter/qopengltextureblitter.pro')
-rw-r--r--tests/manual/qopengltextureblitter/qopengltextureblitter.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/qopengltextureblitter/qopengltextureblitter.pro b/tests/manual/qopengltextureblitter/qopengltextureblitter.pro
new file mode 100644
index 0000000000..95f1c14e5a
--- /dev/null
+++ b/tests/manual/qopengltextureblitter/qopengltextureblitter.pro
@@ -0,0 +1,12 @@
+TEMPLATE = app
+TARGET = qopengltextureblitter
+INCLUDEPATH += .
+
+QT+=gui-private
+# Input
+HEADERS += \
+ qopengltextureblitwindow.h
+
+SOURCES += \
+ main.cpp \
+ qopengltextureblitwindow.cpp