diff options
author | Keith Whitwell <[email protected]> | 2004-07-01 13:14:05 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-07-01 13:14:05 +0000 |
commit | 3d38361b718d490e1e7fda64519952ec887cd149 (patch) | |
tree | cb4aa9e3da58210f0ef4f4e6172b9b78892cc30a /src/mesa/drivers/windows/gldirect/dx8 | |
parent | c3c8c71846fb507b57282128d53ba9666e66fe03 (diff) |
Rename the various function types in t_context.h to include a tnl_ prefix.
Diffstat (limited to 'src/mesa/drivers/windows/gldirect/dx8')
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c | 26 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c b/src/mesa/drivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c index 871a651990a..e6e020fc7ce 100644 --- a/src/mesa/drivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c +++ b/src/mesa/drivers/windows/gldirect/dx8/gld_vb_d3d_render_dx8.c @@ -125,7 +125,7 @@ static GLboolean gld_d3d_render_stage_run( TNLcontext *tnl; struct vertex_buffer *VB; GLuint new_inputs; - render_func *tab; + tnl_render_func *tab; GLint pass; GLD_pb_dx8 *gldPB = &gld->PB3d; /* diff --git a/src/mesa/drivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c b/src/mesa/drivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c index 083b9d4910a..98adc6769ad 100644 --- a/src/mesa/drivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c +++ b/src/mesa/drivers/windows/gldirect/dx8/gld_vb_mesa_render_dx8.c @@ -1,4 +1,4 @@ -/* $Id: gld_vb_mesa_render_dx8.c,v 1.1 2004/04/20 11:13:11 alanh Exp $ */ +/* $Id: gld_vb_mesa_render_dx8.c,v 1.2 2004/07/01 13:14:07 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -143,9 +143,9 @@ do { \ const GLuint * const elt = VB->Elts; \ const GLubyte *mask = VB->ClipMask; \ const GLuint sz = VB->ClipPtr->size; \ - const line_func LineFunc = tnl->Driver.Render.Line; \ - const triangle_func TriangleFunc = tnl->Driver.Render.Triangle; \ - const quad_func QuadFunc = tnl->Driver.Render.Quad; \ + const tnl_line_func LineFunc = tnl->Driver.Render.Line; \ + const tnl_triangle_func TriangleFunc = tnl->Driver.Render.Triangle; \ + const tnl_quad_func QuadFunc = tnl->Driver.Render.Quad; \ const GLboolean stipple = ctx->Line.StippleFlag; \ (void) (LineFunc && TriangleFunc && QuadFunc); \ (void) elt; (void) mask; (void) sz; (void) stipple; @@ -175,7 +175,7 @@ static void clip_elt_triangles( GLcontext *ctx, GLuint flags ) { TNLcontext *tnl = TNL_CONTEXT(ctx); - render_func render_tris = tnl->Driver.Render.PrimTabElts[GL_TRIANGLES]; + tnl_render_func render_tris = tnl->Driver.Render.PrimTabElts[GL_TRIANGLES]; struct vertex_buffer *VB = &tnl->vb; const GLuint * const elt = VB->Elts; GLubyte *mask = VB->ClipMask; @@ -232,9 +232,9 @@ static void clip_elt_triangles( GLcontext *ctx, TNLcontext *tnl = TNL_CONTEXT(ctx); \ struct vertex_buffer *VB = &tnl->vb; \ const GLuint * const elt = VB->Elts; \ - const line_func LineFunc = tnl->Driver.Render.Line; \ - const triangle_func TriangleFunc = tnl->Driver.Render.Triangle; \ - const quad_func QuadFunc = tnl->Driver.Render.Quad; \ + const tnl_line_func LineFunc = tnl->Driver.Render.Line; \ + const tnl_triangle_func TriangleFunc = tnl->Driver.Render.Triangle; \ + const tnl_quad_func QuadFunc = tnl->Driver.Render.Quad; \ (void) (LineFunc && TriangleFunc && QuadFunc); \ (void) elt; @@ -281,25 +281,25 @@ void _tnl_RenderClippedLine( GLcontext *ctx, GLuint ii, GLuint jj ) /* Clip and render whole vertex buffers */ /**********************************************************************/ -points_func _gldSetupPoints[4] = { +tnl_points_func _gldSetupPoints[4] = { gld_Points2D_DX8, gld_Points2D_DX8, gld_Points2D_DX8, gld_Points2D_DX8 }; -line_func _gldSetupLine[4] = { +tnl_line_func _gldSetupLine[4] = { gld_Line2DFlat_DX8, gld_Line2DSmooth_DX8, gld_Line2DFlat_DX8, gld_Line2DSmooth_DX8, }; -triangle_func _gldSetupTriangle[4] = { +tnl_triangle_func _gldSetupTriangle[4] = { gld_Triangle2DFlat_DX8, gld_Triangle2DSmooth_DX8, gld_Triangle2DFlatExtras_DX8, gld_Triangle2DSmoothExtras_DX8 }; -quad_func _gldSetupQuad[4] = { +tnl_quad_func _gldSetupQuad[4] = { gld_Quad2DFlat_DX8, gld_Quad2DSmooth_DX8, gld_Quad2DFlatExtras_DX8, @@ -318,7 +318,7 @@ static GLboolean _gld_mesa_render_stage_run( TNLcontext *tnl = TNL_CONTEXT(ctx); struct vertex_buffer *VB = &tnl->vb; GLuint new_inputs = stage->changed_inputs; - render_func *tab; + tnl_render_func *tab; GLint pass = 0; GLD_pb_dx8 *gldPB; |