diff options
author | davem69 <davem69> | 2001-06-05 23:54:00 +0000 |
---|---|---|
committer | davem69 <davem69> | 2001-06-05 23:54:00 +0000 |
commit | 775355a88a0927e2e3a855036c26950397a61d7b (patch) | |
tree | 21cb0c4eb6e3829ccfb3099933cfd80921516ef0 /src/mesa/main | |
parent | 0fab0702b03a0036e20cd823ad31bdc361f8fc1b (diff) |
Sparc optimized GLAPI dispatch table.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 8 | ||||
-rw-r--r-- | src/mesa/main/dispatch.c | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index ee6953ded86..49146ce079d 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.140 2001/06/05 03:58:20 davem69 Exp $ */ +/* $Id: context.c,v 1.141 2001/06/05 23:54:00 davem69 Exp $ */ /* * Mesa 3-D graphics library @@ -66,6 +66,9 @@ #include "Trace/tr_wrapper.h" #endif +#ifdef USE_SPARC_ASM +#include "SPARC/sparc.h" +#endif #ifndef MESA_VERBOSE int MESA_VERBOSE = 0 @@ -453,6 +456,9 @@ one_time_init( void ) _math_init(); _mesa_init_math(); +#ifdef USE_SPARC_ASM + _mesa_init_sparc_glapi_relocs(); +#endif if (getenv("MESA_DEBUG")) { _glapi_noop_enable_warnings(GL_TRUE); } diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c index cc14c4b498d..078f7bc73fb 100644 --- a/src/mesa/main/dispatch.c +++ b/src/mesa/main/dispatch.c @@ -1,4 +1,4 @@ -/* $Id: dispatch.c,v 1.22 2001/03/28 17:20:20 brianp Exp $ */ +/* $Id: dispatch.c,v 1.23 2001/06/05 23:54:00 davem69 Exp $ */ /* * Mesa 3-D graphics library @@ -48,7 +48,7 @@ #include "glthread.h" #endif -#if !defined(USE_X86_ASM) +#if !(defined(USE_X86_ASM) || defined(USE_SPARC_ASM)) #define KEYWORD1 #define KEYWORD2 GLAPIENTRY |