mesa: Remove the dead PrepareExecBegin() driver hook.

This was used in i965 for a while, but no more.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Eric Anholt 2013-01-16 15:07:31 -08:00
parent 23916cae8e
commit 0aaf0445ba
3 changed files with 0 additions and 12 deletions

View file

@ -198,7 +198,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->ProgramStringNotify = _tnl_program_string;
driver->FlushVertices = NULL;
driver->SaveFlushVertices = NULL;
driver->PrepareExecBegin = NULL;
driver->NotifySaveBegin = NULL;
driver->LightingSpaceChange = NULL;

View file

@ -722,14 +722,6 @@ struct dd_function_table {
void (*FlushVertices)( struct gl_context *ctx, GLuint flags );
void (*SaveFlushVertices)( struct gl_context *ctx );
/**
* \brief Hook for drivers to prepare for a glBegin/glEnd block
*
* This hook is called in vbo_exec_Begin() before any action, including
* state updates, occurs.
*/
void (*PrepareExecBegin)( struct gl_context *ctx );
/**
* Give the driver the opportunity to hook in its own vtxfmt for
* compiling optimized display lists. This is called on each valid

View file

@ -803,9 +803,6 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
vbo_draw_method(vbo_context(ctx), DRAW_BEGIN_END);
if (ctx->Driver.PrepareExecBegin)
ctx->Driver.PrepareExecBegin(ctx);
if (ctx->NewState) {
_mesa_update_state( ctx );