Lines Matching refs:pipe
34 #include "pipe/p_context.h"
35 #include "pipe/p_screen.h"
39 #include "pipe/p_context.h"
40 #include "pipe/p_screen.h"
61 free_queries(struct pipe_context *pipe, struct gl_query_object *q)
64 pipe->destroy_query(pipe, q->pq);
69 pipe->destroy_query(pipe, q->pq_begin);
78 struct pipe_context *pipe = ctx->pipe;
80 free_queries(pipe, q);
131 struct pipe_context *pipe = ctx->pipe;
187 free_queries(pipe, q);
195 q->pq_begin = pipe->create_query(pipe, type, 0);
199 ret = pipe->end_query(pipe, q->pq_begin);
202 q->pq = pipe->create_query(pipe, type, target_to_index(q));
206 ret = pipe->begin_query(pipe, q->pq);
212 free_queries(pipe, q);
228 struct pipe_context *pipe = ctx->pipe;
236 q->pq = pipe->create_query(pipe, PIPE_QUERY_TIMESTAMP, 0);
241 ret = pipe->end_query(pipe, q->pq);
254 get_query_result(struct pipe_context *pipe,
267 if (!pipe->get_query_result(pipe, q->pq, wait, &data))
326 pipe->get_query_result(pipe, q->pq_begin, TRUE, (void *)&Result0);
339 struct pipe_context *pipe = ctx->pipe;
345 !get_query_result(pipe, q, TRUE))
357 struct pipe_context *pipe = ctx->pipe;
359 q->Ready = get_query_result(pipe, q, FALSE);
366 struct pipe_context *pipe = ctx->pipe;
367 struct pipe_screen *screen = pipe->screen;
375 assert(pipe->get_timestamp);
376 return pipe->get_timestamp(pipe);
385 struct pipe_context *pipe = ctx->pipe;
402 pipe_buffer_write(pipe, buf->buffer, offset,
434 pipe->get_query_result_resource(pipe, q->pq, flags, result_type, index,
1316 struct pipe_screen *screen = ctx->pipe->screen;