| Index: tools/gpu/TestContext.cpp
|
| diff --git a/tools/gpu/TestContext.cpp b/tools/gpu/TestContext.cpp
|
| index 09174cd984896cc358dd2a304c99827d9b7bd86f..c6900fe41d34c8345742ee5d027d0b0679289622 100644
|
| --- a/tools/gpu/TestContext.cpp
|
| +++ b/tools/gpu/TestContext.cpp
|
| @@ -34,6 +34,7 @@ void TestContext::waitOnSyncOrSwap() {
|
| return;
|
| }
|
|
|
| + this->submit();
|
| if (fFrameFences[fCurrentFenceIdx]) {
|
| if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx], true)) {
|
| SkDebugf("WARNING: Wait failed for fence sync. Timings might not be accurate.\n");
|
|
|