Home
last modified time | relevance | path

Searched refs:GrGLsync (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/gpu/gl/
DGrGLSemaphore.h24 GrGLsync sync, in MakeWrapped()
32 GrGLsync sync() const { return fSync; } in sync()
33 void setSync(const GrGLsync& sync) { fSync = sync; } in setSync()
47 GrGLsync fSync;
DGrGLTestInterface.h323 virtual GrGLsync fenceSync(GrGLenum condition, GrGLbitfield flags) { return nullptr; } in fenceSync()
324 virtual GrGLboolean isSync(GrGLsync) { return false; } in isSync() argument
325 …virtual GrGLenum clientWaitSync(GrGLsync sync, GrGLbitfield flags, GrGLuint64 timeout) { return GR… in clientWaitSync()
326 virtual GrGLvoid waitSync(GrGLsync sync, GrGLbitfield flags, GrGLuint64 timeout) {} in waitSync()
327 virtual GrGLvoid deleteSync(GrGLsync sync) {} in deleteSync()
DGrGLGpu.h172 void deleteSync(GrGLsync) const;
DGrGLGpu.cpp4248 GrGLsync sync; in insertFence()
4250 GR_STATIC_ASSERT(sizeof(GrFence) >= sizeof(GrGLsync)); in insertFence()
4256 GL_CALL_RET(result, ClientWaitSync((GrGLsync)fence, GR_GL_SYNC_FLUSH_COMMANDS_BIT, timeout)); in waitFence()
4261 this->deleteSync((GrGLsync)fence); in deleteFence()
4279 GrGLsync sync; in insertSemaphore()
4290 void GrGLGpu::deleteSync(GrGLsync sync) const { in deleteSync()
/external/skia/src/gpu/gl/
DGrGLSemaphore.h24 GrGLsync sync, in MakeWrapped()
34 GrGLsync sync() const { return fSync; } in sync()
35 void setSync(const GrGLsync& sync) { fSync = sync; } in setSync()
51 GrGLsync fSync;
DGrGLGpu.h174 void deleteSync(GrGLsync) const;
310 bool waitSync(GrGLsync, uint64_t timeout, bool flush);
684 GrGLsync fSync;
DGrGLGpu.cpp4069 callback.fSync = (GrGLsync)this->insertFence(); in onFinishFlush()
4090 GrGLsync sync; in insertFence()
4092 static_assert(sizeof(GrGLsync) >= sizeof(GrGLuint)); in insertFence()
4096 sync = reinterpret_cast<GrGLsync>(static_cast<intptr_t>(fence)); in insertFence()
4100 static_assert(sizeof(GrFence) >= sizeof(GrGLsync)); in insertFence()
4104 bool GrGLGpu::waitSync(GrGLsync sync, uint64_t timeout, bool flush) { in waitSync()
4129 return this->waitSync((GrGLsync)fence, timeout, /* flush = */ true); in waitFence()
4133 this->deleteSync((GrGLsync)fence); in deleteFence()
4152 GrGLsync sync; in insertSemaphore()
4173 void GrGLGpu::deleteSync(GrGLsync sync) const { in deleteSync()
/external/skqp/include/gpu/
DGrBackendSemaphore.h25 void initGL(GrGLsync sync) { in initGL()
43 GrGLsync glSync() const { in glSync()
60 GrGLsync fGLSync;
/external/skia/include/gpu/
DGrBackendSemaphore.h26 void initGL(GrGLsync sync) { in initGL()
57 GrGLsync glSync() const { in glSync()
88 GrGLsync fGLSync;
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp290 return reinterpret_cast<GrGLsync>(sync); in setupFenceSync()
293 glInt->fFunctions.fDeleteSync = [grEGLDestroySyncKHR, display = fDisplay](GrGLsync sync) { in setupFenceSync()
299 [grEGLClientWaitSyncKHR, display = fDisplay] (GrGLsync sync, GrGLbitfield flags, in setupFenceSync()
323 [grEGLClientWaitSyncKHR, grEGLWaitSyncKHR, display = fDisplay](GrGLsync sync, in setupFenceSync()
341 [grEGLGetSyncAttribKHR, display = fDisplay](GrGLsync sync) -> GrGLboolean { in setupFenceSync()
/external/skqp/include/gpu/gl/
DGrGLTypes.h57 typedef struct __GLsync* GrGLsync; typedef
DGrGLFunctions.h235 using GrGLFenceSyncFn = GrGLsync GR_GL_FUNCTION_TYPE(GrGLenum condition, GrGLbitfield flags);
236 using GrGLIsSyncFn = GrGLboolean GR_GL_FUNCTION_TYPE(GrGLsync sync);
237 using GrGLClientWaitSyncFn = GrGLenum GR_GL_FUNCTION_TYPE(GrGLsync sync, GrGLbitfield flags, GrGLui…
238 using GrGLWaitSyncFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLsync sync, GrGLbitfield flags, GrGLuint64 t…
239 using GrGLDeleteSyncFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLsync sync);
/external/skia/include/gpu/gl/
DGrGLTypes.h119 typedef struct __GLsync* GrGLsync; typedef
DGrGLFunctions.h241 using GrGLFenceSyncFn = GrGLsync GR_GL_FUNCTION_TYPE(GrGLenum condition, GrGLbitfield flags);
242 using GrGLIsSyncFn = GrGLboolean GR_GL_FUNCTION_TYPE(GrGLsync sync);
243 using GrGLClientWaitSyncFn = GrGLenum GR_GL_FUNCTION_TYPE(GrGLsync sync, GrGLbitfield flags, GrGLui…
244 using GrGLWaitSyncFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLsync sync, GrGLbitfield flags, GrGLuint64 t…
245 using GrGLDeleteSyncFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLsync sync);
/external/skqp/tests/
DSurfaceSemaphoreTest.cpp236 GrGLsync sync = semaphore.glSync(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DSurfaceSemaphoreTest.cpp254 GrGLsync sync = semaphore.glSync(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()