summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-06-02 04:05:45 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-06-02 04:05:45 +0000
commit1516f559bc1d8af1ca3a12c78b23937e9208b5c6 (patch)
tree211d4a41238d8658f3aa34386b58b68ff10dbcde /src/mesa/drivers/dri/savage
parentc4fbdb090cb02f57e83e5f679cadf62c22ec286b (diff)
start removing old (pre-renderbuffer) span code
Diffstat (limited to 'src/mesa/drivers/dri/savage')
-rw-r--r--src/mesa/drivers/dri/savage/savagespan.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/mesa/drivers/dri/savage/savagespan.c b/src/mesa/drivers/dri/savage/savagespan.c
index acdfde097b..fef0aeec78 100644
--- a/src/mesa/drivers/dri/savage/savagespan.c
+++ b/src/mesa/drivers/dri/savage/savagespan.c
@@ -305,65 +305,6 @@ void savageDDInitSpanFuncs( GLcontext *ctx )
struct swrast_device_driver *swdd = _swrast_GetDeviceDriverReference(ctx);
swdd->SetBuffer = savageDDSetBuffer;
-
-#if 0
- switch (imesa->savageScreen->cpp)
- {
- case 2: savageInitPointers_565( swdd ); break;
- case 4: savageInitPointers_8888( swdd );
- }
-#endif
-
- switch (imesa->savageScreen->zpp)
- {
- case 2:
-#if 0
- if (imesa->float_depth) {
- swdd->ReadDepthSpan = savageReadDepthSpan_16f;
- swdd->WriteDepthSpan = savageWriteDepthSpan_16f;
- swdd->WriteMonoDepthSpan = savageWriteMonoDepthSpan_16f;
- swdd->ReadDepthPixels = savageReadDepthPixels_16f;
- swdd->WriteDepthPixels = savageWriteDepthPixels_16f;
- } else {
- swdd->ReadDepthSpan = savageReadDepthSpan_16;
- swdd->WriteDepthSpan = savageWriteDepthSpan_16;
- swdd->WriteMonoDepthSpan = savageWriteMonoDepthSpan_16;
- swdd->ReadDepthPixels = savageReadDepthPixels_16;
- swdd->WriteDepthPixels = savageWriteDepthPixels_16;
- }
-#endif
- break;
- case 4:
-#if 0
- if (imesa->float_depth) {
- swdd->ReadDepthSpan = savageReadDepthSpan_8_24f;
- swdd->WriteDepthSpan = savageWriteDepthSpan_8_24f;
- swdd->WriteMonoDepthSpan = savageWriteMonoDepthSpan_8_24f;
- swdd->ReadDepthPixels = savageReadDepthPixels_8_24f;
- swdd->WriteDepthPixels = savageWriteDepthPixels_8_24f;
- } else {
- swdd->ReadDepthSpan = savageReadDepthSpan_8_24;
- swdd->WriteDepthSpan = savageWriteDepthSpan_8_24;
- swdd->WriteMonoDepthSpan = savageWriteMonoDepthSpan_8_24;
- swdd->ReadDepthPixels = savageReadDepthPixels_8_24;
- swdd->WriteDepthPixels = savageWriteDepthPixels_8_24;
- }
- swdd->ReadStencilSpan = savageReadStencilSpan_8_24;
- swdd->WriteStencilSpan = savageWriteStencilSpan_8_24;
- swdd->ReadStencilPixels = savageReadStencilPixels_8_24;
- swdd->WriteStencilPixels = savageWriteStencilPixels_8_24;
-#endif
- break;
-
- }
- swdd->WriteCI8Span =NULL;
- swdd->WriteCI32Span =NULL;
- swdd->WriteMonoCISpan =NULL;
- swdd->WriteCI32Pixels =NULL;
- swdd->WriteMonoCIPixels =NULL;
- swdd->ReadCI32Span =NULL;
- swdd->ReadCI32Pixels =NULL;
-
swdd->SpanRenderStart = savageSpanRenderStart;
/* Pixel path fallbacks.