Mesa (master): mesa: array object comments

Brian Paul brianp at kemper.freedesktop.org
Thu May 7 20:35:43 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu May  7 13:36:20 2009 -0600

mesa: array object comments

---

 src/mesa/main/mtypes.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3debbe9..b24366d 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1557,6 +1557,8 @@ struct gl_array_object
    /** Name of the array object as received from glGenVertexArrayAPPLE. */
    GLuint Name;
 
+   /** XXX Need a refcount here */
+
    /** Conventional vertex arrays */
    /*@{*/
    struct gl_client_array Vertex;
@@ -1583,7 +1585,10 @@ struct gl_array_object
  */
 struct gl_array_attrib
 {
+   /** Currently bound array object. See _mesa_BindVertexArrayAPPLE() */
    struct gl_array_object *ArrayObj;
+
+   /** The default vertex array object */
    struct gl_array_object *DefaultArrayObj;
 
    GLint ActiveTexture;		/**< Client Active Texture */




More information about the mesa-commit mailing list