summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraph.pri
diff options
context:
space:
mode:
authorJuan José Casafranca <jjcasmar@gmail.com>2016-12-20 10:12:55 +0200
committerSean Harmer <sean.harmer@kdab.com>2017-01-31 08:59:41 +0000
commit1025ec92da6360a516a34e4fb483f82505f656ea (patch)
tree6460fd707d8dd46ba0af95e5b86a5e3080111ac8 /src/render/framegraph/framegraph.pri
parent38a284dce96b14f695a27879119e7a28b20756e1 (diff)
Transfers gpu buffer data to cpu
Added some code to retrieve the data in the gpu back to a cpu pointer in the opengl helpers. Added a framegraph node which specifies if any data must be downloaded from the gpu Added a flag in the buffer object to specify if the data from that buffer must be downloaded. Added a job to send the data back to the frontend. Added a path in the renderer to download the gpu data. Task number: QTBUG-57727 Change-Id: I315a9221e5116c7d07f818e00c654fe1901144f4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/framegraph.pri')
-rw-r--r--src/render/framegraph/framegraph.pri5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/framegraph/framegraph.pri b/src/render/framegraph/framegraph.pri
index 77d7dbc71..5e9ce68bf 100644
--- a/src/render/framegraph/framegraph.pri
+++ b/src/render/framegraph/framegraph.pri
@@ -45,6 +45,9 @@ HEADERS += \
$$PWD/qrendercapture.h \
$$PWD/qrendercapture_p.h \
$$PWD/rendercapture_p.h \
+ $$PWD/qbuffercapture.h \
+ $$PWD/qbuffercapture_p.h \
+ $$PWD/buffercapture_p.h \
$$PWD/qframegraphnodecreatedchange.h \
$$PWD/qframegraphnodecreatedchange_p.h \
$$PWD/qmemorybarrier.h \
@@ -83,6 +86,8 @@ SOURCES += \
$$PWD/rendersurfaceselector.cpp \
$$PWD/qrendercapture.cpp \
$$PWD/rendercapture.cpp \
+ $$PWD/qbuffercapture.cpp \
+ $$PWD/buffercapture.cpp \
$$PWD/qframegraphnodecreatedchange.cpp \
$$PWD/qmemorybarrier.cpp \
$$PWD/memorybarrier.cpp