Lines Matching defs:vbo
51 /** ID/name for immediate-mode VBO */
142 /* probably ran out of memory earlier when allocating the VBO */
168 struct vbo_context *vbo = vbo_context(ctx);
177 GLfloat *current = (GLfloat *)vbo->currval[i].Ptr;
193 if (exec->vtx.attrtype[i] != vbo->currval[i].Type ||
203 vbo->currval[i].Size = exec->vtx.attrsz[i] / dmul;
204 vbo->currval[i]._ElementSize =
205 vbo->currval[i].Size * sizeof(GLfloat) * dmul;
206 vbo->currval[i].Type = exec->vtx.attrtype[i];
207 vbo->currval[i].Integer =
209 vbo->currval[i].Doubles =
240 struct vbo_context *vbo = vbo_context(ctx);
245 memcpy(exec->vtx.attrptr[i], vbo->currval[i].Ptr,
248 const fi_type *current = (fi_type *) vbo->currval[i].Ptr;
273 struct vbo_context *vbo = vbo_context(ctx);
373 fi_type *current = (fi_type *)vbo->currval[j].Ptr;
625 * \param unmap - leave VBO unmapped after flushing?
810 * Try to merge / concatenate the two most recent VBO primitives.
1096 * Tell the VBO module to use a real OpenGL vertex buffer object to
1128 _mesa_error(ctx, GL_OUT_OF_MEMORY, "VBO allocation");
1134 * If this function is called, all VBO buffers will be unmapped when
1137 * the current VBO may be left mapped.
1151 struct vbo_context *vbo = vbo_context(ctx);
1188 memcpy(arrays, &vbo->currval[VBO_ATTRIB_POS],
1195 vbo->currval[VBO_ATTRIB_POS+i].BufferObj);
1199 &vbo->currval[VBO_ATTRIB_GENERIC0],
1207 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj);
1220 /* using a real VBO for vertex data */
1284 /* Flush (draw), and make sure VBO is left unmapped when done */