Mesa (master): mesa: minor comments, clean-ups

Brian Paul brianp at kemper.freedesktop.org
Sat Jan 31 19:12:46 UTC 2009


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

Author: Brian <brianp at vmware.com>
Date:   Sat Jan 31 11:39:28 2009 -0700

mesa: minor comments, clean-ups

---

 src/mesa/main/mtypes.h |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index ad9225e..c740e6d 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -901,7 +901,7 @@ struct gl_light_attrib
    /*@{*/
    GLboolean _NeedEyeCoords;		
    GLboolean _NeedVertices;		/**< Use fast shader? */
-   GLbitfield  _Flags;		        /**< LIGHT_* flags, see above */
+   GLbitfield _Flags;		        /**< LIGHT_* flags, see above */
    GLfloat _BaseColor[2][3];
    /*@}*/
 };
@@ -1140,7 +1140,8 @@ struct gl_stencil_attrib
 };
 
 
-#define NUM_TEXTURE_TARGETS 7   /* 1D, 2D, 3D, CUBE, RECT, 1D_STACK, and 2D_STACK */
+/** 1D, 2D, 3D, CUBE, RECT, 1D_ARRAY, and 2D_ARRAY targets */
+#define NUM_TEXTURE_TARGETS 7
 
 /**
  * An index for each type of texture object
@@ -2883,21 +2884,25 @@ struct gl_tnl_module
    /*@}*/
 };
 
-/* Strictly this is a tnl/ private concept, but it doesn't seem
+
+/**
+ * Strictly this is a tnl/ private concept, but it doesn't seem
  * worthwhile adding a tnl private structure just to hold this one bit
  * of information:
  */
 #define MESA_DLIST_DANGLING_REFS     0x1 
 
-/* Provide a location where information about a display list can be
+
+/**
+ * Provide a location where information about a display list can be
  * collected.  Could be extended with driverPrivate structures,
  * etc. in the future.
  */
 struct mesa_display_list
 {
-   Node *node;
+   Node *node;   /**< The dlist commands are in a linked list of nodes */
    GLuint id;
-   GLbitfield flags;
+   GLbitfield flags;  /**< MESA_DLIST_x flags */
 };
 
 




More information about the mesa-commit mailing list