Home | History | Annotate | Download | only in vbo

Lines Matching refs:bufferobj

34 #include "main/bufferobj.h"
1141 /* Any buffer name but 0 can be used here since this bufferobj won't
1142 * go into the bufferobj hashtable.
1150 assert(exec->vtx.bufferobj == ctx->Shared->NullBufferObj);
1158 _mesa_reference_buffer_object(ctx, &exec->vtx.bufferobj, NULL);
1159 exec->vtx.bufferobj = ctx->Driver.NewBufferObject(ctx, bufName, target);
1160 if (!ctx->Driver.BufferData(ctx, target, size, NULL, usage, exec->vtx.bufferobj)) {
1191 &exec->vtx.bufferobj,
1228 array->BufferObj = NULL;
1229 _mesa_reference_buffer_object(ctx, &arrays->BufferObj,
1230 vbo->currval[VBO_ATTRIB_POS+i].BufferObj);
1240 array->BufferObj = NULL;
1241 _mesa_reference_buffer_object(ctx, &array->BufferObj,
1242 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj);
1261 ASSERT(exec->vtx.bufferobj->Name == 0 ||
1262 exec->vtx.bufferobj->Name == IMM_BUFFER_NAME);
1263 if (exec->vtx.bufferobj->Name == 0) {
1274 &exec->vtx.arrays[i].BufferObj,
1280 if (_mesa_bufferobj_mapped(exec->vtx.bufferobj)) {
1281 ctx->Driver.UnmapBuffer(ctx, exec->vtx.bufferobj);
1283 _mesa_reference_buffer_object(ctx, &exec->vtx.bufferobj, NULL);