Home
last modified time | relevance | path

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

/external/skqp/tools/gpu/
DTestContext.cpp20 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()
[all …]
DTestContext.h125 PlatformFence fFrameFences[kMaxFrameLag - 1]; variable
/external/skia/tools/gpu/
DTestContext.cpp20 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()
[all …]
DTestContext.h125 PlatformFence fFrameFences[kMaxFrameLag - 1]; variable