diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-07-01 13:14:05 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-07-01 13:14:05 +0000 |
commit | 3d38361b718d490e1e7fda64519952ec887cd149 (patch) | |
tree | cb4aa9e3da58210f0ef4f4e6172b9b78892cc30a /src/mesa/drivers/windows/gldirect/dx9 | |
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/dx9')
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c | 26 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c b/src/mesa/drivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c index 30650d6f9a..f19f2a5eaa 100644 --- a/src/mesa/drivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.c +++ b/src/mesa/drivers/windows/gldirect/dx9/gld_vb_d3d_render_dx9.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_dx9 *gldPB = &gld->PB3d; /* diff --git a/src/mesa/drivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c b/src/mesa/drivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c index 10e994c3c8..b55a417d7b 100644 --- a/src/mesa/drivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c +++ b/src/mesa/drivers/windows/gldirect/dx9/gld_vb_mesa_render_dx9.c @@ -1,4 +1,4 @@ -/* $Id: gld_vb_mesa_render_dx9.c,v 1.1 2004/04/20 11:13:11 alanh Exp $ */ +/* $Id: gld_vb_mesa_render_dx9.c,v 1.2 2004/07/01 13:14:07 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -138,9 +138,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; @@ -170,7 +170,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; @@ -227,9 +227,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; @@ -276,25 +276,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_DX9, gld_Points2D_DX9, gld_Points2D_DX9, gld_Points2D_DX9 }; -line_func _gldSetupLine[4] = { +tnl_line_func _gldSetupLine[4] = { gld_Line2DFlat_DX9, gld_Line2DSmooth_DX9, gld_Line2DFlat_DX9, gld_Line2DSmooth_DX9, }; -triangle_func _gldSetupTriangle[4] = { +tnl_triangle_func _gldSetupTriangle[4] = { gld_Triangle2DFlat_DX9, gld_Triangle2DSmooth_DX9, gld_Triangle2DFlatExtras_DX9, gld_Triangle2DSmoothExtras_DX9 }; -quad_func _gldSetupQuad[4] = { +tnl_quad_func _gldSetupQuad[4] = { gld_Quad2DFlat_DX9, gld_Quad2DSmooth_DX9, gld_Quad2DFlatExtras_DX9, @@ -313,7 +313,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_dx9 *gldPB; |