Home | History | Annotate | Download | only in tnl

Lines Matching refs:VB

1016    struct vertex_buffer *VB = &tnl->vb;
1027 const GLfloat *dstclip = VB->ClipPtr->data[edst];
1041 a[0].insert[4-1]( &a[0], vdst, VB->ClipPtr->data[edst] );
1090 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
1092 /* If stride is zero, BackfaceColorPtr is constant across the VB, so
1097 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) {
1098 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat));
1101 VB->BackfaceColorPtr->data[dst],
1102 VB->BackfaceColorPtr->data[out],
1103 VB->BackfaceColorPtr->data[in] );
1106 if (VB->BackfaceSecondaryColorPtr) {
1107 assert(VB->BackfaceSecondaryColorPtr->stride == 4 * sizeof(GLfloat));
1110 VB->BackfaceSecondaryColorPtr->data[dst],
1111 VB->BackfaceSecondaryColorPtr->data[out],
1112 VB->BackfaceSecondaryColorPtr->data[in] );
1115 if (VB->BackfaceIndexPtr) {
1116 VB->BackfaceIndexPtr->data[dst][0] = LINTERP( t,
1117 VB->BackfaceIndexPtr->data[out][0],
1118 VB->BackfaceIndexPtr->data[in][0] );
1121 if (VB->EdgeFlag) {
1122 VB->EdgeFlag[dst] = VB->EdgeFlag[out] || force_boundary;
1131 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
1135 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) {
1136 COPY_4FV( VB->BackfaceColorPtr->data[dst],
1137 VB->BackfaceColorPtr->data[src] );
1140 if (VB->BackfaceSecondaryColorPtr) {
1141 COPY_4FV( VB->BackfaceSecondaryColorPtr->data[dst],
1142 VB->BackfaceSecondaryColorPtr->data[src] );
1145 if (VB->BackfaceIndexPtr) {
1146 VB->BackfaceIndexPtr->data[dst][0] = VB->BackfaceIndexPtr->data[src][0];