mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 23:30:13 +01:00
mesa: remove Driver.BeginCallList
Nothing overrides it. Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
f457964885
commit
ef6c0714af
6 changed files with 2 additions and 12 deletions
|
|
@ -190,7 +190,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
|
|||
driver->LightingSpaceChange = NULL;
|
||||
|
||||
/* display list */
|
||||
driver->BeginCallList = NULL;
|
||||
driver->EndCallList = NULL;
|
||||
|
||||
/* GL_ARB_texture_storage */
|
||||
|
|
|
|||
|
|
@ -798,13 +798,6 @@ struct dd_function_table {
|
|||
*/
|
||||
void (*LightingSpaceChange)( struct gl_context *ctx );
|
||||
|
||||
/**
|
||||
* Called by glCallList(s).
|
||||
*
|
||||
* Notify the T&L component before and after calling a display list.
|
||||
*/
|
||||
void (*BeginCallList)( struct gl_context *ctx,
|
||||
struct gl_display_list *dlist );
|
||||
/**
|
||||
* Called by glEndCallList().
|
||||
*
|
||||
|
|
|
|||
|
|
@ -7742,8 +7742,7 @@ execute_list(struct gl_context *ctx, GLuint list)
|
|||
|
||||
ctx->ListState.CallDepth++;
|
||||
|
||||
if (ctx->Driver.BeginCallList)
|
||||
ctx->Driver.BeginCallList(ctx, dlist);
|
||||
vbo_save_BeginCallList(ctx, dlist);
|
||||
|
||||
n = dlist->Head;
|
||||
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ void vbo_save_SaveFlushVertices(struct gl_context *ctx);
|
|||
GLboolean vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode);
|
||||
void vbo_save_NewList(struct gl_context *ctx, GLuint list, GLenum mode);
|
||||
void vbo_save_EndList(struct gl_context *ctx);
|
||||
void vbo_save_BeginCallList(struct gl_context *ctx, struct gl_display_list *list);
|
||||
|
||||
|
||||
typedef void (*vbo_draw_func)( struct gl_context *ctx,
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
static void vbo_save_callback_init( struct gl_context *ctx )
|
||||
{
|
||||
ctx->Driver.BeginCallList = vbo_save_BeginCallList;
|
||||
ctx->Driver.EndCallList = vbo_save_EndCallList;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -176,7 +176,6 @@ void vbo_loopback_vertex_list( struct gl_context *ctx,
|
|||
/* Callbacks:
|
||||
*/
|
||||
void vbo_save_EndCallList( struct gl_context *ctx );
|
||||
void vbo_save_BeginCallList( struct gl_context *ctx, struct gl_display_list *list );
|
||||
|
||||
void vbo_save_playback_vertex_list( struct gl_context *ctx, void *data );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue