Lines Matching defs:st
92 setup_index_buffer(struct st_context *st,
106 else if (st->indexbuf_uploader) {
107 if (u_upload_data(st->indexbuf_uploader, 0,
113 u_upload_unmap(st->indexbuf_uploader);
120 cso_set_index_buffer(st->cso_context, ibuffer);
199 struct st_context *st = st_context(ctx);
209 if (st->dirty.st || ctx->NewDriverState) {
210 st_validate_state(st);
212 if (st->vertex_array_out_of_memory)
232 if (!setup_index_buffer(st, ib, &ibuffer)) {
271 cso_draw_vbo(st->cso_context, &info);
275 cso_draw_vbo(st->cso_context, &info);
278 cso_draw_vbo(st->cso_context, &info);
281 if (ib && st->indexbuf_uploader && !_mesa_is_bufferobj(ib->obj)) {
288 st_init_draw(struct st_context *st)
290 struct gl_context *ctx = st->ctx;
295 st->draw = draw_create(st->pipe); /* for selection/feedback */
300 draw_wide_line_threshold(st->draw, 1000.0f);
301 draw_wide_point_threshold(st->draw, 1000.0f);
302 draw_enable_line_stipple(st->draw, FALSE);
303 draw_enable_point_sprites(st->draw, FALSE);
309 st_destroy_draw(struct st_context *st)
312 draw_destroy(st->draw);