trim_stress: Also test any traces in the directory trim_stress/local This is useful for performing testing on traces that are too large to be considered for include in git, or for traces that cannot be shared due to proprietary contents.
trim_stress: Fail test at first frame which doesn't match reference When stress-testing large traces, it's inefficient to work through the entire trace before reporting an error that occurred in one of the first frames. Instead, check each frame one at a time immediately as each rendered frame becomes available. Then fail the test at the first mismatched frame.
glxsimple: Introduce an inter-frame texture dependency to exercise trim code The previous glxsimple program was too simple as each frame was entirely self-contained, (textures were created, initialized, and referenced only within single frames). For more realistic trimming, we create and initialize a texture in one frame, then reference that texture in a later frame. This is a better test to ensure that when trimming the first frame the texture creation and initialization is not discarded.
Add stress tests from "apitrace trim". The trim_stress directory makes it simple to stress test "apitrace trim" by simply dropping new trace files into this directory. The stress testing ensures that creating a new trace by trimming to a single frame still generates the same image as that frame from the original trace. It performs this test exhaustively for each frame of each trace. This testing ensures that trimming doesn't break the rendered results of any frame. It does not do anything to test that trimming actually discards anything. So the existing cli tests are still independendently useful for verifying that expected content is discarded.