apitrace

Crates.ioapitrace
lib.rsapitrace
version0.4.0
created_at2025-10-24 20:51:43.856526+00
updated_at2025-12-23 00:26:24.066023+00
descriptionLibrary and binary tools for working with apitrace files.
homepage
repositoryhttps://gitlab.freedesktop.org/anholt/apitrace-rs
max_upload_size
id1899263
size1,094,308
Emma Anholt (anholt)

documentation

README

apitrace-rs

This is a library and binary crate for working with apitrace files in Rust.

Garbage collection

The apitrace-rs gc command can perform garbage collection of D3D8/D3D9 buffer, textute, and some state updates after frame trimming (removing draw calls and swaps before some frame of interest) has been done. The intent is to extend GC support to other APIs, as well.

Design goals of GC:

  • Absolute correctness
    • No optimistic removing of calls that are probably dead.
  • Non-disruptive by default
    • Rendering paths through the driver should be the same after GC as before.
    • No removing state changes, other than what we should need to do to make texture/buffer contents go away.
Commit count: 0

cargo fmt