diff options
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_aaline.c | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_aaline.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_aatriangle.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_accum.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_alpha.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_alphabuf.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_blend.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_context.c | 58 | ||||
-rw-r--r-- | src/mesa/swrast/s_context.h | 18 | ||||
-rw-r--r-- | src/mesa/swrast/s_depth.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_drawpix.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_feedback.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_fog.h | 16 | ||||
-rw-r--r-- | src/mesa/swrast/s_lines.h | 14 | ||||
-rw-r--r-- | src/mesa/swrast/s_logic.h | 14 | ||||
-rw-r--r-- | src/mesa/swrast/s_masking.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_pixeltex.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_points.h | 14 | ||||
-rw-r--r-- | src/mesa/swrast/s_span.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_stencil.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_texture.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/s_triangle.h | 16 | ||||
-rw-r--r-- | src/mesa/swrast/s_zoom.h | 12 | ||||
-rw-r--r-- | src/mesa/swrast/swrast.h | 40 |
24 files changed, 191 insertions, 191 deletions
diff --git a/src/mesa/swrast/s_aaline.c b/src/mesa/swrast/s_aaline.c index 48bb2f61094..040dc15b61b 100644 --- a/src/mesa/swrast/s_aaline.c +++ b/src/mesa/swrast/s_aaline.c @@ -1,21 +1,21 @@ -/* $Id: s_aaline.c,v 1.2 2000/11/13 20:02:57 keithw Exp $ */ +/* $Id: s_aaline.c,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -30,7 +30,7 @@ #include "swrast/s_pb.h" #include "swrast/s_context.h" #include "swrast/swrast.h" -#include "types.h" +#include "mtypes.h" diff --git a/src/mesa/swrast/s_aaline.h b/src/mesa/swrast/s_aaline.h index a39c5b525e4..1fdd1c0e0de 100644 --- a/src/mesa/swrast/s_aaline.h +++ b/src/mesa/swrast/s_aaline.h @@ -1,21 +1,21 @@ -/* $Id: s_aaline.h,v 1.1 2000/11/05 23:15:16 brianp Exp $ */ +/* $Id: s_aaline.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_AALINE_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_aatriangle.h b/src/mesa/swrast/s_aatriangle.h index d28a10d8eb4..68d393002e8 100644 --- a/src/mesa/swrast/s_aatriangle.h +++ b/src/mesa/swrast/s_aatriangle.h @@ -1,21 +1,21 @@ -/* $Id: s_aatriangle.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_aatriangle.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_AATRIANGLE_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_accum.h b/src/mesa/swrast/s_accum.h index 7ec2236ec1d..b7680e56cff 100644 --- a/src/mesa/swrast/s_accum.h +++ b/src/mesa/swrast/s_accum.h @@ -1,21 +1,21 @@ -/* $Id: s_accum.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_accum.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.1 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_ACCUM_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_alpha.h b/src/mesa/swrast/s_alpha.h index 6688a89142e..95d1788c878 100644 --- a/src/mesa/swrast/s_alpha.h +++ b/src/mesa/swrast/s_alpha.h @@ -1,21 +1,21 @@ -/* $Id: s_alpha.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_alpha.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_ALPHA_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_alphabuf.h b/src/mesa/swrast/s_alphabuf.h index b24a4b8eeb8..c7208cf4d8e 100644 --- a/src/mesa/swrast/s_alphabuf.h +++ b/src/mesa/swrast/s_alphabuf.h @@ -1,21 +1,21 @@ -/* $Id: s_alphabuf.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_alphabuf.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_ALPHABUF_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_blend.h b/src/mesa/swrast/s_blend.h index 1323ed15dcb..58407a1c5d1 100644 --- a/src/mesa/swrast/s_blend.h +++ b/src/mesa/swrast/s_blend.h @@ -1,21 +1,21 @@ -/* $Id: s_blend.h,v 1.2 2000/11/05 18:24:40 keithw Exp $ */ +/* $Id: s_blend.h,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_BLEND_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 85f9ef08919..6192adb2638 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -1,21 +1,21 @@ -/* $Id: s_context.c,v 1.5 2000/11/19 23:10:26 brianp Exp $ */ +/* $Id: s_context.c,v 1.6 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -28,7 +28,7 @@ */ #include "glheader.h" -#include "types.h" +#include "mtypes.h" #include "mem.h" #include "s_pb.h" @@ -48,7 +48,7 @@ * Recompute the value of swrast->_RasterMask, etc. according to * the current context. */ -static void +static void _swrast_update_rasterflags( GLcontext *ctx ) { GLuint RasterMask = 0; @@ -147,9 +147,9 @@ _swrast_update_polygon( GLcontext *ctx ) static void _swrast_update_hint( GLcontext *ctx ) { - SWcontext *swrast = SWRAST_CONTEXT(ctx); + SWcontext *swrast = SWRAST_CONTEXT(ctx); swrast->_PreferPixelFog = (!swrast->AllowVertexFog || - (ctx->Hint.Fog == GL_NICEST && + (ctx->Hint.Fog == GL_NICEST && swrast->AllowPixelFog)); } @@ -185,11 +185,11 @@ _swrast_update_hint( GLcontext *ctx ) -/* Stub for swrast->Triangle to select a true triangle function +/* Stub for swrast->Triangle to select a true triangle function * after a state change. */ static void -_swrast_validate_quad( GLcontext *ctx, +_swrast_validate_quad( GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2, const SWvertex *v3 ) { @@ -202,7 +202,7 @@ _swrast_validate_quad( GLcontext *ctx, } static void -_swrast_validate_triangle( GLcontext *ctx, +_swrast_validate_triangle( GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2 ) @@ -237,10 +237,10 @@ _swrast_validate_point( GLcontext *ctx, const SWvertex *v0 ) swrast->Point( ctx, v0 ); } -static void +static void _swrast_validate_blend_func( GLcontext *ctx, GLuint n, const GLubyte mask[], - GLchan src[][4], + GLchan src[][4], CONST GLchan dst[][4] ) { SWcontext *swrast = SWRAST_CONTEXT(ctx); @@ -252,7 +252,7 @@ _swrast_validate_blend_func( GLcontext *ctx, GLuint n, } -static void +static void _swrast_validate_texture_sample( GLcontext *ctx, GLuint texUnit, const struct gl_texture_object *tObj, GLuint n, @@ -265,7 +265,7 @@ _swrast_validate_texture_sample( GLcontext *ctx, GLuint texUnit, _swrast_validate_derived( ctx ); _swrast_choose_texture_sample_func( ctx, texUnit, tObj ); - swrast->TextureSample[texUnit]( ctx, texUnit, tObj, n, s, t, u, + swrast->TextureSample[texUnit]( ctx, texUnit, tObj, n, s, t, u, lambda, rgba ); } @@ -285,14 +285,14 @@ _swrast_invalidate_state( GLcontext *ctx, GLuint new_state ) swrast->NewState |= new_state; /* After 10 statechanges without any swrast functions being called, - * put the module to sleep. + * put the module to sleep. */ if (++swrast->StateChanges > 10) { swrast->InvalidateState = _swrast_sleep; swrast->NewState = ~0; new_state = ~0; } - + if (new_state & swrast->invalidate_triangle) swrast->Triangle = _swrast_validate_triangle; @@ -307,8 +307,8 @@ _swrast_invalidate_state( GLcontext *ctx, GLuint new_state ) if (new_state & _SWRAST_NEW_BLEND_FUNC) swrast->BlendFunc = _swrast_validate_blend_func; - - if (new_state & _SWRAST_NEW_TEXTURE_SAMPLE_FUNC) + + if (new_state & _SWRAST_NEW_TEXTURE_SAMPLE_FUNC) for (i = 0 ; i < MAX_TEXTURE_UNITS ; i++) swrast->TextureSample[i] = _swrast_validate_texture_sample; } @@ -320,13 +320,13 @@ _swrast_validate_derived( GLcontext *ctx ) { SWcontext *swrast = SWRAST_CONTEXT(ctx); - if (swrast->NewState) + if (swrast->NewState) { - if (swrast->NewState & _SWRAST_NEW_RASTERMASK) + if (swrast->NewState & _SWRAST_NEW_RASTERMASK) _swrast_update_rasterflags( ctx ); if (swrast->NewState & _NEW_TEXTURE) - swrast->_MultiTextureEnabled = (ctx->Texture._ReallyEnabled & + swrast->_MultiTextureEnabled = (ctx->Texture._ReallyEnabled & ~ENABLE_TEX0); if (swrast->NewState & _NEW_POLYGON) @@ -346,7 +346,7 @@ _swrast_validate_derived( GLcontext *ctx ) /* Public entrypoints: See also s_accum.c, s_bitmap.c, etc. */ void -_swrast_Quad( GLcontext *ctx, +_swrast_Quad( GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2, const SWvertex *v3 ) { @@ -385,14 +385,14 @@ _swrast_get_stipple_counter_ref( GLcontext *ctx ) return &SWRAST_CONTEXT(ctx)->StippleCounter; } -void +void _swrast_allow_vertex_fog( GLcontext *ctx, GLboolean value ) { SWRAST_CONTEXT(ctx)->InvalidateState( ctx, _NEW_HINT ); SWRAST_CONTEXT(ctx)->AllowVertexFog = value; } -void +void _swrast_allow_pixel_fog( GLcontext *ctx, GLboolean value ) { SWRAST_CONTEXT(ctx)->InvalidateState( ctx, _NEW_HINT ); @@ -415,7 +415,7 @@ _swrast_CreateContext( GLcontext *ctx ) } swrast->NewState = ~0; - + swrast->choose_point = _swrast_choose_point; swrast->choose_line = _swrast_choose_line; swrast->choose_triangle = _swrast_choose_triangle; @@ -443,7 +443,7 @@ _swrast_CreateContext( GLcontext *ctx ) for (i = 0 ; i < MAX_TEXTURE_UNITS ; i++) swrast->TextureSample[i] = _swrast_validate_texture_sample; - + ctx->swrast_context = swrast; return GL_TRUE; } @@ -455,7 +455,7 @@ _swrast_DestroyContext( GLcontext *ctx ) FREE( swrast->PB ); FREE( swrast ); - + ctx->swrast_context = 0; } diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 7def2e9c5c9..86b71ecc459 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -1,19 +1,19 @@ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -28,7 +28,7 @@ #ifndef S_CONTEXT_H #define S_CONTEXT_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" /* @@ -103,7 +103,7 @@ typedef void (*swrast_quad_func)( GLcontext *ctx, typedef struct { /* Configuration mechanisms to make software rasterizer match - * characteristics of the hardware rasterizer (if present): + * characteristics of the hardware rasterizer (if present): */ GLboolean AllowVertexFog; GLboolean AllowPixelFog; @@ -117,19 +117,19 @@ typedef struct GLfloat _backface_sign; GLboolean _PreferPixelFog; - /* Accum buffer temporaries. + /* Accum buffer temporaries. */ GLboolean _IntegerAccumMode; /* Storing unscaled integers? */ GLfloat _IntegerAccumScaler; /* Implicit scale factor */ - + /* Working values: */ struct pixel_buffer* PB; GLuint StippleCounter; /* Line stipple counter */ GLuint NewState; GLuint StateChanges; - + /* Mechanism to allow driver (like X11) to register further * software rasterization routines. */ diff --git a/src/mesa/swrast/s_depth.h b/src/mesa/swrast/s_depth.h index e5de2189b76..e44b98eee5e 100644 --- a/src/mesa/swrast/s_depth.h +++ b/src/mesa/swrast/s_depth.h @@ -1,21 +1,21 @@ -/* $Id: s_depth.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_depth.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_DEPTH_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_drawpix.h b/src/mesa/swrast/s_drawpix.h index 1edac140974..7debca81dac 100644 --- a/src/mesa/swrast/s_drawpix.h +++ b/src/mesa/swrast/s_drawpix.h @@ -1,21 +1,21 @@ -/* $Id: s_drawpix.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_drawpix.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_DRAWPIXELS_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_feedback.h b/src/mesa/swrast/s_feedback.h index 4cd700b908a..b0a1d04ee63 100644 --- a/src/mesa/swrast/s_feedback.h +++ b/src/mesa/swrast/s_feedback.h @@ -1,21 +1,21 @@ -/* $Id: s_feedback.h,v 1.2 2000/11/19 23:10:26 brianp Exp $ */ +/* $Id: s_feedback.h,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_FEEDBACK_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h index e550412ece9..864ad7af968 100644 --- a/src/mesa/swrast/s_fog.h +++ b/src/mesa/swrast/s_fog.h @@ -1,21 +1,21 @@ -/* $Id: s_fog.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_fog.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_FOG_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" @@ -46,8 +46,8 @@ _mesa_fog_ci_pixels( const GLcontext *ctx, extern void _mesa_win_fog_coords_from_z( const GLcontext *ctx, - GLuint n, - const GLdepth z[], + GLuint n, + const GLdepth z[], GLfixed fogcoord[] ); extern void diff --git a/src/mesa/swrast/s_lines.h b/src/mesa/swrast/s_lines.h index 63edb3452ab..ea660f69f05 100644 --- a/src/mesa/swrast/s_lines.h +++ b/src/mesa/swrast/s_lines.h @@ -1,21 +1,21 @@ -/* $Id: s_lines.h,v 1.2 2000/11/19 23:10:26 brianp Exp $ */ +/* $Id: s_lines.h,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -28,9 +28,9 @@ #ifndef S_LINES_H #define S_LINES_H -#include "types.h" +#include "mtypes.h" -void +void _swrast_choose_line( GLcontext *ctx ); diff --git a/src/mesa/swrast/s_logic.h b/src/mesa/swrast/s_logic.h index d1b8739cbbf..b6a339a0adb 100644 --- a/src/mesa/swrast/s_logic.h +++ b/src/mesa/swrast/s_logic.h @@ -1,21 +1,21 @@ -/* $Id: s_logic.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_logic.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,11 +29,11 @@ #define S_LOGIC_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" -extern void +extern void _mesa_logicop_ci_span( GLcontext *ctx, GLuint n, GLint x, GLint y, GLuint index[], const GLubyte mask[] ); diff --git a/src/mesa/swrast/s_masking.h b/src/mesa/swrast/s_masking.h index 3f25461ddcc..dcd35c27e59 100644 --- a/src/mesa/swrast/s_masking.h +++ b/src/mesa/swrast/s_masking.h @@ -1,21 +1,21 @@ -/* $Id: s_masking.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_masking.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_MASKING_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_pixeltex.h b/src/mesa/swrast/s_pixeltex.h index 50946423e2e..a677c173012 100644 --- a/src/mesa/swrast/s_pixeltex.h +++ b/src/mesa/swrast/s_pixeltex.h @@ -1,21 +1,21 @@ -/* $Id: s_pixeltex.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_pixeltex.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright noti_mesa_PixelTexGenParameterfvce and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -28,7 +28,7 @@ #ifndef S_PIXELTEX_H #define S_PIXELTEX_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" extern void diff --git a/src/mesa/swrast/s_points.h b/src/mesa/swrast/s_points.h index 9c24b1a3b99..ead900f0165 100644 --- a/src/mesa/swrast/s_points.h +++ b/src/mesa/swrast/s_points.h @@ -1,21 +1,21 @@ -/* $Id: s_points.h,v 1.2 2000/11/19 23:10:26 brianp Exp $ */ +/* $Id: s_points.h,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -28,9 +28,9 @@ #ifndef S_POINTS_H #define S_POINTS_H -#include "types.h" +#include "mtypes.h" -void +void _swrast_choose_point( GLcontext *ctx ); diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h index 61411b9f98c..eb866d66ff6 100644 --- a/src/mesa/swrast/s_span.h +++ b/src/mesa/swrast/s_span.h @@ -1,21 +1,21 @@ -/* $Id: s_span.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_span.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -32,7 +32,7 @@ #define S_SPAN_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_stencil.h b/src/mesa/swrast/s_stencil.h index 80e6a67213c..a1ef81b61a1 100644 --- a/src/mesa/swrast/s_stencil.h +++ b/src/mesa/swrast/s_stencil.h @@ -1,21 +1,21 @@ -/* $Id: s_stencil.h,v 1.1 2000/10/31 18:00:04 keithw Exp $ */ +/* $Id: s_stencil.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_STENCIL_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_texture.h b/src/mesa/swrast/s_texture.h index f22f08a1e61..edb19691e71 100644 --- a/src/mesa/swrast/s_texture.h +++ b/src/mesa/swrast/s_texture.h @@ -1,21 +1,21 @@ -/* $Id: s_texture.h,v 1.2 2000/11/05 18:24:41 keithw Exp $ */ +/* $Id: s_texture.h,v 1.3 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -32,7 +32,7 @@ #define S_TEXTURE_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" diff --git a/src/mesa/swrast/s_triangle.h b/src/mesa/swrast/s_triangle.h index d08fc9177ff..c0064e8d46e 100644 --- a/src/mesa/swrast/s_triangle.h +++ b/src/mesa/swrast/s_triangle.h @@ -1,21 +1,21 @@ -/* $Id: s_triangle.h,v 1.3 2000/11/19 23:10:26 brianp Exp $ */ +/* $Id: s_triangle.h,v 1.4 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.1 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -32,17 +32,17 @@ #define S_TRIANGLES_H -#include "types.h" +#include "mtypes.h" #include "swrast.h" -GLboolean gl_cull_triangle( GLcontext *ctx, +GLboolean gl_cull_triangle( GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2); -void +void _swrast_choose_triangle( GLcontext *ctx ); diff --git a/src/mesa/swrast/s_zoom.h b/src/mesa/swrast/s_zoom.h index 55a8ffb21e5..07872c5b61b 100644 --- a/src/mesa/swrast/s_zoom.h +++ b/src/mesa/swrast/s_zoom.h @@ -1,21 +1,21 @@ -/* $Id: s_zoom.h,v 1.1 2000/10/31 18:00:05 keithw Exp $ */ +/* $Id: s_zoom.h,v 1.2 2000/11/22 07:32:18 joukj Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -29,7 +29,7 @@ #define S_ZOOM_H -#include "types.h" +#include "mtypes.h" extern void diff --git a/src/mesa/swrast/swrast.h b/src/mesa/swrast/swrast.h index 654199ef24d..d2eefbebd9f 100644 --- a/src/mesa/swrast/swrast.h +++ b/src/mesa/swrast/swrast.h @@ -1,19 +1,19 @@ /* * Mesa 3-D graphics library * Version: 3.5 - * + * * Copyright (C) 1999 Brian Paul All Rights Reserved. - * + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -28,7 +28,7 @@ #ifndef SWRAST_H #define SWRAST_H -#include "types.h" +#include "mtypes.h" @@ -40,10 +40,10 @@ * drivers. * * Full software drivers: - * - Register the rastersetup and triangle functions from + * - Register the rastersetup and triangle functions from * utils/software_helper. * - On statechange, update the rasterization pointers in that module. - * + * * Rasterization hardware drivers: * - Keep native rastersetup. * - Implement native twoside,offset and unfilled triangle setup. @@ -52,7 +52,7 @@ * prims), call a pass-through function which translates native * vertices to SWvertices and calls the appropriate swrast function. * - On total fallback (vertex format insufficient for state or all - * primitives unaccelerated), hook in swrast_setup instead. + * primitives unaccelerated), hook in swrast_setup instead. */ typedef struct { GLfloat win[4]; @@ -67,7 +67,7 @@ typedef struct { -/* These are the public-access functions exported from swrast. +/* These are the public-access functions exported from swrast. */ extern void _swrast_alloc_buffers( GLcontext *ctx ); @@ -80,25 +80,25 @@ _swrast_DestroyContext( GLcontext *ctx ); -extern void -_swrast_Bitmap( GLcontext *ctx, +extern void +_swrast_Bitmap( GLcontext *ctx, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap ); extern void -_swrast_CopyPixels( GLcontext *ctx, - GLint srcx, GLint srcy, - GLint destx, GLint desty, +_swrast_CopyPixels( GLcontext *ctx, + GLint srcx, GLint srcy, + GLint destx, GLint desty, GLsizei width, GLsizei height, GLenum type ); extern void -_swrast_DrawPixels( GLcontext *ctx, +_swrast_DrawPixels( GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, - GLenum format, GLenum type, + GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels ); @@ -109,13 +109,13 @@ _swrast_ReadPixels( GLcontext *ctx, const struct gl_pixelstore_attrib *unpack, GLvoid *pixels ); -extern void +extern void _swrast_Clear( GLcontext *ctx, GLbitfield mask, GLboolean all, GLint x, GLint y, GLint width, GLint height ); extern void -_swrast_Accum( GLcontext *ctx, GLenum op, - GLfloat value, GLint xpos, GLint ypos, +_swrast_Accum( GLcontext *ctx, GLenum op, + GLfloat value, GLint xpos, GLint ypos, GLint width, GLint height ); @@ -143,7 +143,7 @@ _swrast_Quad( GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2, const SWvertex *v3); -extern void +extern void _swrast_flush( GLcontext *ctx ); |