diff options
author | Roland Scheidegger <[email protected]> | 2005-07-01 11:28:14 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2005-07-01 11:28:14 +0000 |
commit | 758f334717eaf6700defcde126cb9194155a2264 (patch) | |
tree | b0176418930054f20dc1a6b74a8eff520424093d /src/mesa/drivers/dri/mach64 | |
parent | 8e8fa63cb401f38b3320484faa7ea463cca9d8d5 (diff) |
convert sis and radeon driver to use spantmp2 instead of spantmp template. Remove old (pre-renderbuffer) span code instead of converting that too. Remove this old code from mach64 (the dead code was not fully converted to spantmp2 previously) too.
Diffstat (limited to 'src/mesa/drivers/dri/mach64')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_span.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_span.c b/src/mesa/drivers/dri/mach64/mach64_span.c index 88863471d47..0ac0eeaa604 100644 --- a/src/mesa/drivers/dri/mach64/mach64_span.c +++ b/src/mesa/drivers/dri/mach64/mach64_span.c @@ -180,63 +180,9 @@ static void mach64SpanRenderFinish( GLcontext *ctx ) void mach64DDInitSpanFuncs( GLcontext *ctx ) { -#if 0 - mach64ContextPtr mmesa = MACH64_CONTEXT(ctx); -#endif struct swrast_device_driver *swdd = _swrast_GetDeviceDriverReference(ctx); swdd->SetBuffer = mach64DDSetBuffer; - -#if 0 - switch ( mmesa->mach64Screen->cpp ) { - case 2: - swdd->WriteRGBASpan = mach64WriteRGBASpan_RGB565; - swdd->WriteRGBSpan = mach64WriteRGBSpan_RGB565; - swdd->WriteMonoRGBASpan = mach64WriteMonoRGBASpan_RGB565; - swdd->WriteRGBAPixels = mach64WriteRGBAPixels_RGB565; - swdd->WriteMonoRGBAPixels = mach64WriteMonoRGBAPixels_RGB565; - swdd->ReadRGBASpan = mach64ReadRGBASpan_RGB565; - swdd->ReadRGBAPixels = mach64ReadRGBAPixels_RGB565; - break; - - case 4: - swdd->WriteRGBASpan = mach64WriteRGBASpan_ARGB8888; - swdd->WriteRGBSpan = mach64WriteRGBSpan_ARGB8888; - swdd->WriteMonoRGBASpan = mach64WriteMonoRGBASpan_ARGB8888; - swdd->WriteRGBAPixels = mach64WriteRGBAPixels_ARGB8888; - swdd->WriteMonoRGBAPixels = mach64WriteMonoRGBAPixels_ARGB8888; - swdd->ReadRGBASpan = mach64ReadRGBASpan_ARGB8888; - swdd->ReadRGBAPixels = mach64ReadRGBAPixels_ARGB8888; - - break; - - default: - break; - } -#endif - - /* Depth buffer is always 16 bit */ -#if 0 - swdd->ReadDepthSpan = mach64ReadDepthSpan_16; - swdd->WriteDepthSpan = mach64WriteDepthSpan_16; - swdd->ReadDepthPixels = mach64ReadDepthPixels_16; - swdd->WriteDepthPixels = mach64WriteDepthPixels_16; -#endif -#if 0 - /* No hardware stencil buffer */ - swdd->ReadStencilSpan = NULL; - swdd->WriteStencilSpan = NULL; - swdd->ReadStencilPixels = NULL; - swdd->WriteStencilPixels = NULL; - - swdd->WriteCI8Span = NULL; - swdd->WriteCI32Span = NULL; - swdd->WriteMonoCISpan = NULL; - swdd->WriteCI32Pixels = NULL; - swdd->WriteMonoCIPixels = NULL; - swdd->ReadCI32Span = NULL; - swdd->ReadCI32Pixels = NULL; -#endif swdd->SpanRenderStart = mach64SpanRenderStart; swdd->SpanRenderFinish = mach64SpanRenderFinish; } |