Lines Matching defs:r300
35 struct r300_context *r300 = r300_context(pipe);
36 struct r300_screen *r300screen = r300->screen;
61 q->buf = r300->rws->buffer_create(r300->rws,
82 void r300_resume_query(struct r300_context *r300,
85 r300->query_current = query;
86 r300_mark_atom_dirty(r300, &r300->query_start);
92 struct r300_context* r300 = r300_context(pipe);
98 if (r300->query_current != NULL) {
99 fprintf(stderr, "r300: begin_query: "
106 r300_resume_query(r300, q);
110 void r300_stop_query(struct r300_context *r300)
112 r300_emit_query_end(r300);
113 r300->query_current = NULL;
119 struct r300_context* r300 = r300_context(pipe);
129 if (q != r300->query_current) {
130 fprintf(stderr, "r300: end_query: Got invalid query.\n");
135 r300_stop_query(r300);
145 struct r300_context* r300 = r300_context(pipe);
152 r300->rws->buffer_wait(r300->rws, q->buf, PIPE_TIMEOUT_INFINITE,
156 vresult->b = r300->rws->buffer_wait(r300->rws, q->buf, 0, RADEON_USAGE_READWRITE);
161 map = r300->rws->buffer_map(r300->rws, q->buf, &r300->cs,
189 struct r300_context *r300 = r300_context(pipe);
193 r300->skip_rendering = FALSE;
202 r300->skip_rendering = condition == result.b;
204 r300->skip_rendering = condition == !!result.u64;
215 void r300_init_query_functions(struct r300_context* r300)
217 r300->context.create_query = r300_create_query;
218 r300->context.destroy_query = r300_destroy_query;
219 r300->context.begin_query = r300_begin_query;
220 r300->context.end_query = r300_end_query;
221 r300->context.get_query_result = r300_get_query_result;
222 r300->context.set_active_query_state = r300_set_active_query_state;
223 r300->context.render_condition = r300_render_condition;