Home
last modified time | relevance | path

Searched refs:PlatformFence (Results 1 – 7 of 7) sorted by relevance

/external/skia/tools/gpu/
DFenceSync.h15 using PlatformFence = uint64_t; variable
16 static constexpr PlatformFence kInvalidFence = 0;
25 virtual PlatformFence SK_WARN_UNUSED_RESULT insertFence() const = 0;
26 virtual bool waitFence(PlatformFence) const = 0;
27 virtual void deleteFence(PlatformFence) const = 0;
DTestContext.h104 PlatformFence fFrameFences[kMaxFrameLag - 1];
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp26 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override;
27 bool waitFence(sk_gpu_test::PlatformFence fence) const override;
28 void deleteFence(sk_gpu_test::PlatformFence fence) const override;
324 sk_gpu_test::PlatformFence EGLFenceSync::insertFence() const { in insertFence()
326 return reinterpret_cast<sk_gpu_test::PlatformFence>(eglsync); in insertFence()
329 bool EGLFenceSync::waitFence(sk_gpu_test::PlatformFence platformFence) const { in waitFence()
338 void EGLFenceSync::deleteFence(sk_gpu_test::PlatformFence platformFence) const { in deleteFence()
343 GR_STATIC_ASSERT(sizeof(EGLSyncKHR) <= sizeof(sk_gpu_test::PlatformFence));
/external/skia/tools/gpu/vk/
DVkTestContext.cpp61 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override { in insertFence()
80 return (sk_gpu_test::PlatformFence)fence; in insertFence()
83 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override { in waitFence()
90 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override { in deleteFence()
106 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence));
/external/skia/tools/gpu/gl/
DGLTestContext.cpp19 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override;
20 bool waitFence(sk_gpu_test::PlatformFence fence) const override;
21 void deleteFence(sk_gpu_test::PlatformFence fence) const override;
33 GR_STATIC_ASSERT(sizeof(GLsync) <= sizeof(sk_gpu_test::PlatformFence));
74 sk_gpu_test::PlatformFence GLFenceSync::insertFence() const { in insertFence()
76 return reinterpret_cast<sk_gpu_test::PlatformFence>(glsync); in insertFence()
79 bool GLFenceSync::waitFence(sk_gpu_test::PlatformFence fence) const { in waitFence()
84 void GLFenceSync::deleteFence(sk_gpu_test::PlatformFence fence) const { in deleteFence()
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm63 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override {
82 return (sk_gpu_test::PlatformFence)fence;
85 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override {
92 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override {
108 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence));
/external/skia/tools/skpbench/
Dskpbench.cpp84 sk_gpu_test::PlatformFence fFence;