Home | History | Annotate | Download | only in vbo

Lines Matching defs:ATTR

239                              GLuint attr, GLuint newSize )
246 const GLuint oldSize = exec->vtx.attrsz[attr];
281 exec->vtx.attrsz[attr] = newSize;
309 exec->vtx.attrptr[attr] = exec->vtx.vertex +
333 if (j == attr) {
368 vbo_exec_fixup_vertex(struct gl_context *ctx, GLuint attr, GLuint newSize)
372 if (newSize > exec->vtx.attrsz[attr]) {
376 vbo_exec_wrap_upgrade_vertex( exec, attr, newSize );
378 else if (newSize < exec->vtx.active_sz[attr]) {
381 vbo_get_default_vals_as_float(exec->vtx.attrtype[attr]);
386 for (i = newSize; i <= exec->vtx.attrsz[attr]; i++)
387 exec->vtx.attrptr[attr][i-1] = id[i-1];
390 exec->vtx.active_sz[attr] = newSize;
396 if (attr == 0)
405 #define ATTR( A, N, T, V0, V1, V2, V3 ) \
1401 ATTR(VBO_ATTRIB_GENERIC0 + index, 4, GL_FLOAT, x, y, z, w);