[Mesa-dev] [PATCH 1/7] glx: Add a little comment about what dri2FlushFrontBuffer() does.

Eric Anholt eric at anholt.net
Wed Jan 9 12:42:21 PST 2013


---
 src/glx/dri2_glx.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 1b3cf2b..4afce77 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -645,6 +645,10 @@ dri2_wait_gl(struct glx_context *gc)
    dri2_copy_drawable(priv, DRI2BufferFrontLeft, DRI2BufferFakeFrontLeft);
 }
 
+/**
+ * Called by the driver when it needs to update the real front buffer with the
+ * contents of its fake front buffer.
+ */
 static void
 dri2FlushFrontBuffer(__DRIdrawable *driDrawable, void *loaderPrivate)
 {
-- 
1.7.10.4



More information about the mesa-dev mailing list