openglfx
openglfx copied to clipboard
NVidia NSight profiling
I have a question* Is there any way to collect data with NVidia NSight while using OpenGLFX?
As I remember, NSight can only connect to DirectX and Vulkan
I have never used it before, but was given the advice, relative to working with OpenGL, that it can automatically give me performance profiling and comparison of multiple runs of the code. NSight does appear to have information collection for OpenGL looking at its front page
I'll see how it can be used soon
Thank you!
Unfortunately, Nsight can only capture windows with a single rendering (created through glfw, for example). And since openglfx renders everything inside "offscreen" buffer and then glues the result to javaFX, this makes it impossible to catch.
Alternatively, you can use RenderDoc - it has support for such buffers. Look at the readme to enable it in openglfx.
Theoretically it is possible to create a "debug" mode, in which openglfx rendering will occur in a separate window. This will make it possible to use NSight
Thank you!
Are there any plans for this?
Yes, progress is slow, but work is underway