diff options
author | Juan José Casafranca <jjcasmar@gmail.com> | 2016-12-20 10:12:55 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-01-31 08:59:41 +0000 |
commit | 1025ec92da6360a516a34e4fb483f82505f656ea (patch) | |
tree | 6460fd707d8dd46ba0af95e5b86a5e3080111ac8 /src/render/framegraph/framegraphnode_p.h | |
parent | 38a284dce96b14f695a27879119e7a28b20756e1 (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/framegraphnode_p.h')
-rw-r--r-- | src/render/framegraph/framegraphnode_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/framegraph/framegraphnode_p.h b/src/render/framegraph/framegraphnode_p.h index ccdc47f12..c7b399f89 100644 --- a/src/render/framegraph/framegraphnode_p.h +++ b/src/render/framegraph/framegraphnode_p.h @@ -98,6 +98,7 @@ public: ComputeDispatch, Surface, RenderCapture, + BufferCapture, MemoryBarrier }; FrameGraphNodeType nodeType() const { return m_nodeType; } |