diff options
author | bsalomon <bsalomon@google.com> | 2016-05-16 14:09:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 14:09:56 -0700 |
commit | edea94c356dddd339d776e1f0d906f44427222b9 (patch) | |
tree | 4706db11cb73a742aa4a6df13f0d5516f4e46574 /tools/gpu/TestContext.cpp | |
parent | 94b25b0a803790618fd04840844f5722dba1f801 (diff) |
Implement vulkan fence syncs for nanobench
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1974913003
Review-Url: https://codereview.chromium.org/1974913003
Diffstat (limited to 'tools/gpu/TestContext.cpp')
-rw-r--r-- | tools/gpu/TestContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/TestContext.cpp b/tools/gpu/TestContext.cpp index c6900fe41d..8a78b903b1 100644 --- a/tools/gpu/TestContext.cpp +++ b/tools/gpu/TestContext.cpp @@ -36,7 +36,7 @@ void TestContext::waitOnSyncOrSwap() { this->submit(); if (fFrameFences[fCurrentFenceIdx]) { - if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx], true)) { + if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { SkDebugf("WARNING: Wait failed for fence sync. Timings might not be accurate.\n"); } fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); |