From: José Fonseca Date: Wed, 21 Mar 2012 18:58:19 +0000 (+0000) Subject: Document how to use retracediff on Windows. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=e4a4f15f5b92e0abbd24d7d053da25f8278c9f64;p=apitrace Document how to use retracediff on Windows. --- diff --git a/README.markdown b/README.markdown index 168a6ea..536729e 100644 --- a/README.markdown +++ b/README.markdown @@ -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 -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 \ - -r ./glretrace \ + --retrace /path/to/glretrace \ --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