Searched refs:vertex_store (Results 1 – 5 of 5) sorted by relevance
139 struct vbo_save_vertex_store *vertex_store = in alloc_vertex_store() local148 vertex_store->bufferobj = ctx->Driver.NewBufferObject(ctx, VBO_BUF_ID); in alloc_vertex_store()149 if (vertex_store->bufferobj) { in alloc_vertex_store()157 vertex_store->bufferobj); in alloc_vertex_store()168 vertex_store->buffer_map = NULL; in alloc_vertex_store()169 vertex_store->used = 0; in alloc_vertex_store()171 return vertex_store; in alloc_vertex_store()177 struct vbo_save_vertex_store *vertex_store) in free_vertex_store() argument179 assert(!vertex_store->buffer_map); in free_vertex_store()181 if (vertex_store->bufferobj) { in free_vertex_store()[all …]
70 if (save->vertex_store) { in vbo_save_destroy()71 _mesa_reference_buffer_object(ctx, &save->vertex_store->bufferobj, NULL); in vbo_save_destroy()72 free(save->vertex_store); in vbo_save_destroy()73 save->vertex_store = NULL; in vbo_save_destroy()
161 if (save->vertex_store && save->vertex_store->buffer_map) { in vbo_save_playback_vertex_list()169 vbo_save_unmap_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()226 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()
167 struct vbo_save_vertex_store *vertex_store);171 struct vbo_save_vertex_store *vertex_store);
157 struct vbo_save_vertex_store *vertex_store; member