diff options
Diffstat (limited to 'tools/gpu/gl/GLTestContext.h')
-rw-r--r-- | tools/gpu/gl/GLTestContext.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gpu/gl/GLTestContext.h b/tools/gpu/gl/GLTestContext.h index a940f8dce7..efe9d8f100 100644 --- a/tools/gpu/gl/GLTestContext.h +++ b/tools/gpu/gl/GLTestContext.h @@ -47,6 +47,12 @@ public: void testAbandon() override; + /** Ensures all work is submitted to the GPU for execution. */ + void submit() override; + + /** Wait until all GPU work is finished. */ + void finish() override; + /** * Creates a new GL context of the same type and makes the returned context current * (if not null). |