Lines Matching refs:save
42 struct vbo_save_context *save = &vbo->save; in vbo_save_init() local
44 save->ctx = ctx; in vbo_save_init()
46 vbo_save_api_init( save ); in vbo_save_init()
49 struct gl_vertex_array *arrays = save->arrays; in vbo_save_init()
82 struct vbo_save_context *save = &vbo->save; in vbo_save_destroy() local
85 if (save->prim_store) { in vbo_save_destroy()
86 if ( --save->prim_store->refcount == 0 ) { in vbo_save_destroy()
87 free(save->prim_store); in vbo_save_destroy()
88 save->prim_store = NULL; in vbo_save_destroy()
90 if ( --save->vertex_store->refcount == 0 ) { in vbo_save_destroy()
92 &save->vertex_store->bufferobj, NULL); in vbo_save_destroy()
93 free(save->vertex_store); in vbo_save_destroy()
94 save->vertex_store = NULL; in vbo_save_destroy()
99 _mesa_reference_buffer_object(ctx, &save->arrays[i].BufferObj, NULL); in vbo_save_destroy()
110 struct vbo_save_context *save = &vbo_context(ctx)->save; in vbo_save_fallback() local
113 save->replay_flags |= VBO_SAVE_FALLBACK; in vbo_save_fallback()
115 save->replay_flags &= ~VBO_SAVE_FALLBACK; in vbo_save_fallback()