-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
There aren't much Vulkan programs yet. As these demos cover a lot of Vulkan functionality, it would be nice if they could also be used for testing/comparing performance.
Best would be if demos could:
- Have an option for how long the demo will run before it exits (seconds)
- Have an option for how long demo runs "warmup" before it will start measuring performance (seconds or frames)
- Outputting FPS at given interval to console
- At the end outputting frame count and min/max/avg FPS (or frame time)
This requires refactoring the command line option handling (see the fullscreen issue) and mainloop. Most of the code in mainloop is same for all platforms so it could be common with parts specific to given platforms being e.g. separate methods.