diff options
author | Brian Paul <[email protected]> | 2002-10-24 23:57:19 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-24 23:57:19 +0000 |
commit | 3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 (patch) | |
tree | 87cc7c71b05da7a19f914368ded66e7bb8c00e8e /src/mesa/swrast | |
parent | d0add7cf1a6b99cafd25e23fe2fc9d0b6657079a (diff) |
Header file clean-up:
1. Remove all.h and PC_HEADER junk.
2. Rolled mem.c and mem.h into imports.c and imports.h
3. Include imports.h instead of mem.h
Restore _mesa_create/initialize_context() to be like they were in 4.0.4
New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_aatriangle.c | 5 | ||||
-rw-r--r-- | src/mesa/swrast/s_accum.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_alphabuf.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_buffers.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_context.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_copypix.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_depth.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_logic.c | 3 | ||||
-rw-r--r-- | src/mesa/swrast/s_pixeltex.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_readpix.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_span.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_stencil.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_texstore.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_texture.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 4 | ||||
-rw-r--r-- | src/mesa/swrast/s_zoom.c | 4 |
17 files changed, 35 insertions, 33 deletions
diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c index ddcef4cd57d..6c304fd90f4 100644 --- a/src/mesa/swrast/s_aatriangle.c +++ b/src/mesa/swrast/s_aatriangle.c @@ -1,4 +1,4 @@ -/* $Id: s_aatriangle.c,v 1.25 2002/10/18 17:02:01 kschultz Exp $ */ +/* $Id: s_aatriangle.c,v 1.26 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -30,8 +30,9 @@ */ +#include "glheader.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "mmath.h" #include "s_aatriangle.h" #include "s_context.h" diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c index 0159304c172..18f82eb0152 100644 --- a/src/mesa/swrast/s_accum.c +++ b/src/mesa/swrast/s_accum.c @@ -1,4 +1,4 @@ -/* $Id: s_accum.c,v 1.18 2002/07/09 01:22:52 brianp Exp $ */ +/* $Id: s_accum.c,v 1.19 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -29,7 +29,7 @@ #include "context.h" #include "macros.h" #include "mmath.h" -#include "mem.h" +#include "imports.h" #include "s_accum.h" #include "s_alphabuf.h" diff --git a/src/mesa/swrast/s_alphabuf.c b/src/mesa/swrast/s_alphabuf.c index d68e6bf82b2..b5a2e315132 100644 --- a/src/mesa/swrast/s_alphabuf.c +++ b/src/mesa/swrast/s_alphabuf.c @@ -1,4 +1,4 @@ -/* $Id: s_alphabuf.c,v 1.14 2002/10/18 17:02:01 kschultz Exp $ */ +/* $Id: s_alphabuf.c,v 1.15 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -33,7 +33,7 @@ #include "glheader.h" #include "context.h" -#include "mem.h" +#include "imports.h" #include "s_context.h" #include "s_alphabuf.h" diff --git a/src/mesa/swrast/s_buffers.c b/src/mesa/swrast/s_buffers.c index 102d53ac7fa..81f8cd1029b 100644 --- a/src/mesa/swrast/s_buffers.c +++ b/src/mesa/swrast/s_buffers.c @@ -1,4 +1,4 @@ -/* $Id: s_buffers.c,v 1.14 2002/10/11 17:41:06 brianp Exp $ */ +/* $Id: s_buffers.c,v 1.15 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -28,7 +28,7 @@ #include "glheader.h" #include "colormac.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "s_accum.h" #include "s_alphabuf.h" diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 5299bf85497..ea34a9c28b2 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -1,4 +1,4 @@ -/* $Id: s_context.c,v 1.40 2002/10/11 17:50:59 brianp Exp $ */ +/* $Id: s_context.c,v 1.41 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -30,7 +30,7 @@ #include "glheader.h" #include "context.h" #include "mtypes.h" -#include "mem.h" +#include "imports.h" #include "swrast.h" #include "s_blend.h" diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index 58ef3a49cc8..fcab45fe186 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_copypix.c @@ -1,4 +1,4 @@ -/* $Id: s_copypix.c,v 1.40 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_copypix.c,v 1.41 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -31,7 +31,7 @@ #include "convolve.h" #include "feedback.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "mmath.h" #include "pixel.h" diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index e7517b1e9ed..4d36d1c6ea7 100644 --- a/src/mesa/swrast/s_depth.c +++ b/src/mesa/swrast/s_depth.c @@ -1,4 +1,4 @@ -/* $Id: s_depth.c,v 1.23 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_depth.c,v 1.24 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -28,7 +28,7 @@ #include "glheader.h" #include "context.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "s_depth.h" #include "s_context.h" diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 1a681f85610..32ac9ed48c4 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -1,4 +1,4 @@ -/* $Id: s_drawpix.c,v 1.37 2002/10/08 23:59:34 brianp Exp $ */ +/* $Id: s_drawpix.c,v 1.38 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -31,7 +31,7 @@ #include "convolve.h" #include "image.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "mmath.h" #include "pixel.h" diff --git a/src/mesa/swrast/s_logic.c b/src/mesa/swrast/s_logic.c index 083c3c4402e..277ace6fa60 100644 --- a/src/mesa/swrast/s_logic.c +++ b/src/mesa/swrast/s_logic.c @@ -1,4 +1,4 @@ -/* $Id: s_logic.c,v 1.11 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_logic.c,v 1.12 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -27,6 +27,7 @@ #include "glheader.h" #include "context.h" +#include "imports.h" #include "macros.h" #include "s_alphabuf.h" diff --git a/src/mesa/swrast/s_pixeltex.c b/src/mesa/swrast/s_pixeltex.c index 687dfe307ac..1ddfae14b77 100644 --- a/src/mesa/swrast/s_pixeltex.c +++ b/src/mesa/swrast/s_pixeltex.c @@ -1,4 +1,4 @@ -/* $Id: s_pixeltex.c,v 1.10 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_pixeltex.c,v 1.11 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -35,7 +35,7 @@ #include "glheader.h" #include "colormac.h" -#include "mem.h" +#include "imports.h" #include "s_context.h" #include "s_pixeltex.h" diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index 562d8718463..5375cb922d9 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -1,4 +1,4 @@ -/* $Id: s_readpix.c,v 1.16 2002/09/21 17:34:56 brianp Exp $ */ +/* $Id: s_readpix.c,v 1.17 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -32,7 +32,7 @@ #include "feedback.h" #include "image.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "pixel.h" #include "s_alphabuf.h" diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 2628a7af3e0..a1e26efdbc6 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1,4 +1,4 @@ -/* $Id: s_span.c,v 1.49 2002/10/11 17:41:06 brianp Exp $ */ +/* $Id: s_span.c,v 1.50 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -37,7 +37,7 @@ #include "context.h" #include "macros.h" #include "mmath.h" -#include "mem.h" +#include "imports.h" #include "s_alpha.h" #include "s_alphabuf.h" diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c index 90ff06c951d..94ebe873975 100644 --- a/src/mesa/swrast/s_stencil.c +++ b/src/mesa/swrast/s_stencil.c @@ -1,4 +1,4 @@ -/* $Id: s_stencil.c,v 1.27 2002/10/02 23:24:04 brianp Exp $ */ +/* $Id: s_stencil.c,v 1.28 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -28,7 +28,7 @@ #include "glheader.h" #include "context.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "s_context.h" #include "s_depth.h" diff --git a/src/mesa/swrast/s_texstore.c b/src/mesa/swrast/s_texstore.c index 92912209361..ed8c3f9d32d 100644 --- a/src/mesa/swrast/s_texstore.c +++ b/src/mesa/swrast/s_texstore.c @@ -1,4 +1,4 @@ -/* $Id: s_texstore.c,v 1.8 2002/09/27 02:45:39 brianp Exp $ */ +/* $Id: s_texstore.c,v 1.9 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -42,8 +42,8 @@ #include "context.h" #include "convolve.h" #include "image.h" +#include "imports.h" #include "macros.h" -#include "mem.h" #include "texformat.h" #include "teximage.h" #include "texstore.h" diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index 6929a3cf3ab..06ca19d0a23 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -1,4 +1,4 @@ -/* $Id: s_texture.c,v 1.72 2002/10/21 15:52:35 brianp Exp $ */ +/* $Id: s_texture.c,v 1.73 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -30,7 +30,7 @@ #include "colormac.h" #include "macros.h" #include "mmath.h" -#include "mem.h" +#include "imports.h" #include "texformat.h" #include "teximage.h" diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index a26f7319c5d..8c340c0b0dd 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1,4 +1,4 @@ -/* $Id: s_triangle.c,v 1.62 2002/09/23 16:37:15 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.63 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -34,8 +34,8 @@ #include "glheader.h" #include "context.h" #include "colormac.h" +#include "imports.h" #include "macros.h" -#include "mem.h" #include "mmath.h" #include "texformat.h" #include "teximage.h" diff --git a/src/mesa/swrast/s_zoom.c b/src/mesa/swrast/s_zoom.c index f96a3f5c297..75ea75bd081 100644 --- a/src/mesa/swrast/s_zoom.c +++ b/src/mesa/swrast/s_zoom.c @@ -1,4 +1,4 @@ -/* $Id: s_zoom.c,v 1.17 2002/08/07 00:45:07 brianp Exp $ */ +/* $Id: s_zoom.c,v 1.18 2002/10/24 23:57:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -26,7 +26,7 @@ #include "glheader.h" #include "macros.h" -#include "mem.h" +#include "imports.h" #include "colormac.h" #include "s_context.h" |