diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 2087356f04..9ac86ba123 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -173,6 +173,11 @@ public: void deleteFence(GrFence) const override; sk_sp<GrSemaphore> SK_WARN_UNUSED_RESULT makeSemaphore(bool isOwned) override; + sk_sp<GrSemaphore> wrapBackendSemaphore(const GrBackendSemaphore& semaphore, + GrResourceProvider::SemaphoreWrapType wrapType, + GrWrapOwnership ownership) override; + void insertSemaphore(sk_sp<GrSemaphore> semaphore, bool flush) override; + void waitSemaphore(sk_sp<GrSemaphore> semaphore) override; sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; @@ -286,11 +291,6 @@ private: void onFinishFlush(bool insertedSemaphores) override; - void onInsertSemaphore(sk_sp<GrSemaphore> semaphore, bool flush) override; - void onWaitSemaphore(sk_sp<GrSemaphore> semaphore) override; - sk_sp<GrSemaphore> onWrapBackendSemaphore(const GrBackendSemaphore& semaphore, - GrWrapOwnership ownership) override; - bool hasExtension(const char* ext) const { return fGLContext->hasExtension(ext); } bool copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin, |