Home
last modified time | relevance | path

Searched refs:SkPlatformGpuFence (Results 1 – 5 of 5) sorted by relevance

/external/skia/include/private/
DSkGpuFenceSync.h13 typedef void* SkPlatformGpuFence; typedef
22 virtual SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const = 0;
23 virtual bool waitFence(SkPlatformGpuFence, bool flush) const = 0;
24 virtual void deleteFence(SkPlatformGpuFence) const = 0;
/external/skia/src/gpu/gl/
DSkGLContext.cpp16 SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const override;
17 bool waitFence(SkPlatformGpuFence fence, bool flush) const override;
18 void deleteFence(SkPlatformGpuFence fence) const override;
146 SkPlatformGpuFence SkGLContext::GLFenceSync::insertFence() const { in insertFence()
150 bool SkGLContext::GLFenceSync::waitFence(SkPlatformGpuFence fence, bool flush) const { in waitFence()
155 void SkGLContext::GLFenceSync::deleteFence(SkPlatformGpuFence fence) const { in deleteFence()
/external/skia/src/gpu/gl/egl/
DSkCreatePlatformGLContext_egl.cpp26 SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const override;
27 bool waitFence(SkPlatformGpuFence fence, bool flush) const override;
28 void deleteFence(SkPlatformGpuFence fence) const override;
301 SkPlatformGpuFence SkEGLFenceSync::insertFence() const { in insertFence()
305 bool SkEGLFenceSync::waitFence(SkPlatformGpuFence platformFence, bool flush) const { in waitFence()
314 void SkEGLFenceSync::deleteFence(SkPlatformGpuFence platformFence) const { in deleteFence()
/external/skia/tools/kilobench/
Dkilobench.cpp310 void waitFence(SkPlatformGpuFence sync) { in waitFence()
332 SkPlatformGpuFence startSync = this->popStartSync(); in timingLoop()
343 SkPlatformGpuFence endSync = this->popEndSync(); in timingLoop()
365 SkPlatformGpuFence popStartSync() { in popStartSync()
371 SkPlatformGpuFence popEndSync() { return this->popSync(&fFrameEndSyncs, &fFrameEndSyncsMutex); } in popEndSync()
379 typedef SkTLList<SkPlatformGpuFence, 1> SyncQueue;
387 SkPlatformGpuFence popSync(SyncQueue* queue, SkMutex* mutex) { in popSync()
389 SkPlatformGpuFence sync = *queue->head(); in popSync()
/external/skia/include/gpu/gl/
DSkGLContext.h113 SkPlatformGpuFence fFrameFences[kMaxFrameLag - 1];