Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DSkGLContext.cpp53 SkASSERT(nullptr == fFenceSync.get()); in ~SkGLContext()
59 fFenceSync.reset(fenceSync ? fenceSync : GLFenceSync::CreateIfSupported(this)); in init()
63 if (fFenceSync) { in teardown()
66 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
70 fFenceSync.reset(nullptr); in teardown()
85 if (!fFenceSync) { in waitOnSyncOrSwap()
92 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx], true)) { in waitOnSyncOrSwap()
95 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
98 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
106 if (fFenceSync) { in testAbandon()
/external/skia/include/gpu/gl/
DSkGLContext.h28 bool fenceSyncSupport() const { return SkToBool(fFenceSync); } in fenceSyncSupport()
31 if (!fFenceSync) { in getMaxGpuFrameLag()
91 SkGpuFenceSync* fenceSync() { return fFenceSync.get(); } in fenceSync()
112 SkAutoTDelete<SkGpuFenceSync> fFenceSync; variable
/external/skia/tools/kilobench/
Dkilobench.cpp293 : fFenceSync(mainContext->fenceSync()) in TimingThread()
312 fFenceSync->waitFence(sync, false); in waitFence()
353 fFenceSync->deleteFence(startSync); in timingLoop()
354 fFenceSync->deleteFence(endSync); in timingLoop()
383 *queue->addToHead() = fFenceSync->insertFence(); in pushSync()
407 SkGpuFenceSync* fFenceSync; member