8#ifndef GrGLSemaphore_DEFINED
9#define GrGLSemaphore_DEFINED
22 static std::unique_ptr<GrGLSemaphore>
Make(
GrGLGpu* gpu,
bool isOwned) {
23 return std::unique_ptr<GrGLSemaphore>(
new GrGLSemaphore(gpu, isOwned));
38 void setIsOwned()
override {
struct __GLsync * GrGLsync
#define SK_ABORT(message,...)
~GrGLSemaphore() override
static std::unique_ptr< GrGLSemaphore > Make(GrGLGpu *gpu, bool isOwned)
void setSync(const GrGLsync &sync)
GrBackendSemaphore backendSemaphore() const override