summaryrefslogtreecommitdiffstats
path: root/tools/render-test/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/render.h')
-rw-r--r--tools/render-test/render.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/render-test/render.h b/tools/render-test/render.h
index 7484f0f3d..761f9e759 100644
--- a/tools/render-test/render.h
+++ b/tools/render-test/render.h
@@ -141,6 +141,12 @@ public:
virtual void draw(UInt vertexCount, UInt startVertex = 0) = 0;
virtual void dispatchCompute(int x, int y, int z) = 0;
+
+ /// Commit any buffered state changes or draw calls.
+ /// presentFrame will commitAll implicitly before doing a present
+ virtual void submitGpuWork() = 0;
+ /// Blocks until Gpu work is complete
+ virtual void waitForGpu() = 0;
};