procedural-3d-engine/base
Lionel Landwerlin 9db191f9a9 Make FPS counter more accurate
While trying to figure a discrepancy between the FPS counter from the
overlay we've introduced in Mesa [1] and the counter in the Vulkan
demos, I figured the demos are not accounting for part of the
rendering loop but rather just the amount of time spent rendering.

This changes accounts for the total amount of time between 2 frames. I
don't think any difference is visible until you reach high frame rates
of 100s or so.

[1]: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/303
2019-02-23 20:51:38 +00:00
..
benchmark.hpp Output device info, benchmark result file optional 2018-01-19 21:43:00 +01:00
camera.hpp Public updated property for camera class 2018-04-08 12:27:45 +02:00
CMakeLists.txt Updated to ImGui 1.65 2018-09-07 15:26:43 +02:00
frustum.hpp
keycodes.hpp Removed key dummy codes for android 2017-11-04 10:33:55 +01:00
threadpool.hpp
VulkanAndroid.cpp Android alert display functionality using JNI 2018-04-30 22:24:45 +02:00
VulkanAndroid.h Android alert display functionality using JNI 2018-04-30 22:24:45 +02:00
VulkanBuffer.hpp
VulkanDebug.cpp Debug message callback calling conventions 2017-11-04 15:48:51 +01:00
VulkanDebug.h Debug message callback calling conventions 2017-11-04 15:48:51 +01:00
VulkanDevice.hpp Add missing flush in one of the buffer creation helpers. 2018-07-12 12:41:05 +01:00
vulkanexamplebase.cpp Make FPS counter more accurate 2019-02-23 20:51:38 +00:00
vulkanexamplebase.h Make FPS counter more accurate 2019-02-23 20:51:38 +00:00
VulkanFrameBuffer.hpp
VulkanglTFModel.hpp Updated tinyGLTF loader 2018-11-23 19:39:48 +01:00
VulkanHeightmap.hpp
VulkanInitializers.hpp Added basic input attachment sample 2018-07-15 18:18:41 +02:00
VulkanModel.hpp Result (exit) codes for fatal terminations 2018-01-21 18:28:17 +01:00
VulkanSwapChain.hpp Check against surface capability usage flags instead of format flags for setting additional swapchain usage flags 2018-06-02 11:31:25 +02:00
VulkanTexture.hpp fix: parameter same to member name 2019-01-21 00:05:51 +08:00
VulkanTools.cpp Code cleanup, return and exit conditions for Android 2018-05-01 11:23:36 +02:00
VulkanTools.h Result (exit) codes for fatal terminations 2018-01-21 18:28:17 +01:00
VulkanUIOverlay.cpp Nicer font for ImGui overlay 2019-02-20 20:57:38 +01:00
VulkanUIOverlay.h Optimized UI overlay strategy 2018-09-01 12:58:28 +02:00