Lines Matching defs:pctx
38 fence_flush(struct pipe_context *pctx, struct pipe_fence_handle *fence,
47 threaded_context_flush(pctx, fence->tc_token, timeout == 0);
133 fd_fence_finish(struct pipe_screen *pscreen, struct pipe_context *pctx,
136 /* Note: for TC deferred fence, pctx->flush() may not have been called
140 if (!fence_flush(pctx, fence, timeout))
144 return fd_fence_finish(pscreen, pctx, fence->last_fence, timeout);
186 fd_create_fence_fd(struct pipe_context *pctx, struct pipe_fence_handle **pfence,
189 struct fd_context *ctx = fd_context(pctx);
194 fence_create(fd_context(pctx), NULL, os_dupfd_cloexec(fd), 0);
205 *pfence = fence_create(fd_context(pctx), NULL, -1, syncobj);
214 fd_fence_server_sync(struct pipe_context *pctx, struct pipe_fence_handle *fence)
216 struct fd_context *ctx = fd_context(pctx);
221 fence_flush(pctx, fence, 0);
224 fd_fence_server_sync(pctx, fence->last_fence);
238 fd_fence_server_signal(struct pipe_context *pctx,
241 struct fd_context *ctx = fd_context(pctx);
256 /* NOTE: in the deferred fence case, the pctx we want is the threaded-ctx
297 fd_fence_create_unflushed(struct pipe_context *pctx,
301 fence_create(fd_context(pctx), NULL, -1, 0);