KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.33k stars 648 forks source link

Reduce updating frequency for fps in GUI. #1039

Closed asuessenbach closed 6 months ago

asuessenbach commented 6 months ago

Description

Currently, the fps information in the GUI is hard to read, as it's changing to often. With this change, the fps is updated only after at least half a second.

Build tested on Win10 with VS2022. Run tested on Win10 with NVidia GPU.

General Checklist:

Please ensure the following points are checked:

Sample Checklist

If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist: