Tools for tracing OpenGL, Direct3D, and other graphics APIs
Clone or download
jrfonseca glws: Avoid deprecated NSOpenGLContext methods.
Alas it's not sufficient to avoid issues with Mojave.
Latest commit b77e5c9 Dec 6, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci ci: Import CentOS 6 dockerfile. Sep 13, 2018
cli Add call filtering for sed command Oct 26, 2018
cmake cmake: Detect and require d3d11_4.h include. Oct 11, 2017
compat compat: Move Windows error codes to winsdk_compat.h. Sep 22, 2017
dispatch glws: Silence GL deprecation warnings more effectively. Dec 6, 2018
docs docs: Document VENDOR env var. Nov 21, 2018
gui cmake: Silence CMP0071 warnings. Feb 21, 2018
helpers [apitrace] glstate: Set CLAMP_READ_COLOR to false before glReadPixels. Aug 4, 2017
inject inject: Avoid inconsistent reinterpret_cast warnings. Feb 21, 2018
lib guids: Add IID_IDXGIAdapterInternal2. Nov 20, 2018
retrace glws: Avoid deprecated NSOpenGLContext methods. Dec 6, 2018
scripts scripts: Added 'glXCreateNewContext' to the list of context creation … Nov 8, 2017
specs specs: Avoid depending on newer Windows SDK. Dec 5, 2018
thirdparty brotli: Update to 1.0.2. Apr 5, 2018
wrappers dxgitrace: Serialize window size on CreateSwapChainForHwnd. Dec 4, 2018
.dir-locals.el Improve the indention in emacs just a bit. Oct 26, 2011
.editorconfig editorconfig: Ensure tab size is always 8. Sep 12, 2017
.gitignore d3dretrace: Don't convert from sRGB to linear colorspace when dumping… Dec 6, 2018
.travis.yml travis: Upgrade to Xcode 9.4. Sep 11, 2018
CMakeLists.txt glws: Silence GL deprecation warnings more effectively. Dec 6, 2018
LICENSE Update copyright in License. Sep 27, 2012
README.markdown docs: Add a status section. Oct 13, 2016
appveyor.yml cmake: Always log Windows SDK version used. Dec 5, 2018


About apitrace

apitrace consists of a set of tools to:

  • trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs calls to a file;

  • replay OpenGL and OpenGL ES calls from a file;

  • inspect OpenGL state at any call while retracing;

  • visualize and edit trace files.

See the apitrace homepage for more details.


TL;DR: Apitrace is still being maintained, but the maintainer has very little time to work on it, so patches/issues/requests are addressed if/as time permits.

Long version here

Obtaining apitrace

To obtain apitrace either download the latest binaries for your platform if available, or follow these instructions to build and install it yourself.

On 64bits Linux and Windows platforms you'll need apitrace binaries that match the architecture (32bits or 64bits) of the application being traced.


Detailed usage instructions are available here.