apitrace


What is apitrace?

apitrace consists of a set of tools to:

  • trace OpenGL, Direct3D, and DirectDraw APIs calls to a file;
  • replay the recorded calls from a file, on any machine and, for OpenGL, on any operating system;
  • inspect state at any call while replaying;
  • view framebuffers and textures;
  • view call data;
  • edit trace files;
  • profile performance of traces;

Screenshots are of Cube 2: Sauerbraten


Features

API support matrix
API Trace Replay Inspect Profile
OpenGL 1.0 – 4.5
OpenGL ES 1.0 – 3.0
Direct3D 11.x
Direct3D 10.x
Direct3D 9.x
Direct3D 8
Direct3D 7
DirectDraw
OS support matrix
OS Trace Replay CLI GUI
Linux
OS X
Windows

Status

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.


Download

apitrace is open-source and is hosted on GitHub, and the source can be cloned via git.

git clone --recurse-submodules https://github.com/apitrace/apitrace

Latest Windows and Linux binaries are available from the table below.

Downloads
CPU OS
Windows Linux
x86_64 Download Download
x86 Download
Arm64 Download Download

Older Windows binaries are available from GitHub releases.


Documentation

Miscellaneous: