Lines Matching refs:fFrameFences
20 memset(fFrameFences, 0, sizeof(fFrameFences)); in TestContext()
26 for (size_t i = 0; i < SK_ARRAY_COUNT(fFrameFences); i++) { in ~TestContext()
27 SkASSERT(0 == fFrameFences[i]); 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()
70 memset(fFrameFences, 0, sizeof(fFrameFences)); in testAbandon()
76 for (size_t i = 0; i < SK_ARRAY_COUNT(fFrameFences); i++) { in teardown()
77 if (fFrameFences[i]) { in teardown()
78 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
79 fFrameFences[i] = 0; in teardown()