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.h193 void deleteSync(GrGLsync) const;
352 bool waitSync(GrGLsync, uint64_t timeout, bool flush);
DGrGLGpu.cpp3960 GrGLsync sync; in insertFence()
3962 static_assert(sizeof(GrGLsync) >= sizeof(GrGLuint)); in insertFence()
3966 sync = reinterpret_cast<GrGLsync>(static_cast<intptr_t>(fence)); in insertFence()
3971 static_assert(sizeof(GrFence) >= sizeof(GrGLsync)); in insertFence()
3975 bool GrGLGpu::waitSync(GrGLsync sync, uint64_t timeout, bool flush) { in waitSync()
4003 return this->waitSync(reinterpret_cast<GrGLsync>(fence), 0, false); in waitFence()
4008 this->deleteSync(reinterpret_cast<GrGLsync>(fence)); in deleteFence()
4029 GrGLsync sync; in insertSemaphore()
4067 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.h38 void initGL(GrGLsync sync) { in initGL()
77 GrGLsync glSync() const { in glSync()
116 GrGLsync fGLSync;
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp271 return reinterpret_cast<GrGLsync>(sync); in setupFenceSync()
274 glInt->fFunctions.fDeleteSync = [grEGLDestroySyncKHR, display = fDisplay](GrGLsync sync) { in setupFenceSync()
280 [grEGLClientWaitSyncKHR, display = fDisplay] (GrGLsync sync, GrGLbitfield flags, in setupFenceSync()
304 [grEGLClientWaitSyncKHR, grEGLWaitSyncKHR, display = fDisplay](GrGLsync sync, in setupFenceSync()
322 [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.h127 typedef struct __GLsync* GrGLsync; typedef
DGrGLFunctions.h218 using GrGLFenceSyncFn = GrGLsync GR_GL_FUNCTION_TYPE(GrGLenum condition, GrGLbitfield flags);
219 using GrGLIsSyncFn = GrGLboolean GR_GL_FUNCTION_TYPE(GrGLsync sync);
220 using GrGLClientWaitSyncFn = GrGLenum GR_GL_FUNCTION_TYPE(GrGLsync sync, GrGLbitfield flags, GrGLui…
221 using GrGLWaitSyncFn = GrGLvoid GR_GL_FUNCTION_TYPE(GrGLsync sync, GrGLbitfield flags, GrGLuint64 t…
222 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.cpp259 GrGLsync sync = semaphore.glSync(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()