diff options
author | Brian Paul <[email protected]> | 2006-10-15 18:31:29 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-15 18:31:29 +0000 |
commit | a391384bad9e960989dc8c793386081afc55592c (patch) | |
tree | da9ac9b5c939c789fc11b1786cd4ffcef4da6cd6 /src/mesa/drivers/dri/i915 | |
parent | f0775c7fccac2b91200dd4537686fe5c9b61c6ab (diff) |
Remove a bunch of "ctx->Driver.function = _swrast_Function" lines since
default/fallback functions are already plugged in by the call to
_mesa_init_driver_functions().
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_pixel.c | 9 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 444fcd584aa..8df60edfb71 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -266,10 +266,6 @@ void intelInitDriverFunctions( struct dd_function_table *functions ) functions->GetBufferSize = intelBufferSize; functions->GetString = intelGetString; functions->UpdateState = intelInvalidateState; - functions->CopyColorTable = _swrast_CopyColorTable; - functions->CopyColorSubTable = _swrast_CopyColorSubTable; - functions->CopyConvolutionFilter1D = _swrast_CopyConvolutionFilter1D; - functions->CopyConvolutionFilter2D = _swrast_CopyConvolutionFilter2D; intelInitTextureFuncs( functions ); intelInitPixelFuncs( functions ); diff --git a/src/mesa/drivers/dri/i915/intel_pixel.c b/src/mesa/drivers/dri/i915/intel_pixel.c index 2af38541d9c..535cbfcb26e 100644 --- a/src/mesa/drivers/dri/i915/intel_pixel.c +++ b/src/mesa/drivers/dri/i915/intel_pixel.c @@ -494,18 +494,9 @@ intelCopyPixels( GLcontext *ctx, void intelInitPixelFuncs( struct dd_function_table *functions ) { - /* Pixel path fallbacks. - */ - functions->Accum = _swrast_Accum; - functions->Bitmap = _swrast_Bitmap; functions->CopyPixels = intelCopyPixels; - if (!getenv("INTEL_NO_BLITS")) { functions->ReadPixels = intelReadPixels; functions->DrawPixels = intelDrawPixels; } - else { - functions->ReadPixels = _swrast_ReadPixels; - functions->DrawPixels = _swrast_DrawPixels; - } } |