Lines Matching refs:vbo
49 struct vbo_context *vbo = vbo_context(ctx); in init_legacy_currval() local
50 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_POS]; in init_legacy_currval()
79 struct vbo_context *vbo = vbo_context(ctx); in init_generic_currval() local
80 struct gl_client_array *arrays = &vbo->currval[VBO_ATTRIB_GENERIC0]; in init_generic_currval()
106 struct vbo_context *vbo = vbo_context(ctx); in init_mat_currval() local
108 &vbo->currval[VBO_ATTRIB_MAT_FRONT_AMBIENT]; in init_mat_currval()
153 struct vbo_context *vbo = CALLOC_STRUCT(vbo_context); in _vbo_CreateContext() local
155 ctx->swtnl_im = (void *)vbo; in _vbo_CreateContext()
175 for (i = 0; i < Elements(vbo->map_vp_none); i++) in _vbo_CreateContext()
176 vbo->map_vp_none[i] = i; in _vbo_CreateContext()
179 vbo->map_vp_none[VERT_ATTRIB_GENERIC(i)] in _vbo_CreateContext()
182 for (i = 0; i < Elements(vbo->map_vp_arb); i++) in _vbo_CreateContext()
183 vbo->map_vp_arb[i] = i; in _vbo_CreateContext()
209 struct vbo_context *vbo = vbo_context(ctx); in _vbo_DestroyContext() local
216 if (vbo) { in _vbo_DestroyContext()
220 _mesa_reference_buffer_object(ctx, &vbo->currval[i].BufferObj, NULL); in _vbo_DestroyContext()
226 FREE(vbo); in _vbo_DestroyContext()
234 struct vbo_context *vbo = vbo_context(ctx); in vbo_set_draw_func() local
235 vbo->draw_prims = func; in vbo_set_draw_func()