Searched refs:fFrameFences (Results 1 - 2 of 2) sorted by relevance

/external/skia/tools/gpu/
H A DTestContext.cpp18 memset(fFrameFences, 0, sizeof(fFrameFences));
24 for (size_t i = 0; i < SK_ARRAY_COUNT(fFrameFences); i++) {
25 SkASSERT(0 == fFrameFences[i]);
44 if (fFrameFences[fCurrentFenceIdx]) {
45 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) {
48 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]);
51 fFrameFences[fCurrentFenceIdx] = fFenceSync->insertFence();
52 fCurrentFenceIdx = (fCurrentFenceIdx + 1) % SK_ARRAY_COUNT(fFrameFences);
57 memset(fFrameFences,
[all...]
H A DTestContext.h100 PlatformFence fFrameFences[kMaxFrameLag - 1]; member in class:sk_gpu_test::TestContext

Completed in 89 milliseconds