Searched refs:fFrameFences (Results 1 – 2 of 2) sorted by relevance
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()[all …]
104 PlatformFence fFrameFences[kMaxFrameLag - 1]; variable