I just commited this. usage: 1. start a GL demo 2. use 'xwininfo' to get the app's window ID 3. run 'glxsnoop <window id>' 4. press z/s/b/f to view the app's z, stencil, back, front buffer
I tested with the 7.0.2 i915 DRI driver and it doesn't work, unfortunately. Nor will it work with the Xlib driver (obviously).
With NVIDIA's driver it works as expected, mostly. Sometimes viewing the Z or stencil buffer results in a corrupted image (sample attached). Not sure if this is just a bug or I'm just getting lucky when it does work.
-Brian
<<inline: glxsnoop.png>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel