[Glamor] [PATCH 17/34] glamor: Fix up doxygen for glamor_fill.c.

Alex Deucher alexdeucher at gmail.com
Fri Feb 28 10:02:12 PST 2014


From: Eric Anholt <eric at anholt.net>

Ported from Eric's xserver glamor tree.

Signed-off-by: Eric Anholt <eric at anholt.net>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 src/glamor_fill.c | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/src/glamor_fill.c b/src/glamor_fill.c
index e93a849..fb70ce4 100644
--- a/src/glamor_fill.c
+++ b/src/glamor_fill.c
@@ -27,10 +27,14 @@
 
 #include "glamor_priv.h"
 
-/** @file glamor_fillspans.c
+/** @file glamor_fill.c
  *
  * GC fill implementation, based loosely on fb_fill.c
  */
+
+/**
+ * Fills the given rectangle of a drawable with the GC's fill style.
+ */
 Bool
 glamor_fill(DrawablePtr drawable,
 	    GCPtr gc, int x, int y, int width, int height, Bool fallback)
@@ -271,6 +275,12 @@ _glamor_solid_boxes(PixmapPtr pixmap, BoxPtr box, int nbox, float *color)
 	glamor_priv->render_idle_cnt = 0;
 }
 
+/**
+ * Fills the given rectangles of pixmap with an X pixel value.
+ *
+ * This is a helper used by other code after clipping and translation
+ * of coordinates to a glamor backing pixmap.
+ */
 Bool
 glamor_solid_boxes(PixmapPtr pixmap,
 		   BoxPtr box, int nbox,
@@ -317,6 +327,12 @@ glamor_solid_boxes(PixmapPtr pixmap,
 	return TRUE;
 }
 
+/**
+ * Fills a rectangle of a pixmap with an X pixel value.
+ *
+ * This is a helper used by other glamor code mostly for clearing of
+ * buffers to 0.
+ */
 Bool
 glamor_solid(PixmapPtr pixmap, int x, int y, int width, int height,
 	     unsigned char alu, unsigned long planemask,
-- 
1.8.3.1



More information about the Glamor mailing list