Home
last modified time | relevance | path

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

/external/skia/tools/gpu/
DTestContext.cpp15 : fFenceSync(nullptr) in TestContext()
28 SkASSERT(!fFenceSync); in ~TestContext()
37 if (!fFenceSync) { in waitOnSyncOrSwap()
45 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { in waitOnSyncOrSwap()
48 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
51 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
56 if (fFenceSync) { in testAbandon()
62 if (fFenceSync) { in teardown()
65 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
69 fFenceSync.reset(); in teardown()
DTestContext.h30 bool fenceSyncSupport() const { return fFenceSync != nullptr; } in fenceSyncSupport()
31 FenceSync* fenceSync() { SkASSERT(fFenceSync); return fFenceSync.get(); } in fenceSync()
37 if (!fFenceSync) { in getMaxGpuFrameLag()
84 std::unique_ptr<FenceSync> fFenceSync;
/external/skia/tools/skpbench/
Dskpbench.cpp81 const sk_gpu_test::FenceSync* const fFenceSync; member in GpuSync
410 : fFenceSync(fenceSync) { in GpuSync()
415 fFenceSync->deleteFence(fFence); in ~GpuSync()
422 if (!fFenceSync->waitFence(fFence)) { in syncToPreviousFrame()
425 fFenceSync->deleteFence(fFence); in syncToPreviousFrame()
430 fFence = fFenceSync->insertFence(); in updateFence()
/external/skia/tools/gpu/vk/
DVkTestContext.cpp137 fFenceSync.reset(new VkFenceSync(fVk->fInterface, fVk->fDevice, fVk->fQueue, in VkTestContextImpl()
/external/skia/src/gpu/gl/
DGrGLInterface.cpp769 if (nullptr == fFunctions.fFenceSync || in validate()
778 if (nullptr == fFunctions.fFenceSync || in validate()
DGrGLTestInterface.cpp315 fFunctions.fFenceSync = bind_to_member(this, &GrGLTestInterface::fenceSync); in GrGLTestInterface()
/external/skia/tools/gpu/gl/
DGLTestContext.cpp231 fFenceSync = fenceSync ? std::move(fenceSync) : GLFenceSync::MakeIfSupported(this); in init()
/external/skia/include/gpu/gl/
DGrGLInterface.h455 GrGLFunction<GrGLFenceSyncProc> fFenceSync; member