diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index b6ca4f6fd6..57068fb916 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -146,10 +146,16 @@ public: void finishOpList() override; - GrFence SK_WARN_UNUSED_RESULT insertFence() const override; - bool waitFence(GrFence, uint64_t timeout) const override; + GrFence SK_WARN_UNUSED_RESULT insertFence() override; + bool waitFence(GrFence, uint64_t timeout) override; void deleteFence(GrFence) const override; + sk_sp<GrSemaphore> SK_WARN_UNUSED_RESULT makeSemaphore() override; + void insertSemaphore(sk_sp<GrSemaphore> semaphore) override; + void waitSemaphore(sk_sp<GrSemaphore> semaphore) override; + + void deleteSync(GrGLsync) const; + void flush() override; private: |