diff options
author | Brian <[email protected]> | 2007-10-31 14:28:05 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-31 14:28:05 -0600 |
commit | e0e8cf1346513eb52771924e7efd8f19e935dd0a (patch) | |
tree | 18b57f2674cc3c4a7228da6056d45d7a216313d1 /src/mesa/pipe/xlib/xm_api.c | |
parent | 5d6b314bcf64d3949038bdd5845793ce7dd0ecd0 (diff) |
disable swrast/tnl stuff
Diffstat (limited to 'src/mesa/pipe/xlib/xm_api.c')
-rw-r--r-- | src/mesa/pipe/xlib/xm_api.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c index 3632390364a..d13d98857af 100644 --- a/src/mesa/pipe/xlib/xm_api.c +++ b/src/mesa/pipe/xlib/xm_api.c @@ -73,8 +73,10 @@ #include "macros.h" #include "renderbuffer.h" #include "teximage.h" +#if 0 #include "swrast/swrast.h" #include "swrast_setup/swrast_setup.h" +#endif #include "vbo/vbo.h" #if 0 #include "tnl/tnl.h" @@ -1597,6 +1599,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) /* Initialize the software rasterizer and helper modules. */ +#if 0 if (!_swrast_CreateContext( mesaCtx ) #if 0 || !_vbo_CreateContext( mesaCtx ) || @@ -1608,6 +1611,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) _mesa_free(c); return NULL; } +#endif #if 0 /* tnl setup */ @@ -1623,8 +1627,10 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) st_create_context( mesaCtx, xmesa_create_softpipe( c ) ); +#if 0 _swsetup_CreateContext( mesaCtx ); _swsetup_Wakeup(mesaCtx); +#endif /* override these functions, as if the xlib driver were derived from * the softpipe driver. @@ -1655,8 +1661,10 @@ void XMesaDestroyContext( XMesaContext c ) FXdestroyContext( XMESA_BUFFER(mesaCtx->DrawBuffer) ); #endif +#if 0 _swsetup_DestroyContext( mesaCtx ); _swrast_DestroyContext( mesaCtx ); +#endif #if 0 _tnl_DestroyContext( mesaCtx ); _vbo_DestroyContext( mesaCtx ); |