This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.tags/mesa_6_5_2
@@ -137,7 +137,6 @@ init_core_functions( struct dd_function_table *functions ) | |||
{ | |||
functions->GetString = get_string; | |||
functions->UpdateState = update_state; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetBufferSize = get_buffer_size; | |||
functions->Viewport = viewport; | |||
@@ -429,7 +429,6 @@ init_core_functions( struct dd_function_table *functions ) | |||
{ | |||
functions->GetString = get_string; | |||
functions->UpdateState = update_state; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetBufferSize = get_buffer_size; | |||
functions->Viewport = viewport; | |||
@@ -105,7 +105,6 @@ void gammaDDInitExtensions( GLcontext *ctx ) | |||
void gammaDDInitDriverFuncs( GLcontext *ctx ) | |||
{ | |||
ctx->Driver.GetBufferSize = gammaDDGetBufferSize; | |||
ctx->Driver.ResizeBuffers = _swrast_alloc_buffers; | |||
ctx->Driver.GetString = gammaDDGetString; | |||
ctx->Driver.Error = NULL; | |||
@@ -117,7 +116,6 @@ void gammaDDInitDriverFuncs( GLcontext *ctx ) | |||
ctx->Driver.CopyPixels = _swrast_CopyPixels; | |||
ctx->Driver.DrawPixels = _swrast_DrawPixels; | |||
ctx->Driver.ReadPixels = _swrast_ReadPixels; | |||
ctx->Driver.ResizeBuffers = _swrast_alloc_buffers; | |||
/* Swrast hooks for imaging extensions: | |||
*/ |
@@ -277,7 +277,6 @@ i810CreateContext( const __GLcontextModes *mesaVis, | |||
ctx->Const.PointSizeGranularity = 1.0; | |||
ctx->Driver.GetBufferSize = i810BufferSize; | |||
ctx->Driver.ResizeBuffers = _mesa_resize_framebuffer; | |||
ctx->Driver.GetString = i810GetString; | |||
/* Who owns who? |
@@ -264,7 +264,6 @@ void intelInitDriverFunctions( struct dd_function_table *functions ) | |||
functions->Flush = intelglFlush; | |||
functions->Finish = intelFinish; | |||
functions->GetBufferSize = intelBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = intelGetString; | |||
functions->UpdateState = intelInvalidateState; | |||
functions->CopyColorTable = _swrast_CopyColorTable; |
@@ -549,7 +549,6 @@ void intelInitBufferFuncs( struct dd_function_table *functions ) | |||
{ | |||
functions->Clear = intelClear; | |||
functions->GetBufferSize = intelBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->DrawBuffer = intelDrawBuffer; | |||
functions->ReadBuffer = intelReadBuffer; | |||
} |
@@ -127,7 +127,6 @@ static void mach64DDFinish( GLcontext *ctx ) | |||
void mach64InitDriverFuncs( struct dd_function_table *functions ) | |||
{ | |||
functions->GetBufferSize = mach64DDGetBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = mach64DDGetString; | |||
functions->Finish = mach64DDFinish; | |||
functions->Flush = mach64DDFlush; |
@@ -93,6 +93,5 @@ static void mgaBufferSize(GLframebuffer *buffer, GLuint *width, GLuint *height) | |||
void mgaInitDriverFuncs( struct dd_function_table *functions ) | |||
{ | |||
functions->GetBufferSize = mgaBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = mgaGetString; | |||
} |
@@ -141,7 +141,6 @@ static void r128Finish( GLcontext *ctx ) | |||
void r128InitDriverFuncs( struct dd_function_table *functions ) | |||
{ | |||
functions->GetBufferSize = r128GetBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = r128GetString; | |||
functions->Finish = r128Finish; | |||
functions->Flush = r128Flush; |
@@ -234,7 +234,6 @@ static const struct tnl_pipeline_stage *r200_pipeline[] = { | |||
static void r200InitDriverFuncs( struct dd_function_table *functions ) | |||
{ | |||
functions->GetBufferSize = r200GetBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = r200GetString; | |||
functions->Error = NULL; |
@@ -119,7 +119,6 @@ static void radeonGetBufferSize(GLframebuffer * buffer, | |||
static void radeonInitDriverFuncs(struct dd_function_table *functions) | |||
{ | |||
functions->GetBufferSize = radeonGetBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = radeonGetString; | |||
} | |||
@@ -187,7 +187,6 @@ static const struct tnl_pipeline_stage *radeon_pipeline[] = { | |||
static void radeonInitDriverFuncs( struct dd_function_table *functions ) | |||
{ | |||
functions->GetBufferSize = radeonGetBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
functions->GetString = radeonGetString; | |||
} | |||
@@ -97,7 +97,6 @@ void s3vInitDriverFuncs( GLcontext *ctx ) | |||
ctx->Driver.CopyPixels = _swrast_CopyPixels; | |||
ctx->Driver.DrawPixels = _swrast_DrawPixels; | |||
ctx->Driver.ReadPixels = _swrast_ReadPixels; | |||
ctx->Driver.ResizeBuffers = _mesa_resize_framebuffer; | |||
/* Swrast hooks for imaging extensions: | |||
*/ |
@@ -114,6 +114,5 @@ static void savageBufferSize(GLframebuffer *buffer, GLuint *width, GLuint *heigh | |||
void savageDDInitDriverFuncs( GLcontext *ctx ) | |||
{ | |||
ctx->Driver.GetBufferSize = savageBufferSize; | |||
ctx->Driver.ResizeBuffers = _mesa_resize_framebuffer; | |||
ctx->Driver.GetString = savageDDGetString; | |||
} |
@@ -168,7 +168,6 @@ void tdfxDDInitDriverFuncs( const __GLcontextModes *visual, | |||
functions->GetString = tdfxDDGetString; | |||
functions->GetBufferSize = tdfxDDGetBufferSize; | |||
functions->ResizeBuffers = _mesa_resize_framebuffer; | |||
/* Accelerated paths | |||
*/ |
@@ -116,7 +116,6 @@ void tridentDDInitDriverFuncs( GLcontext *ctx ) | |||
ctx->Driver.CopyPixels = _swrast_CopyPixels; | |||
ctx->Driver.DrawPixels = _swrast_DrawPixels; | |||
ctx->Driver.ReadPixels = _swrast_ReadPixels; | |||
ctx->Driver.ResizeBuffers = _mesa_resize_framebuffer; | |||
/* Swrast hooks for imaging extensions: | |||
*/ |
@@ -547,7 +547,6 @@ void tridentDDInitStateFuncs( GLcontext *ctx ) | |||
ctx->Driver.CopyPixels = _swrast_CopyPixels; | |||
ctx->Driver.DrawPixels = _swrast_DrawPixels; | |||
ctx->Driver.ReadPixels = _swrast_ReadPixels; | |||
ctx->Driver.ResizeBuffers = _mesa_resize_framebuffer; | |||
/* Swrast hooks for imaging extensions: | |||
*/ |
@@ -576,7 +576,6 @@ viaCreateContext(const __GLcontextModes *visual, | |||
ctx->Const.PointSizeGranularity = 1.0; | |||
ctx->Driver.GetBufferSize = viaBufferSize; | |||
/* ctx->Driver.ResizeBuffers = _swrast_alloc_buffers; *//* FIXME ?? */ | |||
ctx->Driver.GetString = viaGetString; | |||
ctx->DriverCtx = (void *)vmesa; |