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