Lines Matching defs:pipe

24 #include "pipe/p_defines.h"
41 swr_create_query(struct pipe_context *pipe, unsigned type, unsigned index)
61 swr_destroy_query(struct pipe_context *pipe, struct pipe_query *q)
67 swr_fence_finish(pipe->screen, NULL, pq->fence, 0);
68 swr_fence_reference(pipe->screen, &pq->fence, NULL);
76 swr_get_query_result(struct pipe_context *pipe,
88 swr_fence_finish(pipe->screen, NULL, pq->fence, 0);
89 swr_fence_reference(pipe->screen, &pq->fence, NULL);
161 swr_begin_query(struct pipe_context *pipe, struct pipe_query *q)
163 struct swr_context *ctx = swr_context(pipe);
174 pq->result.timestamp_start = swr_get_timestamp(pipe->screen);
195 swr_end_query(struct pipe_context *pipe, struct pipe_query *q)
197 struct swr_context *ctx = swr_context(pipe);
206 pq->result.timestamp_end = swr_get_timestamp(pipe->screen);
212 struct swr_screen *screen = swr_screen(pipe->screen);
213 swr_fence_reference(pipe->screen, &pq->fence, screen->flush_fence);
232 swr_check_render_cond(struct pipe_context *pipe)
234 struct swr_context *ctx = swr_context(pipe);
244 b = pipe->get_query_result(
245 pipe, ctx->render_cond_query, wait, (union pipe_query_result *)&result);
254 swr_set_active_query_state(struct pipe_context *pipe, boolean enable)
259 swr_query_init(struct pipe_context *pipe)
261 struct swr_context *ctx = swr_context(pipe);
263 pipe->create_query = swr_create_query;
264 pipe->destroy_query = swr_destroy_query;
265 pipe->begin_query = swr_begin_query;
266 pipe->end_query = swr_end_query;
267 pipe->get_query_result = swr_get_query_result;
268 pipe->set_active_query_state = swr_set_active_query_state;