Lines Matching refs:VB
73 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx]
74 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val
120 struct vertex_buffer *VB = &tnl->vb; \
121 const GLuint * const elt = VB->Elts; \
122 const GLubyte *mask = VB->ClipMask; \
123 const GLuint sz = VB->ClipPtr->size; \
156 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() local
157 const GLuint * const elt = VB->Elts; in clip_elt_triangles()
158 GLubyte *mask = VB->ClipMask; in clip_elt_triangles()
188 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx]
189 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val
210 struct vertex_buffer *VB = &tnl->vb; \
211 const GLuint * const elt = VB->Elts; \
241 struct vertex_buffer *VB = &tnl->vb; in _tnl_RenderClippedPolygon() local
242 GLuint *tmp = VB->Elts; in _tnl_RenderClippedPolygon()
244 VB->Elts = (GLuint *)elts; in _tnl_RenderClippedPolygon()
246 VB->Elts = tmp; in _tnl_RenderClippedPolygon()
266 struct vertex_buffer *VB = &tnl->vb; in run_render() local
291 tnl->Driver.Render.BuildVertices( ctx, 0, VB->Count, ~0 ); in run_render()
293 if (VB->ClipOrMask) { in run_render()
294 tab = VB->Elts ? clip_render_tab_elts : clip_render_tab_verts; in run_render()
298 tab = (VB->Elts ? in run_render()
307 for (i = 0 ; i < VB->PrimitiveCount ; i++) in run_render()
309 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in run_render()
310 GLuint start = VB->Primitive[i].start; in run_render()
311 GLuint length = VB->Primitive[i].count; in run_render()