summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/dlist.h')
-rw-r--r--src/mesa/main/dlist.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mesa/main/dlist.h b/src/mesa/main/dlist.h
index af36991d5e..f37a93a7f4 100644
--- a/src/mesa/main/dlist.h
+++ b/src/mesa/main/dlist.h
@@ -61,12 +61,12 @@ extern void GLAPIENTRY _mesa_CallLists( GLsizei n, GLenum type, const GLvoid *li
extern void _mesa_compile_error( GLcontext *ctx, GLenum error, const char *s );
-extern void *_mesa_alloc_instruction(GLcontext *ctx, GLuint opcode, GLuint sz);
+extern void *_mesa_dlist_alloc(GLcontext *ctx, GLuint opcode, GLuint sz);
-extern GLint _mesa_alloc_opcode( GLcontext *ctx, GLuint sz,
- void (*execute)( GLcontext *, void * ),
- void (*destroy)( GLcontext *, void * ),
- void (*print)( GLcontext *, void * ) );
+extern GLint _mesa_dlist_alloc_opcode( GLcontext *ctx, GLuint sz,
+ void (*execute)( GLcontext *, void * ),
+ void (*destroy)( GLcontext *, void * ),
+ void (*print)( GLcontext *, void * ) );
extern void _mesa_delete_list(GLcontext *ctx, struct gl_display_list *dlist);
@@ -106,5 +106,7 @@ _mesa_init_dlist_dispatch(struct _glapi_table *disp)
extern void _mesa_init_display_list( GLcontext * ctx );
+extern void _mesa_free_display_list_data(GLcontext *ctx);
+
#endif /* DLIST_H */