Lines Matching defs:save
41 struct vbo_save_context *save = &vbo->save;
43 save->ctx = ctx;
45 vbo_save_api_init( save );
48 save->VAO[vpm] = NULL;
50 save->no_current_update = false;
59 struct vbo_save_context *save = &vbo->save;
62 _mesa_reference_vao(ctx, &save->VAO[vpm], NULL);
64 if (save->prim_store) {
65 if ( --save->prim_store->refcount == 0 ) {
66 free(save->prim_store);
67 save->prim_store = NULL;
70 if (save->vertex_store) {
71 _mesa_reference_buffer_object(ctx, &save->vertex_store->bufferobj, NULL);
72 free(save->vertex_store);
73 save->vertex_store = NULL;