From: Brian Paul Date: Tue, 8 May 2012 17:40:28 +0000 (-0600) Subject: vbo: add some comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c55ebc3e3e556a5bf5cd78cee2807f4cbb6f626a;p=mesa.git vbo: add some comments --- diff --git a/src/mesa/vbo/vbo_save.c b/src/mesa/vbo/vbo_save.c index 040c9b7a95a..7a97d3c6567 100644 --- a/src/mesa/vbo/vbo_save.c +++ b/src/mesa/vbo/vbo_save.c @@ -49,6 +49,9 @@ static void vbo_save_callback_init( struct gl_context *ctx ) +/** + * Called at context creation time. + */ void vbo_save_init( struct gl_context *ctx ) { struct vbo_context *vbo = vbo_context(ctx); diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index 13604333e95..74f5dc9ce68 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -1506,6 +1506,9 @@ vbo_print_vertex_list(struct gl_context *ctx, void *data) } +/** + * Called during context creation/init. + */ static void _save_current_init(struct gl_context *ctx) { @@ -1529,7 +1532,7 @@ _save_current_init(struct gl_context *ctx) /** - * Initialize the display list compiler + * Initialize the display list compiler. Called during context creation. */ void vbo_save_api_init(struct vbo_save_context *save)