export TRACE_LIBGL=/path/to/real/libGL.so.1
/path/to/application
-See the 'ld.so' man page for more information about `LD_PRELOAD` and
+See the `ld.so` man page for more information about `LD_PRELOAD` and
`LD_LIBRARY_PATH` environment flags.
+You can make a video of the output by doing
+
+ /path/to/glretrace -s - application.trace \
+ | ffmpeg -r 30 -f image2pipe -vcodec ppm -i pipe: -vcodec mpeg4 -y output.mp4
+
+
Mac OS X
--------
* View the trace with
- /path/to/tracedump application.trace
+ \path\to\tracedump application.trace
* Replay the trace with
- /path/to/glretrace application.trace
+ \path\to\glretrace application.trace
Links
About **apitrace**:
+* [Official mailing list](http://lists.freedesktop.org/mailman/listinfo/apitrace)
+
* [Zack Rusin's blog introducing the GUI](http://zrusin.blogspot.com/2011/04/apitrace.html)
* [Jose's Fonseca blog introducing the tool](http://jrfonseca.blogspot.com/2008/07/tracing-d3d-applications.html)