Home
last modified time | relevance | path

Searched refs:PlatformFence (Results 1 – 16 of 16) 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.h125 PlatformFence fFrameFences[kMaxFrameLag - 1];
/external/skqp/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.h125 PlatformFence fFrameFences[kMaxFrameLag - 1];
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp20 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override;
21 bool waitFence(sk_gpu_test::PlatformFence fence) const override;
22 void deleteFence(sk_gpu_test::PlatformFence fence) const override;
34 GR_STATIC_ASSERT(sizeof(GLsync) <= sizeof(sk_gpu_test::PlatformFence));
51 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override;
52 bool waitFence(sk_gpu_test::PlatformFence fence) const override;
53 void deleteFence(sk_gpu_test::PlatformFence fence) const override;
106 sk_gpu_test::PlatformFence GLFenceSync::insertFence() const { in insertFence()
108 return reinterpret_cast<sk_gpu_test::PlatformFence>(glsync); in insertFence()
111 bool GLFenceSync::waitFence(sk_gpu_test::PlatformFence fence) const { in waitFence()
[all …]
/external/skia/tools/gpu/gl/
DGLTestContext.cpp20 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override;
21 bool waitFence(sk_gpu_test::PlatformFence fence) const override;
22 void deleteFence(sk_gpu_test::PlatformFence fence) const override;
34 GR_STATIC_ASSERT(sizeof(GLsync) <= sizeof(sk_gpu_test::PlatformFence));
51 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override;
52 bool waitFence(sk_gpu_test::PlatformFence fence) const override;
53 void deleteFence(sk_gpu_test::PlatformFence fence) const override;
106 sk_gpu_test::PlatformFence GLFenceSync::insertFence() const { in insertFence()
108 return reinterpret_cast<sk_gpu_test::PlatformFence>(glsync); in insertFence()
111 bool GLFenceSync::waitFence(sk_gpu_test::PlatformFence fence) const { in waitFence()
[all …]
/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;
350 sk_gpu_test::PlatformFence EGLFenceSync::insertFence() const { in insertFence()
352 return reinterpret_cast<sk_gpu_test::PlatformFence>(eglsync); in insertFence()
355 bool EGLFenceSync::waitFence(sk_gpu_test::PlatformFence platformFence) const { in waitFence()
364 void EGLFenceSync::deleteFence(sk_gpu_test::PlatformFence platformFence) const { in deleteFence()
369 GR_STATIC_ASSERT(sizeof(EGLSyncKHR) <= sizeof(sk_gpu_test::PlatformFence));
/external/skqp/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;
350 sk_gpu_test::PlatformFence EGLFenceSync::insertFence() const { in insertFence()
352 return reinterpret_cast<sk_gpu_test::PlatformFence>(eglsync); in insertFence()
355 bool EGLFenceSync::waitFence(sk_gpu_test::PlatformFence platformFence) const { in waitFence()
364 void EGLFenceSync::deleteFence(sk_gpu_test::PlatformFence platformFence) const { in deleteFence()
369 GR_STATIC_ASSERT(sizeof(EGLSyncKHR) <= sizeof(sk_gpu_test::PlatformFence));
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm67 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override {
86 return (sk_gpu_test::PlatformFence)fence;
89 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override {
96 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override {
112 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence));
/external/skqp/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/gpu/vk/
DVkTestContext.cpp82 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override { in insertFence()
107 return (sk_gpu_test::PlatformFence)fence; in insertFence()
110 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override { in waitFence()
117 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override { in deleteFence()
144 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence));
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp82 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override { in insertFence()
107 return (sk_gpu_test::PlatformFence)fence; in insertFence()
110 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override { in waitFence()
117 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override { in deleteFence()
144 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence));
/external/skqp/tools/skpbench/
Dskpbench.cpp103 sk_gpu_test::PlatformFence fFence;
/external/skia/tools/skpbench/
Dskpbench.cpp103 sk_gpu_test::PlatformFence fFence;
/external/skia/tests/
DVkHardwareBufferTest.cpp360 sk_gpu_test::PlatformFence fence = fenceSync->insertFence(); in doClientSync()
/external/skqp/tests/
DVkHardwareBufferTest.cpp360 sk_gpu_test::PlatformFence fence = fenceSync->insertFence(); in doClientSync()