Lines Matching refs:VB

180    struct vertex_buffer *VB = &tnl->vb;  in _tnl_import_array()  local
231 VB->AttribPtr[attrib] = &tnl->tmp_inputs[attrib]; in _tnl_import_array()
232 VB->AttribPtr[attrib]->data = (GLfloat (*)[4])ptr; in _tnl_import_array()
233 VB->AttribPtr[attrib]->start = (GLfloat *)ptr; in _tnl_import_array()
234 VB->AttribPtr[attrib]->count = count; in _tnl_import_array()
235 VB->AttribPtr[attrib]->stride = stride; in _tnl_import_array()
236 VB->AttribPtr[attrib]->size = input->Size; in _tnl_import_array()
240 VB->AttribPtr[attrib]->flags = (((1<<input->Size)-1) | in _tnl_import_array()
244 VB->AttribPtr[attrib]->storage = NULL; in _tnl_import_array()
276 struct vertex_buffer *VB = &tnl->vb; in bind_inputs() local
313 VB->Count = count; in bind_inputs()
316 VB->BackfaceColorPtr = NULL; in bind_inputs()
317 VB->BackfaceIndexPtr = NULL; in bind_inputs()
318 VB->BackfaceSecondaryColorPtr = NULL; in bind_inputs()
327 VB->EdgeFlag = _tnl_import_edgeflag( ctx, in bind_inputs()
328 VB->AttribPtr[_TNL_ATTRIB_EDGEFLAG], in bind_inputs()
329 VB->Count ); in bind_inputs()
333 VB->EdgeFlag = NULL; in bind_inputs()
346 struct vertex_buffer *VB = &tnl->vb; in bind_indices() local
351 VB->Elts = NULL; in bind_indices()
370 if (ib->index_size == 4 && VB->Primitive[0].basevertex == 0) { in bind_indices()
371 VB->Elts = (GLuint *) ptr; in bind_indices()
375 VB->Elts = elts; in bind_indices()
380 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices()
385 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices()
390 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices()
400 struct vertex_buffer *VB = &tnl->vb; in bind_prims() local
402 VB->Primitive = prim; in bind_prims()
403 VB->PrimitiveCount = nr_prims; in bind_prims()