Home
last modified time | relevance | path

Searched refs:fCurrentFenceIdx (Results 1 – 4 of 4) sorted by relevance

/external/skqp/tools/gpu/
DTestContext.cpp19 , fCurrentFenceIdx(0) { in TestContext()
57 if (fFrameFences[fCurrentFenceIdx]) { in waitOnSyncOrSwap()
58 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { in waitOnSyncOrSwap()
61 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
64 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
65 fCurrentFenceIdx = (fCurrentFenceIdx + 1) % SK_ARRAY_COUNT(fFrameFences); in waitOnSyncOrSwap()
DTestContext.h126 int fCurrentFenceIdx; variable
/external/skia/tools/gpu/
DTestContext.cpp19 , fCurrentFenceIdx(0) { in TestContext()
57 if (fFrameFences[fCurrentFenceIdx]) { in waitOnSyncOrSwap()
58 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { in waitOnSyncOrSwap()
61 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
64 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
65 fCurrentFenceIdx = (fCurrentFenceIdx + 1) % SK_ARRAY_COUNT(fFrameFences); in waitOnSyncOrSwap()
DTestContext.h126 int fCurrentFenceIdx; variable