Lines Matching refs:VB
186 struct vertex_buffer *VB = &tnl->vb; in _tnl_import_array() local
236 VB->AttribPtr[attr] = &tnl->tmp_inputs[attr]; in _tnl_import_array()
237 VB->AttribPtr[attr]->data = (GLfloat (*)[4])ptr; in _tnl_import_array()
238 VB->AttribPtr[attr]->start = (GLfloat *)ptr; in _tnl_import_array()
239 VB->AttribPtr[attr]->count = count; in _tnl_import_array()
240 VB->AttribPtr[attr]->stride = stride; in _tnl_import_array()
241 VB->AttribPtr[attr]->size = attrib->Format.Size; in _tnl_import_array()
245 VB->AttribPtr[attr]->flags = (((1<<attrib->Format.Size)-1) | in _tnl_import_array()
249 VB->AttribPtr[attr]->storage = NULL; in _tnl_import_array()
280 struct vertex_buffer *VB = &tnl->vb; in bind_inputs() local
318 VB->Count = count; in bind_inputs()
321 VB->BackfaceColorPtr = NULL; in bind_inputs()
322 VB->BackfaceIndexPtr = NULL; in bind_inputs()
323 VB->BackfaceSecondaryColorPtr = NULL; in bind_inputs()
331 VB->EdgeFlag = _tnl_import_edgeflag(ctx, in bind_inputs()
332 VB->AttribPtr[_TNL_ATTRIB_EDGEFLAG], in bind_inputs()
333 VB->Count); in bind_inputs()
336 VB->EdgeFlag = NULL; in bind_inputs()
349 struct vertex_buffer *VB = &tnl->vb; in bind_indices() local
354 VB->Elts = NULL; in bind_indices()
375 if (ib->index_size_shift == 2 && VB->Primitive[0].basevertex == 0) { in bind_indices()
376 VB->Elts = (GLuint *) ptr; in bind_indices()
380 VB->Elts = elts; 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()
395 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices()
405 struct vertex_buffer *VB = &tnl->vb; in bind_prims() local
407 VB->Primitive = prim; in bind_prims()
408 VB->PrimitiveCount = nr_prims; in bind_prims()