Home
last modified time | relevance | path

Searched refs:fFenceSync (Results 1 – 18 of 18) sorted by relevance

/external/skia/tools/gpu/
DTestContext.cpp17 : fFenceSync(nullptr) in TestContext()
30 SkASSERT(!fFenceSync); in ~TestContext()
50 if (!fFenceSync) { in waitOnSyncOrSwap()
58 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { in waitOnSyncOrSwap()
61 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
64 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
69 if (fFenceSync) { in testAbandon()
75 if (fFenceSync) { in teardown()
78 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
82 fFenceSync.reset(); in teardown()
DTestContext.h34 bool fenceSyncSupport() const { return fFenceSync != nullptr; } in fenceSyncSupport()
35 FenceSync* fenceSync() { SkASSERT(fFenceSync); return fFenceSync.get(); } in fenceSync()
41 if (!fFenceSync) { in getMaxGpuFrameLag()
101 std::unique_ptr<FenceSync> fFenceSync;
/external/skqp/tools/gpu/
DTestContext.cpp17 : fFenceSync(nullptr) in TestContext()
30 SkASSERT(!fFenceSync); in ~TestContext()
50 if (!fFenceSync) { in waitOnSyncOrSwap()
58 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { in waitOnSyncOrSwap()
61 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
64 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
69 if (fFenceSync) { in testAbandon()
75 if (fFenceSync) { in teardown()
78 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
82 fFenceSync.reset(); in teardown()
DTestContext.h34 bool fenceSyncSupport() const { return fFenceSync != nullptr; } in fenceSyncSupport()
35 FenceSync* fenceSync() { SkASSERT(fFenceSync); return fFenceSync.get(); } in fenceSync()
41 if (!fFenceSync) { in getMaxGpuFrameLag()
101 std::unique_ptr<FenceSync> fFenceSync;
/external/skqp/tools/skpbench/
Dskpbench.cpp102 const sk_gpu_test::FenceSync* const fFenceSync; member in GpuSync
562 : fFenceSync(fenceSync) { in GpuSync()
567 fFenceSync->deleteFence(fFence); in ~GpuSync()
574 if (!fFenceSync->waitFence(fFence)) { in syncToPreviousFrame()
577 fFenceSync->deleteFence(fFence); in syncToPreviousFrame()
582 fFence = fFenceSync->insertFence(); in updateFence()
/external/skia/tools/skpbench/
Dskpbench.cpp102 const sk_gpu_test::FenceSync* const fFenceSync; member in GpuSync
563 : fFenceSync(fenceSync) { in GpuSync()
568 fFenceSync->deleteFence(fFence); in ~GpuSync()
575 if (!fFenceSync->waitFence(fFence)) { in syncToPreviousFrame()
578 fFenceSync->deleteFence(fFence); in syncToPreviousFrame()
583 fFence = fFenceSync->insertFence(); in updateFence()
/external/skqp/src/gpu/gl/
DGrGLInterface.cpp588 if (!fFunctions.fFenceSync || in validate()
598 if (!fFunctions.fFenceSync || in validate()
DGrGLTestInterface.cpp213 fFunctions.fFenceSync = bind_to_member(this, &GrGLTestInterface::fenceSync); in GrGLTestInterface()
/external/skia/src/gpu/gl/
DGrGLInterface.cpp582 if (!fFunctions.fFenceSync || in validate()
592 if (!fFunctions.fFenceSync || in validate()
DGrGLTestInterface.cpp212 fFunctions.fFenceSync = bind_to_member(this, &GrGLTestInterface::fenceSync); in GrGLTestInterface()
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm147 fFenceSync.reset(nullptr);
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm141 fFenceSync.reset(nullptr);
/external/skia/tools/gpu/vk/
DVkTestContext.cpp248 fFenceSync.reset(new VkFenceSync(fVk.fGetProc, fVk.fDevice, fVk.fQueue, in VkTestContextImpl()
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp248 fFenceSync.reset(new VkFenceSync(fVk.fGetProc, fVk.fDevice, fVk.fQueue, in VkTestContextImpl()
/external/skia/include/gpu/gl/
DGrGLInterface.h315 GrGLFunction<GrGLFenceSyncFn> fFenceSync; member
/external/skqp/include/gpu/gl/
DGrGLInterface.h316 GrGLFunction<GrGLFenceSyncFn> fFenceSync; member
/external/skqp/tools/gpu/gl/
DGLTestContext.cpp289 fFenceSync = fenceSync ? std::move(fenceSync) : GLFenceSync::MakeIfSupported(this); in init()
/external/skia/tools/gpu/gl/
DGLTestContext.cpp289 fFenceSync = fenceSync ? std::move(fenceSync) : GLFenceSync::MakeIfSupported(this); in init()