Index: tools/gpu/gl/GLTestContext.h |
diff --git a/tools/gpu/gl/GLTestContext.h b/tools/gpu/gl/GLTestContext.h |
index a940f8dce7a31489efae0210f562a962991746da..efe9d8f100f7f36f9792ad26f1a83fd9fece5763 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). |