aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu')
-rw-r--r--tools/gpu/GrTest.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index 0e309bf3d0..4df328cd62 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -15,6 +15,7 @@
#include "GrRenderTargetContextPriv.h"
#include "GrRenderTargetProxy.h"
#include "GrResourceCache.h"
+#include "GrSemaphore.h"
#include "SkGrPriv.h"
#include "SkImage_Gpu.h"
@@ -320,11 +321,15 @@ 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; }
+ 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 waitSemaphore(sk_sp<GrSemaphore> semaphore) override {}
+
private:
void onResetContext(uint32_t resetBits) override {}