Home | History | Annotate | Download | only in radeonsi

Lines Matching refs:rctx

28 	struct r600_context *rctx = (struct r600_context *)ctx;
30 return (struct pipe_query*)r600_context_query_create(rctx, query_type);
35 struct r600_context *rctx = (struct r600_context *)ctx;
37 r600_context_query_destroy(rctx, (struct r600_query *)query);
42 struct r600_context *rctx = (struct r600_context *)ctx;
47 r600_query_begin(rctx, (struct r600_query *)query);
48 LIST_ADDTAIL(&rquery->list, &rctx->active_query_list);
53 struct r600_context *rctx = (struct r600_context *)ctx;
56 r600_query_end(rctx, rquery);
64 struct r600_context *rctx = (struct r600_context *)ctx;
67 return r600_context_query_result(rctx, rquery, wait, vresult);
74 struct r600_context *rctx = (struct r600_context *)ctx;
80 if (rctx->current_render_cond) {
86 rctx->current_render_cond = query;
87 rctx->current_render_cond_mode = mode;
90 if (rctx->predicate_drawing) {
91 rctx->predicate_drawing = false;
92 r600_query_predication(rctx, NULL, PREDICATION_OP_CLEAR, 1);
102 rctx->predicate_drawing = true;
107 r600_query_predication(rctx, rquery, PREDICATION_OP_ZPASS, wait_flag);
113 r600_query_predication(rctx, rquery, PREDICATION_OP_PRIMCOUNT, wait_flag);
120 void r600_init_query_functions(struct r600_context *rctx)
122 rctx->context.create_query = r600_create_query;
123 rctx->context.destroy_query = r600_destroy_query;
124 rctx->context.begin_query = r600_begin_query;
125 rctx->context.end_query = r600_end_query;
126 rctx->context.get_query_result = r600_get_query_result;
128 if (rctx->screen->info.r600_num_backends > 0)
129 rctx->context.render_condition = r600_render_condition;