Home | History | Annotate | Download | only in src

Lines Matching full:fence

97     struct _WsbmFenceObject *fence;
618 ret = wsbmFenceFinish(sBuf->fence, sBuf->fenceType, 0);
625 wsbmFenceSignaled(sBuf->fence, sBuf->fenceType);
633 wsbmFenceUnreference(&sBuf->fence);
638 } else if (wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) {
639 wsbmFenceUnreference(&sBuf->fence);
834 if (sBuf->fence && !wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) {
838 if (sBuf->fence)
839 wsbmFenceUnreference(&sBuf->fence);
851 while (sBuf->unFenced || sBuf->fence != NULL) {
856 if (sBuf->fence != NULL) {
857 if (!wsbmFenceSignaled(sBuf->fence, sBuf->fenceType)) {
858 struct _WsbmFenceObject *fence =
859 wsbmFenceReference(sBuf->fence);
862 (void)wsbmFenceFinish(fence, sBuf->fenceType, lazy);
864 if (sBuf->fence == fence)
865 wsbmFenceUnreference(&sBuf->fence);
867 wsbmFenceUnreference(&fence);
869 wsbmFenceUnreference(&sBuf->fence);
922 signaled = (sBuf->fence == NULL) ||
923 wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType);
925 signaled = (sBuf->fence == NULL) ||
926 wsbmFenceSignaled(sBuf->fence, sBuf->fenceType);
930 wsbmFenceUnreference(&sBuf->fence);
983 pool_fence(struct _WsbmBufStorage *buf, struct _WsbmFenceObject *fence)
989 if (sBuf->fence)
990 wsbmFenceUnreference(&sBuf->fence);
994 if (!wsbmFenceSignaledCached(fence, sBuf->fenceType))
995 sBuf->fence = wsbmFenceReference(fence);
1107 if (sBuf->fence) {
1108 (void)wsbmFenceFinish(sBuf->fence, sBuf->fenceType, 0);
1109 wsbmFenceUnreference(&sBuf->fence);
1186 pool->fence = &pool_fence;