[Xquartz-changes] [282] AppleSGLX/trunk/apple_glx_drawable.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 3 17:00:09 PST 2009


Revision: 282
          http://trac.macosforge.org/projects/xquartz/changeset/282
Author:   gstaplin at apple.com
Date:     2009-03-03 17:00:09 -0800 (Tue, 03 Mar 2009)
Log Message:
-----------
Add more diagnostics for the drawable creation/destruction.

Modified Paths:
--------------
    AppleSGLX/trunk/apple_glx_drawable.c

Modified: AppleSGLX/trunk/apple_glx_drawable.c
===================================================================
--- AppleSGLX/trunk/apple_glx_drawable.c	2009-03-04 00:13:42 UTC (rev 281)
+++ AppleSGLX/trunk/apple_glx_drawable.c	2009-03-04 01:00:09 UTC (rev 282)
@@ -153,7 +153,9 @@
 	 */
 	d->callbacks.destroy(d->display, d);
     }
-        
+     
+    apple_glx_diagnostic("%s: freeing %p\n", __func__, (void *)d);
+   
     free(d);
 
     /* So that the locks are balanced and the caller correctly unlocks. */
@@ -277,6 +279,8 @@
 
     link_tail(d);
 
+    apple_glx_diagnostic("%s: new drawable %p\n", __func__, (void *)d);
+
     *agdResult = d;
     
     return false;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20090303/c466fedc/attachment-0001.html>


More information about the Xquartz-changes mailing list