_mesa_bufferobj_release_buffer(bufObj);
vbo_delete_minmax_cache(bufObj);
- align_free(bufObj->Data);
/* assign strange values here to help w/ debugging */
bufObj->RefCount = -1000;
FLUSH_VERTICES(ctx, 0, 0);
- bufObj->Written = GL_TRUE;
bufObj->Immutable = GL_TRUE;
bufObj->MinMaxCacheDirty = true;
FLUSH_VERTICES(ctx, 0, 0);
- bufObj->Written = GL_TRUE;
bufObj->MinMaxCacheDirty = true;
#ifdef VBO_DEBUG
return;
bufObj->NumSubDataCalls++;
- bufObj->Written = GL_TRUE;
bufObj->MinMaxCacheDirty = true;
_mesa_bufferobj_subdata(ctx, offset, size, data, bufObj);
}
if (access & GL_MAP_WRITE_BIT) {
- bufObj->Written = GL_TRUE;
bufObj->MinMaxCacheDirty = true;
}
GLenum16 Usage; /**< GL_STREAM_DRAW_ARB, GL_STREAM_READ_ARB, etc. */
GLbitfield StorageFlags; /**< GL_MAP_PERSISTENT_BIT, etc. */
GLsizeiptrARB Size; /**< Size of buffer storage in bytes */
- GLubyte *Data; /**< Location of storage either in RAM or VRAM. */
GLboolean DeletePending; /**< true if buffer object is removed from the hash */
- GLboolean Written; /**< Ever written to? (for debugging) */
GLboolean Immutable; /**< GL_ARB_buffer_storage */
gl_buffer_usage UsageHistory; /**< How has this buffer been used so far? */