gfxreconstruct
gfxreconstruct copied to clipboard
Replay looping feature for desktop
The original vktrace replay tool had a feature that allowed the capture file to be replayed multiple times. This feature was requested for gfxreconstruct in issue #1017.
This PR implements the feature and related changes, with additional CLI options for gfxrecon-replay:
-
--looping-end-after-count
-
--looping-end-after-duration
-
--preserve-windows
For testing, several application traces were collected and replayed with various configurations of options to help ensure the expected behavior was maintained, including the measurement frame range options, trimmed capture files, and obviously, the new added looping options.
For Vulkan, captures of both vkcube and the Talos Principle's built-in benchmark were used. For DX12, only captures of the Talos Principle were used.
The feature has not been implemented on Android, and minimal changes were made to the Android code. The Android source was successfully compiled after each commit, but no Android applications were tested. It shouldn't be too much work to add looping for Android, I just don't have a decent Android testing environment set up.