Mesa (master): vbo: add some comments

Brian Paul brianp at kemper.freedesktop.org
Tue May 8 12:14:15 PDT 2012


Module: Mesa
Branch: master
Commit: c55ebc3e3e556a5bf5cd78cee2807f4cbb6f626a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c55ebc3e3e556a5bf5cd78cee2807f4cbb6f626a

Author: Brian Paul <brianp at vmware.com>
Date:   Tue May  8 11:40:28 2012 -0600

vbo: add some comments

---

 src/mesa/vbo/vbo_save.c     |    3 +++
 src/mesa/vbo/vbo_save_api.c |    5 ++++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/mesa/vbo/vbo_save.c b/src/mesa/vbo/vbo_save.c
index 040c9b7..7a97d3c 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 1360433..74f5dc9 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)



More information about the mesa-commit mailing list