Lines Matching refs:pctx
45 v3d_create_query(struct pipe_context *pctx, unsigned query_type, unsigned index)
47 struct v3d_context *v3d = v3d_context(pctx);
53 v3d_create_batch_query(struct pipe_context *pctx, unsigned num_queries,
56 return v3d_create_batch_query_perfcnt(v3d_context(pctx),
62 v3d_destroy_query(struct pipe_context *pctx, struct pipe_query *query)
64 struct v3d_context *v3d = v3d_context(pctx);
71 v3d_begin_query(struct pipe_context *pctx, struct pipe_query *query)
73 struct v3d_context *v3d = v3d_context(pctx);
80 v3d_end_query(struct pipe_context *pctx, struct pipe_query *query)
82 struct v3d_context *v3d = v3d_context(pctx);
89 v3d_get_query_result(struct pipe_context *pctx, struct pipe_query *query,
92 struct v3d_context *v3d = v3d_context(pctx);
99 v3d_set_active_query_state(struct pipe_context *pctx, bool enable)
101 struct v3d_context *v3d = v3d_context(pctx);
109 v3d_query_init(struct pipe_context *pctx)
111 pctx->create_query = v3d_create_query;
112 pctx->create_batch_query = v3d_create_batch_query;
113 pctx->destroy_query = v3d_destroy_query;
114 pctx->begin_query = v3d_begin_query;
115 pctx->end_query = v3d_end_query;
116 pctx->get_query_result = v3d_get_query_result;
117 pctx->set_active_query_state = v3d_set_active_query_state;