summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r128
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-06-02 04:05:45 +0000
committerBrian Paul <[email protected]>2005-06-02 04:05:45 +0000
commit1516f559bc1d8af1ca3a12c78b23937e9208b5c6 (patch)
tree211d4a41238d8658f3aa34386b58b68ff10dbcde /src/mesa/drivers/dri/r128
parentc4fbdb090cb02f57e83e5f679cadf62c22ec286b (diff)
start removing old (pre-renderbuffer) span code
Diffstat (limited to 'src/mesa/drivers/dri/r128')
-rw-r--r--src/mesa/drivers/dri/r128/r128_span.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_span.c b/src/mesa/drivers/dri/r128/r128_span.c
index 7b02fc60a19..9a2bf742b6b 100644
--- a/src/mesa/drivers/dri/r128/r128_span.c
+++ b/src/mesa/drivers/dri/r128/r128_span.c
@@ -357,54 +357,6 @@ void r128DDInitSpanFuncs( GLcontext *ctx )
struct swrast_device_driver *swdd = _swrast_GetDeviceDriverReference(ctx);
swdd->SetBuffer = r128DDSetBuffer;
-
- switch ( rmesa->r128Screen->cpp ) {
- case 2:
-#if 0
- r128InitPointers_RGB565( swdd );
-#endif
- break;
-
- case 4:
-#if 0
- r128InitPointers_ARGB8888( swdd );
-#endif
- break;
-
- default:
- break;
- }
-
- switch ( rmesa->glCtx->Visual.depthBits ) {
- case 16:
-#if 0
- swdd->ReadDepthSpan = r128ReadDepthSpan_16;
- swdd->WriteDepthSpan = r128WriteDepthSpan_16;
- swdd->ReadDepthPixels = r128ReadDepthPixels_16;
- swdd->WriteDepthPixels = r128WriteDepthPixels_16;
-#endif
- break;
-
- case 24:
-#if 0
- swdd->ReadDepthSpan = r128ReadDepthSpan_24_8;
- swdd->WriteDepthSpan = r128WriteDepthSpan_24_8;
- swdd->ReadDepthPixels = r128ReadDepthPixels_24_8;
- swdd->WriteDepthPixels = r128WriteDepthPixels_24_8;
-#endif
- break;
-
- default:
- break;
- }
-
- swdd->WriteCI8Span = NULL;
- swdd->WriteCI32Span = NULL;
- swdd->WriteMonoCISpan = NULL;
- swdd->WriteCI32Pixels = NULL;
- swdd->WriteMonoCIPixels = NULL;
- swdd->ReadCI32Span = NULL;
- swdd->ReadCI32Pixels = NULL;
swdd->SpanRenderStart = r128SpanRenderStart;
swdd->SpanRenderFinish = r128SpanRenderFinish;
}