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()
50 if (fFrameFences[fCurrentFenceIdx]) { in waitOnSyncOrSwap()
51 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) { in waitOnSyncOrSwap()
54 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
57 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence(); in waitOnSyncOrSwap()
58 fCurrentFenceIdx = (fCurrentFenceIdx + 1) % SK_ARRAY_COUNT(fFrameFences); in waitOnSyncOrSwap()
63 memset(fFrameFences, 0, sizeof(fFrameFences)); in testAbandon()
69 for (size_t i = 0; i < SK_ARRAY_COUNT(fFrameFences); i++) { in teardown()
70 if (fFrameFences[i]) { in teardown()
71 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
72 fFrameFences[i] = 0; in teardown()