summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-31 14:22:49 -0600
committerBrian <[email protected]>2007-10-31 14:22:49 -0600
commit12f3f6cb2ac012c111d046e77772acd5561ebbf6 (patch)
treeeebbadbdb031ea371b30a90c46f23a0ed17537b9 /src
parent87560bc10f57fd523d3317dfa1ff98d40099eb39 (diff)
omit X point/line/triangle routines
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/xlib/xm_api.c3
-rw-r--r--src/mesa/pipe/xlib/xm_dd.c2
-rw-r--r--src/mesa/sources4
3 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c
index 08c98eab486..3632390364a 100644
--- a/src/mesa/pipe/xlib/xm_api.c
+++ b/src/mesa/pipe/xlib/xm_api.c
@@ -1615,9 +1615,10 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
tnl->Driver.RunPipeline = _tnl_run_pipeline;
#endif
+#if 0
/* swrast setup */
xmesa_register_swrast_functions( mesaCtx );
-
+#endif
st_create_context( mesaCtx,
xmesa_create_softpipe( c ) );
diff --git a/src/mesa/pipe/xlib/xm_dd.c b/src/mesa/pipe/xlib/xm_dd.c
index 8ae243ae662..88ac0e594f8 100644
--- a/src/mesa/pipe/xlib/xm_dd.c
+++ b/src/mesa/pipe/xlib/xm_dd.c
@@ -1121,6 +1121,7 @@ xmesa_init_driver_functions( XMesaVisual xmvisual,
_SWRAST_NEW_RASTERMASK)
+#if 0
/**
* Extend the software rasterizer with our line/point/triangle
* functions.
@@ -1139,3 +1140,4 @@ void xmesa_register_swrast_functions( GLcontext *ctx )
swrast->InvalidateLineMask |= XMESA_NEW_LINE;
swrast->InvalidateTriangleMask |= XMESA_NEW_TRIANGLE;
}
+#endif
diff --git a/src/mesa/sources b/src/mesa/sources
index 312e48499eb..c5c07cf442c 100644
--- a/src/mesa/sources
+++ b/src/mesa/sources
@@ -334,11 +334,9 @@ X11_DRIVER_SOURCES = \
pipe/xlib/xm_api.c \
pipe/xlib/xm_buffer.c \
pipe/xlib/xm_dd.c \
- pipe/xlib/xm_line.c \
pipe/xlib/xm_winsys.c \
pipe/xlib/xm_span.c \
- pipe/xlib/xm_surface.c \
- pipe/xlib/xm_tri.c
+ pipe/xlib/xm_surface.c
OSMESA_DRIVER_SOURCES = \
drivers/osmesa/osmesa.c