Tools for tracing OpenGL, Direct3D, and other graphics APIs
C++ Python CMake Java Objective-C++ C
Failed to load latest commit information.
cli inject: Initial mhook integration. Sep 7, 2016
cmake cmake: Require MSVC 2015. Jul 26, 2016
compat compat: Implement std::make_unique. Apr 4, 2016
dispatch d3dretrace: Don't duplicate ATI1/ATI2 FourCC defines. Sep 21, 2016
docs docs: Document the Snappy format too. Oct 5, 2016
gui cmake: Target macos 10.11 and up; stop building 32bits executables. Jan 24, 2017
helpers d3dretrace: Add support for half float formats Sep 21, 2016
inject inject: Remove unused functions on mhook implementation. Sep 19, 2016
lib glxtrace: Intercept and flush on _exit. Aug 27, 2016
retrace glstate: Avoid calling glGetProgramiv(GL_PROGRAM_BINARY_LENGTH). Jan 25, 2017
scripts snapdiff: Handle missing images more gracefully. Dec 2, 2016
specs specs: Recognize EXT_window_rectangles params. Dec 9, 2016
thirdparty mhook: Remove HeapAlloc anti-recursion hack. Sep 12, 2016
wrappers wgltrace: Emit fake string marker with GDI font for all wglUseFont* e… Aug 31, 2016
.dir-locals.el Improve the indention in emacs just a bit. Oct 26, 2011
.editorconfig editorconfig: Specify indentation for Objective-C files. Jan 24, 2017
.gitignore common: Add missing threading functionality. Apr 11, 2016
.travis.yml travis: Build with XCode 8.2 Jan 12, 2017 docs: Use ANDROID_API_LEVEL=21. Sep 2, 2016
CMakeLists.txt cmake: Let CMAKE_OSX_DEPLOYMENT_TARGET take its default value. Jan 29, 2017
LICENSE Update copyright in License. Sep 27, 2012
README.markdown docs: Add a status section. Oct 13, 2016
appveyor.yml appveyor: Upgrade to Visual Studio 2015. Mar 29, 2016


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.