Lines Matching refs:rquery
59 struct r600_query *rquery) in r600_query_sw_destroy() argument
61 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_destroy()
95 struct r600_query *rquery) in r600_query_sw_begin() argument
97 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_begin()
253 struct r600_query *rquery) in r600_query_sw_end() argument
255 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_end()
415 struct r600_query *rquery, in r600_query_sw_get_result() argument
419 struct r600_query_sw *query = (struct r600_query_sw *)rquery; in r600_query_sw_get_result()
430 struct pipe_context *ctx = rquery->b.flushed ? NULL : &rctx->b; in r600_query_sw_get_result()
503 struct r600_query *rquery) in si_query_hw_destroy() argument
505 struct r600_query_hw *query = (struct r600_query_hw *)rquery; in si_query_hw_destroy()
518 FREE(rquery); in si_query_hw_destroy()
583 struct r600_query *rquery,
1042 struct r600_query *rquery = (struct r600_query *)query; in r600_destroy_query() local
1044 rquery->ops->destroy(rctx->screen, rquery); in r600_destroy_query()
1051 struct r600_query *rquery = (struct r600_query *)query; in r600_begin_query() local
1053 return rquery->ops->begin(rctx, rquery); in r600_begin_query()
1084 struct r600_query *rquery) in si_query_hw_begin() argument
1086 struct r600_query_hw *query = (struct r600_query_hw *)rquery; in si_query_hw_begin()
1109 struct r600_query *rquery = (struct r600_query *)query; in r600_end_query() local
1111 return rquery->ops->end(rctx, rquery); in r600_end_query()
1115 struct r600_query *rquery) in si_query_hw_end() argument
1117 struct r600_query_hw *query = (struct r600_query_hw *)rquery; in si_query_hw_end()
1134 struct r600_query_hw *rquery, int index, in r600_get_hw_query_params() argument
1142 switch (rquery->b.type) { in r600_get_hw_query_params()
1188 params->fence_offset = rquery->result_size - 4; in r600_get_hw_query_params()
1335 struct r600_query *rquery = (struct r600_query *)query; in r600_get_query_result() local
1337 return rquery->ops->get_result(rctx, rquery, wait, result); in r600_get_query_result()
1349 struct r600_query *rquery = (struct r600_query *)query; in r600_get_query_result_resource() local
1351 rquery->ops->get_result_resource(rctx, rquery, wait, result_type, index, in r600_get_query_result_resource()
1362 struct r600_query *rquery, in si_query_hw_get_result() argument
1366 struct r600_query_hw *query = (struct r600_query_hw *)rquery; in si_query_hw_get_result()
1377 if (rquery->b.flushed) in si_query_hw_get_result()
1393 if (rquery->type == PIPE_QUERY_TIME_ELAPSED || in si_query_hw_get_result()
1394 rquery->type == PIPE_QUERY_TIMESTAMP) { in si_query_hw_get_result()
1630 struct r600_query *rquery, in r600_query_hw_get_result_resource() argument
1637 struct r600_query_hw *query = (struct r600_query_hw *)rquery; in r600_query_hw_get_result_resource()
1784 struct r600_query_hw *rquery = (struct r600_query_hw *)query; in r600_render_condition() local
1797 (rquery->b.type == PIPE_QUERY_SO_OVERFLOW_ANY_PREDICATE || in r600_render_condition()
1798 (rquery->b.type == PIPE_QUERY_SO_OVERFLOW_PREDICATE && in r600_render_condition()
1799 (rquery->buffer.previous || in r600_render_condition()
1800 rquery->buffer.results_end > rquery->result_size)))) { in r600_render_condition()
1804 if (needs_workaround && !rquery->workaround_buf) { in r600_render_condition()
1810 &rquery->workaround_offset, in r600_render_condition()
1811 (struct pipe_resource **)&rquery->workaround_buf); in r600_render_condition()
1820 &rquery->workaround_buf->b.b, rquery->workaround_offset); in r600_render_condition()