]> git.cworth.org Git - apitrace/commitdiff
Document how to use retracediff on Windows.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 21 Mar 2012 18:58:19 +0000 (18:58 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 21 Mar 2012 18:58:19 +0000 (18:58 +0000)
README.markdown

index 168a6ea19469c44b6618511450b3e6c1b623bcf9..536729e81fcac8bbc121db5ca71b87d2b82210b5 100644 (file)
@@ -358,16 +358,20 @@ reference software renderer.
 
 This can be achieved with retracediff.py script, which invokes glretrace with
 different environments, allowing to choose the desired GL driver by
 
 This can be achieved with retracediff.py script, which invokes glretrace with
 different environments, allowing to choose the desired GL driver by
-manipulating variables such as `LD_LIBRARY_PATH` or `LIBGL_DRIVERS_DIR`.
+manipulating variables such as `LD_LIBRARY_PATH`, `LIBGL_DRIVERS_DIR`, or
+`TRACE_LIBGL`.
 
 
-For example:
+For example, on Linux:
 
     ./scripts/retracediff.py \
         --ref-env LD_LIBRARY_PATH=/path/to/reference/GL/implementation \
 
     ./scripts/retracediff.py \
         --ref-env LD_LIBRARY_PATH=/path/to/reference/GL/implementation \
-        -r ./glretrace \
+        --retrace /path/to/glretrace \
         --diff-prefix=/path/to/output/diffs \
         application.trace
 
         --diff-prefix=/path/to/output/diffs \
         application.trace
 
+Or on Windows:
+
+    python scripts\retracediff.py --retrace \path\to\glretrace.exe --ref-env TRACE_LIBGL=\path\to\reference\opengl32.dll application.trace
 
 
 Links
 
 
 Links