mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
Remove most of the math module
This commit is contained in:
parent
360bec8a6f
commit
a1fd12ab84
6 changed files with 18 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.1.2.27 2003/03/05 13:16:20 keithw Exp $
|
||||
# $Id: Makefile,v 1.1.2.28 2003/03/05 14:22:28 keithw Exp $
|
||||
|
||||
# Mesa 3-D graphics library
|
||||
# Version: 5.0
|
||||
|
|
@ -48,7 +48,7 @@ FULL_MESA = $(MESABUILDDIR)/swrast_setup/swrast_setup.a \
|
|||
$(MESABUILDDIR)/math/math.a #kludge
|
||||
|
||||
SUBSET_MESA = $(MESABUILDDIR)/mesa.a \
|
||||
$(MESABUILDDIR)/math/math.a
|
||||
$(MESABUILDDIR)/math/m_matrix.o
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: context.c,v 1.188.2.1.2.5 2003/03/04 17:23:34 keithw Exp $ */
|
||||
/* $Id: context.c,v 1.188.2.1.2.6 2003/03/05 14:22:21 keithw Exp $ */
|
||||
|
||||
/**
|
||||
* \mainpage Mesa Core Module
|
||||
|
|
@ -632,7 +632,9 @@ one_time_init( GLcontext *ctx )
|
|||
|
||||
_mesa_init_lists();
|
||||
|
||||
#if _HAVE_FULL_GL
|
||||
_math_init();
|
||||
#endif
|
||||
_mesa_init_math();
|
||||
|
||||
#ifdef USE_SPARC_ASM
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: enable.c,v 1.71 2002/10/24 23:57:20 brianp Exp $ */
|
||||
/* $Id: enable.c,v 1.71.4.1 2003/03/05 14:22:23 keithw Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -200,6 +200,7 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
|
|||
ctx->Color.ColorLogicOpEnabled =
|
||||
(ctx->Color.BlendEquation == GL_LOGIC_OP && state);
|
||||
break;
|
||||
#if FEATURE_userclip
|
||||
case GL_CLIP_PLANE0:
|
||||
case GL_CLIP_PLANE1:
|
||||
case GL_CLIP_PLANE2:
|
||||
|
|
@ -233,6 +234,7 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
|
|||
}
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case GL_COLOR_MATERIAL:
|
||||
if (ctx->Light.ColorMaterialEnabled == state)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: mtypes.h,v 1.97.4.1 2003/03/02 00:27:35 jrfonseca Exp $ */
|
||||
/* $Id: mtypes.h,v 1.97.4.2 2003/03/05 14:22:24 keithw Exp $ */
|
||||
|
||||
|
||||
#ifndef TYPES_H
|
||||
|
|
@ -2046,9 +2046,9 @@ struct __GLcontextRec {
|
|||
/** \brief The string names for GL_POINT, GL_LINE_LOOP, etc */
|
||||
extern const char *_mesa_prim_name[GL_POLYGON+4];
|
||||
|
||||
#ifndef MESA_DEBUG
|
||||
#define MESA_DEBUG
|
||||
#endif
|
||||
/* #ifndef MESA_DEBUG */
|
||||
/* #define MESA_DEBUG */
|
||||
/* #endif */
|
||||
|
||||
#ifdef MESA_DEBUG
|
||||
extern int MESA_VERBOSE;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: state.c,v 1.97.4.3 2003/03/05 14:04:20 keithw Exp $ */
|
||||
/* $Id: state.c,v 1.97.4.4 2003/03/05 14:22:25 keithw Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -704,6 +704,7 @@ update_projection( GLcontext *ctx )
|
|||
{
|
||||
_math_matrix_analyse( ctx->ProjectionMatrixStack.Top );
|
||||
|
||||
#if FEATURE_userclip
|
||||
/* Recompute clip plane positions in clipspace. This is also done
|
||||
* in _mesa_ClipPlane().
|
||||
*/
|
||||
|
|
@ -717,6 +718,7 @@ update_projection( GLcontext *ctx )
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: texstate.c,v 1.87 2002/11/05 20:58:37 brianp Exp $ */
|
||||
/* $Id: texstate.c,v 1.87.4.1 2003/03/05 14:22:25 keithw Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -1845,7 +1845,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
/* Texture Coord Generation */
|
||||
/**********************************************************************/
|
||||
|
||||
|
||||
#if FEATURE_texgen
|
||||
void
|
||||
_mesa_TexGenfv( GLenum coord, GLenum pname, const GLfloat *params )
|
||||
{
|
||||
|
|
@ -2383,7 +2383,7 @@ _mesa_GetTexGeniv( GLenum coord, GLenum pname, GLint *params )
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* GL_ARB_multitexture */
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue