1 This directory performs stress testing of "apitrace trim".
3 For each trace file in this directory the trim_stress.py test driver
4 will perform the following operations:
8 1. Generate snapshots of original trace in ./<program>-ref/, (this
9 step is skipped if the <program>-ref directory already exists.
10 Simply delete this directory before "make test" to force new
11 generation of reference images.
13 2. For each frame of the trace:
15 1. Use "apitrace trim" to trim <program>.trace to a
16 single-frame trace in <program>-trim.trace
18 2. Generate a snapshot of the trimmed frame to
19 ./<program>-tmp-out/<frame>.png
21 3. Use "apitrace diff-images" to compare this one frame with
22 the corresponding reference image in ./<program>-ref. If
23 the images differ the entire process is interrupted here.
25 4. Move the frame snapshot from ./<program>-tmp-out to