Lines Matching defs:fence
110 screen->fence_reference(screen, &obj->fence, NULL);
123 struct pipe_fence_handle *fence = NULL;
125 /* If the fence doesn't exist, assume it's signalled. */
127 if (!obj->fence) {
133 /* We need a local copy of the fence pointer, so that we can call
136 screen->fence_reference(screen, &fence, obj->fence);
151 if (screen->fence_finish(screen, pipe, fence, timeout)) {
153 screen->fence_reference(screen, &obj->fence, NULL);
157 screen->fence_reference(screen, &fence, NULL);
291 assert(syncObj->fence == NULL);
294 ctx->pipe->flush(ctx->pipe, &syncObj->fence, ctx->Shared->RefCount == 1 ? PIPE_FLUSH_DEFERRED : 0);
408 struct pipe_fence_handle *fence = NULL;
417 /* If the fence doesn't exist, assume it's signalled. */
419 if (!syncObj->fence) {
426 /* We need a local copy of the fence pointer. */
427 screen->fence_reference(screen, &fence, syncObj->fence);
430 pipe->fence_server_sync(pipe, fence);
431 screen->fence_reference(screen, &fence, NULL);