aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-04-28 13:57:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-28 18:25:37 +0000
commitdc87c95382d5beab7fdae2e654d6de568fbe1671 (patch)
tree3d90a3e1b9bd943290b337cc79c00342695732fa /tools
parent736a9cc88d623f1c309b70554f02f0f111a30766 (diff)
Combine GPU flush with semaphore API
Bug: skia: Change-Id: I5f388760d43b19755b2767d95d32065f6d0f926e Reviewed-on: https://skia-review.googlesource.com/14646 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/gpu/GrTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index 2e34d2ff5b..5582a2593a 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -330,10 +330,9 @@ public:
GrFence SK_WARN_UNUSED_RESULT insertFence() override { return 0; }
bool waitFence(GrFence, uint64_t) override { return true; }
void deleteFence(GrFence) const override {}
- void flush() override {}
sk_sp<GrSemaphore> SK_WARN_UNUSED_RESULT makeSemaphore() override { return nullptr; }
- void insertSemaphore(sk_sp<GrSemaphore> semaphore) override {}
+ void insertSemaphore(sk_sp<GrSemaphore> semaphore, bool flush) override {}
void waitSemaphore(sk_sp<GrSemaphore> semaphore) override {}
private: