remove MESA_TRACE stuff
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Sep 2003 16:39:09 +0000 (16:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Sep 2003 16:39:09 +0000 (16:39 +0000)
src/mesa/main/context.c
src/mesa/main/mtypes.h

index 7cfcedf780db9b1dca0a385570deb7db7819e684..ce3514213b4456fcf11825f0101a4f558a1f12fc 100644 (file)
 #include "pixel.h"
 #include "points.h"
 #include "polygon.h"
+#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
+#include "program.h"
+#endif
 #include "rastpos.h"
 #include "simple_list.h"
 #include "state.h"
 #include "texstate.h"
 #include "mtypes.h"
 #include "varray.h"
-#if FEATURE_NV_vertex_program || FEATURE_NV_fragment_program
-#include "program.h"
-#endif
 #include "vtxfmt.h"
 #if _HAVE_FULL_GL
 #include "math/m_translate.h"
 #include "math/mathmod.h"
 #endif
 
-#if defined(MESA_TRACE)
-#include "Trace/tr_context.h"
-#include "Trace/tr_wrapper.h"
-#endif
-
 #ifdef USE_SPARC_ASM
 #include "SPARC/sparc.h"
 #endif
index 9e21d9538496c9ab9f5946292263ebc708cc4f44..9a5bec693e6ed0d04ba071b85b71417086bc7524 100644 (file)
 #include "config.h"            /* Hardwired parameters */
 #include "glapitable.h"
 #include "glthread.h"
-
 #include "math/m_matrix.h"     /* GLmatrix */
 
-#if defined(MESA_TRACE)
-#include "Trace/tr_context.h"
-#endif
-
 
 /**
  * Color channel data type.
@@ -2220,14 +2215,6 @@ struct __GLcontextRec {
    /** Dither disable via MESA_NO_DITHER env var */
    GLboolean NoDither;
 
-#if defined(MESA_TRACE)
-   struct _glapi_table *TraceDispatch;
-   trace_context_t     *TraceCtx;
-#else
-   void *TraceDispatch;
-   void *TraceCtx;
-#endif
-
    /** Core tnl module support */
    struct gl_tnl_module TnlModule;