-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On-Screen Frame Counter for vkcube #672
Comments
Are you suggesting a new vulkan layer which adds a frame counter overlay? I imagine such a layer would be a lot of work to write while only printing a single number. The monitor layer already exists in LunarG/VulkanTools, which writes the frame to the titlebar rather than the window. I do see the utility, especially in frame capture/replay tools. A big "Frame: 20" would be helpful while stepping through a frame in order to select the start/end frames. As a side note, Renderdoc already has such functionality built into the capture layer. Maybe any layers that need such info could print it themselves? That way the version is internally consistent. |
Apologies, I have updated the title to reflect my intent. The reason for doing it in vkcube is that that app seems to be used as a sanity check in discussions of capture issues. Another layer would be more complexity while debugging. |
Ahh that makes way more sense. |
mangohud? |
+1 for this |
Downstream tools such as layers which display overlays are able to paint the current frame number but it would be useful at least as a check on them or to simplify the layer stack for the vkcube app to print it's idea of the current frame number into the framebuffer.
This would mostly be of interest as a visual confirmation for authors of tools which are able to take actions over specific frame ranges such as trace capture and replay that those tools selected the correct frames to operate on.
Of course the big issue would be, does the frame count start at zero or one?
The text was updated successfully, but these errors were encountered: