Lines Matching refs:VB
167 * floating point, populate VB->AttribPtr[].
176 struct vertex_buffer *VB = &tnl->vb;
227 VB->AttribPtr[attrib] = &tnl->tmp_inputs[attrib];
228 VB->AttribPtr[attrib]->data = (GLfloat (*)[4])ptr;
229 VB->AttribPtr[attrib]->start = (GLfloat *)ptr;
230 VB->AttribPtr[attrib]->count = count;
231 VB->AttribPtr[attrib]->stride = stride;
232 VB->AttribPtr[attrib]->size = input->Size;
236 VB->AttribPtr[attrib]->flags = (((1<<input->Size)-1) |
240 VB->AttribPtr[attrib]->storage = NULL;
272 struct vertex_buffer *VB = &tnl->vb;
308 VB->Count = count;
311 VB->BackfaceColorPtr = NULL;
312 VB->BackfaceIndexPtr = NULL;
313 VB->BackfaceSecondaryColorPtr = NULL;
322 VB->EdgeFlag = _tnl_import_edgeflag( ctx,
323 VB->AttribPtr[_TNL_ATTRIB_EDGEFLAG],
324 VB->Count );
328 VB->EdgeFlag = NULL;
333 /* Translate indices to GLuints and store in VB->Elts.
341 struct vertex_buffer *VB = &tnl->vb;
346 VB->Elts = NULL;
363 if (ib->type == GL_UNSIGNED_INT && VB->Primitive[0].basevertex == 0) {
364 VB->Elts = (GLuint *) ptr;
368 VB->Elts = elts;
373 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex;
378 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex;
383 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex;
393 struct vertex_buffer *VB = &tnl->vb;
395 VB->Primitive = prim;
396 VB->PrimitiveCount = nr_prims;
441 const GLint max = TEST_SPLIT ? 8 : tnl->vb.Size - MAX_CLIPPED_VERTICES;