Lines Matching refs:VB
43 * VB is the vertex buffer
48 struct vertex_buffer *VB,
59 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride;
60 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
69 const GLuint nr = VB->Count;
75 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0];
76 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0];
80 VB->BackfaceColorPtr = &store->LitColor[1];
81 VB->BackfaceSecondaryColorPtr = &store->LitSecondary[1];
230 struct vertex_buffer *VB,
242 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride;
243 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
250 const GLuint nr = VB->Count;
256 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0];
260 VB->BackfaceColorPtr = &store->LitColor[1];
411 struct vertex_buffer *VB,
417 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride;
418 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
427 const GLuint nr = VB->Count;
429 const GLuint nr = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count;
438 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0];
440 VB->BackfaceColorPtr = &store->LitColor[1];
516 struct vertex_buffer *VB,
522 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride;
523 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data;
530 const GLuint nr = VB->Count;
532 const GLuint nr = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count;
545 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0];
547 VB->BackfaceColorPtr = &store->LitColor[1];