Lines Matching refs:r300

35     struct r300_context *r300 = r300_context(pipe);
36 struct r300_screen *r300screen = r300->screen;
60 q->buf = r300->rws->buffer_create(r300->rws, 4096, 4096,
66 q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf);
80 void r300_resume_query(struct r300_context *r300,
83 r300->query_current = query;
84 r300_mark_atom_dirty(r300, &r300->query_start);
90 struct r300_context* r300 = r300_context(pipe);
96 if (r300->query_current != NULL) {
97 fprintf(stderr, "r300: begin_query: "
104 r300_resume_query(r300, q);
107 void r300_stop_query(struct r300_context *r300)
109 r300_emit_query_end(r300);
110 r300->query_current = NULL;
116 struct r300_context* r300 = r300_context(pipe);
126 if (q != r300->query_current) {
127 fprintf(stderr, "r300: end_query: Got invalid query.\n");
132 r300_stop_query(r300);
140 struct r300_context* r300 = r300_context(pipe);
147 r300->rws->buffer_wait(q->buf, RADEON_USAGE_READWRITE);
150 vresult->b = !r300->rws->buffer_is_busy(q->buf, RADEON_USAGE_READWRITE);
155 map = r300->rws->buffer_map(q->cs_buf, r300->cs,
169 r300->rws->buffer_unmap(q->cs_buf);
183 struct r300_context *r300 = r300_context(pipe);
187 r300->skip_rendering = FALSE;
195 r300->skip_rendering = !result.b;
197 r300->skip_rendering = !result.u64;
203 void r300_init_query_functions(struct r300_context* r300)
205 r300->context.create_query = r300_create_query;
206 r300->context.destroy_query = r300_destroy_query;
207 r300->context.begin_query = r300_begin_query;
208 r300->context.end_query = r300_end_query;
209 r300->context.get_query_result = r300_get_query_result;
210 r300->context.render_condition = r300_render_condition;