Lines Matching refs:vctx
51 struct virgl_context *vctx = virgl_context(ctx); in virgl_render_condition() local
56 virgl_encoder_render_condition(vctx, handle, condition, mode); in virgl_render_condition()
62 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_query() local
82 virgl_encoder_create_query(vctx, handle, query_type, index, query->buf, 0); in virgl_create_query()
90 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_query() local
93 virgl_encode_delete_object(vctx, query->handle, VIRGL_OBJECT_QUERY); in virgl_destroy_query()
102 struct virgl_context *vctx = virgl_context(ctx); in virgl_begin_query() local
106 virgl_encoder_begin_query(vctx, query->handle); in virgl_begin_query()
113 struct virgl_context *vctx = virgl_context(ctx); in virgl_end_query() local
123 virgl_encoder_end_query(vctx, query->handle); in virgl_end_query()
132 struct virgl_context *vctx = virgl_context(ctx); in virgl_get_query_result() local
140 virgl_encoder_get_query_result(vctx, query->handle, 0); in virgl_get_query_result()
173 void virgl_init_query_functions(struct virgl_context *vctx) in virgl_init_query_functions() argument
175 vctx->base.render_condition = virgl_render_condition; in virgl_init_query_functions()
176 vctx->base.create_query = virgl_create_query; in virgl_init_query_functions()
177 vctx->base.destroy_query = virgl_destroy_query; in virgl_init_query_functions()
178 vctx->base.begin_query = virgl_begin_query; in virgl_init_query_functions()
179 vctx->base.end_query = virgl_end_query; in virgl_init_query_functions()
180 vctx->base.get_query_result = virgl_get_query_result; in virgl_init_query_functions()
181 vctx->base.set_active_query_state = virgl_set_active_query_state; in virgl_init_query_functions()