| Index: tools/gpu/TestContext.h
|
| diff --git a/tools/gpu/TestContext.h b/tools/gpu/TestContext.h
|
| index 5143b8a6fae352c3c8bea503908288ab41061ece..ffa8cae8f9d76792d8e1a924500f396efb6f0861 100644
|
| --- a/tools/gpu/TestContext.h
|
| +++ b/tools/gpu/TestContext.h
|
| @@ -54,6 +54,8 @@ public:
|
| * Otherwise it will call the platform SwapBuffers method. This may or may
|
| * not perform some sort of synchronization, depending on whether the
|
| * drawing surface provided by the platform is double buffered.
|
| + *
|
| + * Implicitly performs a submit().
|
| */
|
| void waitOnSyncOrSwap();
|
|
|
| @@ -65,6 +67,12 @@ public:
|
| */
|
| virtual void testAbandon();
|
|
|
| + /** Ensures all work is submitted to the GPU for execution. */
|
| + virtual void submit() = 0;
|
| +
|
| + /** Wait until all GPU work is finished. */
|
| + virtual void finish() = 0;
|
| +
|
| /**
|
| * returns the fencesync object owned by this GLTestContext
|
| */
|
|
|