diff options
author | jvanverth <jvanverth@google.com> | 2016-09-30 08:39:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-30 08:39:03 -0700 |
commit | 84741b308496409f4ff662658167221fc6801bbe (patch) | |
tree | c2a42e12fdf9083453bbc46c28d561208162d2d7 /tools | |
parent | 714750595581167b965e1530d6aae052818ad52a (diff) |
Add fence support for TransferBuffers
BUG=skia:4604
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2384463003
Review-Url: https://codereview.chromium.org/2384463003
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpu/GrTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp index b99cf06d60..2e17902519 100644 --- a/tools/gpu/GrTest.cpp +++ b/tools/gpu/GrTest.cpp @@ -318,6 +318,10 @@ public: void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override {} + GrFence SK_WARN_UNUSED_RESULT insertFence() const override { return 0; } + bool waitFence(GrFence, uint64_t) const override { return true; } + void deleteFence(GrFence) const override {} + private: void onResetContext(uint32_t resetBits) override {} |