Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DSkGLContext.cpp42 memset(fFrameFences, 0, sizeof(fFrameFences)); in SkGLContext()
48 for (size_t i = 0; i < SK_ARRAY_COUNT(fFrameFences); i++) { in ~SkGLContext()
49 SkASSERT(0 == fFrameFences[i]); in ~SkGLContext()
64 for (size_t i = 0; i < SK_ARRAY_COUNT(fFrameFences); i++) { in teardown()
65 if (fFrameFences[i]) { in teardown()
66 fFenceSync->deleteFence(fFrameFences[i]); in teardown()
67 fFrameFences[i] = 0; in teardown()
91 if (fFrameFences[fCurrentFenceIdx]) { in waitOnSyncOrSwap()
92 if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx], true)) { in waitOnSyncOrSwap()
95 fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]); in waitOnSyncOrSwap()
[all …]
/external/skia/include/gpu/gl/
DSkGLContext.h113 SkPlatformGpuFence fFrameFences[kMaxFrameLag - 1]; variable