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.