Skip to content
Tools for tracing OpenGL, Direct3D, and other graphics APIs
C++ Python CMake Java Objective-C++ C Other
Find file
Latest commit 2d5b6b1 @jrfonseca jrfonseca glretrace: Check ftruncate result.
Addresses GCC warning:

  "ignoring return value of ‘int ftruncate(int, __off_t)’, declared with
  attribute warn_unused_result [-Wunused-result]"


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.

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.

Something went wrong with that request. Please try again.