Lines Matching refs:VB
75 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx]
76 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val
122 struct vertex_buffer *VB = &tnl->vb; \
123 const GLuint * const elt = VB->Elts; \
124 const GLubyte *mask = VB->ClipMask; \
125 const GLuint sz = VB->ClipPtr->size; \
158 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() local
159 const GLuint * const elt = VB->Elts; in clip_elt_triangles()
160 GLubyte *mask = VB->ClipMask; in clip_elt_triangles()
190 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx]
191 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val
212 struct vertex_buffer *VB = &tnl->vb; \
213 const GLuint * const elt = VB->Elts; \
243 struct vertex_buffer *VB = &tnl->vb; in _tnl_RenderClippedPolygon() local
244 GLuint *tmp = VB->Elts; in _tnl_RenderClippedPolygon()
246 VB->Elts = (GLuint *)elts; in _tnl_RenderClippedPolygon()
248 VB->Elts = tmp; in _tnl_RenderClippedPolygon()
268 struct vertex_buffer *VB = &tnl->vb; in run_render() local
293 tnl->Driver.Render.BuildVertices( ctx, 0, VB->Count, ~0 ); in run_render()
295 if (VB->ClipOrMask) { in run_render()
296 tab = VB->Elts ? clip_render_tab_elts : clip_render_tab_verts; in run_render()
300 tab = (VB->Elts ? in run_render()
309 for (i = 0 ; i < VB->PrimitiveCount ; i++) in run_render()
311 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in run_render()
312 GLuint start = VB->Primitive[i].start; in run_render()
313 GLuint length = VB->Primitive[i].count; in run_render()