From: José Fonseca Date: Mon, 27 Feb 2012 10:37:32 +0000 (+0000) Subject: Update README. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=155fc787c3cb6e0cb81ae6d17086ca969ac99e8c Update README. --- diff --git a/README.markdown b/README.markdown index 26f89e4..535653d 100644 --- a/README.markdown +++ b/README.markdown @@ -15,21 +15,17 @@ About **apitrace** Basic usage =========== - -Linux and Mac OS X ------------------- - Run the application you want to trace as - apitrace trace /path/to/application [args...] + apitrace trace --api API /path/to/application [args...] and it will generate a trace named `application.trace` in the current -directory. You can specify the written trace filename by setting the -`TRACE_FILE` environment variable before running. +directory. You can specify the written trace filename by passing the +`--output` command line option. View the trace with - apitrace dump --color application.trace + apitrace dump application.trace Replay an OpenGL trace with @@ -43,23 +39,6 @@ Start the GUI as qapitrace application.trace -Windows -------- - -* Copy `opengl32.dll`, `d3d8.dll`, or `d3d9.dll` from build/wrappers directory - to the directory with the application you want to trace. - -* Run the application. - -* View the trace with - - \path\to\apitrace dump application.trace - -* Replay the trace with - - \path\to\glretrace application.trace - - Advanced command line usage =========================== @@ -139,6 +118,15 @@ Note that although Mac OS X has an `LD_PRELOAD` equivalent, `DYLD_FORCE_FLAT_NAMESPACE=1` which breaks most applications. See the `dyld` man page for more details about these environment flags. +### Windows ### + +Copy `opengl32.dll`, `d3d8.dll`, or `d3d9.dll` from the wrappers directory +to the directory with the application you want to trace. Then run the +application. + +You can specify the written trace filename by setting the `TRACE_FILE` +environment variable before running. + Emitting annotations to the trace ---------------------------------