Revision
282
Author
gstaplin@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

Diff

Modified: AppleSGLX/trunk/apple_glx_drawable.c (281 => 282)


--- 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;