mesa: remove Driver.Accum
authorMarek Olšák <marek.olsak@amd.com>
Sun, 27 Sep 2015 19:28:22 +0000 (21:28 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 3 Oct 2015 20:06:08 +0000 (22:06 +0200)
Nothing calls it.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/dri/i915/intel_pixel.c
src/mesa/drivers/dri/i965/intel_pixel.c
src/mesa/main/dd.h
src/mesa/state_tracker/st_context.c

index d6195513fe907f02c616513dd98fbe4cc146c855..55e2cfa304c608eb28d8c6534224fdcfea023127 100644 (file)
@@ -81,7 +81,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
 
    /* framebuffer/image functions */
    driver->Clear = _swrast_Clear;
-   driver->Accum = _mesa_accum;
    driver->RasterPos = _tnl_RasterPos;
    driver->DrawPixels = _swrast_DrawPixels;
    driver->ReadPixels = _mesa_readpixels;
index 6f139e19e11fb6e2087f27e9f96c7acf8c5967c3..feb1a3f97e8a778edba94d38efb53115f992c656 100644 (file)
@@ -126,7 +126,6 @@ intel_check_blit_fragment_ops(struct gl_context * ctx, bool src_alpha_is_one)
 void
 intelInitPixelFuncs(struct dd_function_table *functions)
 {
-   functions->Accum = _mesa_accum;
    functions->Bitmap = intelBitmap;
    functions->CopyPixels = intelCopyPixels;
    functions->DrawPixels = intelDrawPixels;
index 30d3a521ec84fafd5e12c3c7a3af7db67f594cdb..d4f86fdffe07c6e6600566f459964c44afc17f43 100644 (file)
@@ -128,7 +128,6 @@ intel_check_blit_fragment_ops(struct gl_context * ctx, bool src_alpha_is_one)
 void
 intelInitPixelFuncs(struct dd_function_table *functions)
 {
-   functions->Accum = _mesa_accum;
    functions->Bitmap = intelBitmap;
    functions->CopyPixels = intelCopyPixels;
    functions->DrawPixels = intelDrawPixels;
index 1cccace12cb9788a00984afd9a49838d9a76958c..04d6935c73a0ea3bfcaab1fb2bc5ec3a94c5bffe 100644 (file)
@@ -110,12 +110,6 @@ struct dd_function_table {
     */
    void (*Clear)( struct gl_context *ctx, GLbitfield buffers );
 
-   /**
-    * Execute glAccum command.
-    */
-   void (*Accum)( struct gl_context *ctx, GLenum op, GLfloat value );
-
-
    /**
     * Execute glRasterPos, updating the ctx->Current.Raster fields
     */
index 72c23cad4bc95665d0766631ec97d16fa5bf832e..f65aafa9d55756c0e6c89d0cb25d862d3d291d09 100644 (file)
@@ -410,8 +410,6 @@ void st_init_driver_functions(struct pipe_screen *screen,
    _mesa_init_shader_object_functions(functions);
    _mesa_init_sampler_object_functions(functions);
 
-   functions->Accum = _mesa_accum;
-
    st_init_blit_functions(functions);
    st_init_bufferobject_functions(functions);
    st_init_clear_functions(functions);