OSDN Git Service

vbo: add some comments
authorBrian Paul <brianp@vmware.com>
Tue, 8 May 2012 17:40:28 +0000 (11:40 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 8 May 2012 18:12:03 +0000 (12:12 -0600)
src/mesa/vbo/vbo_save.c
src/mesa/vbo/vbo_save_api.c

index 040c9b7..7a97d3c 100644 (file)
@@ -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);
index 1360433..74f5dc9 100644 (file)
@@ -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)