gfxreconstruct icon indicating copy to clipboard operation
gfxreconstruct copied to clipboard

Add timestamp metadata and use it to replay at same speed

Open JnCrMx opened this issue 2 years ago • 8 comments

This adds a timestamp command before every VkQueuePresent and syncs the relative delay between timestamp commands in replay.

Therefore, the replay will be around the same speed as the original program and e.g. animations do not look too fast.

This is just something I needed and found useful for myself. I would probably make this optional for replay and maybe for capture as well. The changes required for that will be added later on.

I would appreciate any kind of feedback on this, but it would of course also be fine if this kind of feature is not desired for GFXreconstruct.

JnCrMx avatar Aug 09 '22 12:08 JnCrMx