Lines Matching defs:save
41 struct vbo_save_context *save = &vbo->save;
43 vbo_save_api_init( save );
46 save->VAO[vpm] = NULL;
48 save->no_current_update = false;
57 struct vbo_save_context *save = &vbo->save;
60 _mesa_reference_vao(ctx, &save->VAO[vpm], NULL);
62 if (save->prim_store) {
63 free(save->prim_store->prims);
64 free(save->prim_store);
65 save->prim_store = NULL;
67 if (save->vertex_store) {
68 free(save->vertex_store->buffer_in_ram);
69 free(save->vertex_store);
70 save->vertex_store = NULL;
73 if (save->copied.buffer)
74 free(save->copied.buffer);
76 _mesa_reference_buffer_object(ctx, &save->current_bo, NULL);