It would be nice if there was a vulkan capture facility similar to the opengl one. No idea as to the feasability. It might be useful to look at the capture code that RenderDoc uses to perform it's captures?
It's definitely possible, in fact I suspect that it is easier than OpenGL because it doesn't have so much global state. The injection mechanism would be the same as with OpenGL. I just haven't implemented it yet.
I want that too. :)
There's a pull request to add Vulkan capture to OBS on Windows, maybe it could be of help in implementing a Linux version.
Hello,
Absolutely @yokem55 @Sporif !
In fact, looking at how renderdoc work was the start of the reflexion behind my implementation.
read this page : [https://renderdoc.org/vulkan-layer-guide.html] it learned my everything.
it explain how vulkan layering works, and it's not windows specific at all.
with this knowledge you'll be able to understand what i did and how to make it work on linux.
by the way, this renderdoc's page is full of detail regarding linux implementation.
@MaartenBaert : i didn't find any entrypoint to start an injection implementation, that's why i implemented it this way, but i'd be happy to see your result if you succeed with this approach.
That looks a lot nicer than the hacks I'm using at the moment for OpenGL. If I can find some spare time I will take a look at it.
Most helpful comment
It's definitely possible, in fact I suspect that it is easier than OpenGL because it doesn't have so much global state. The injection mechanism would be the same as with OpenGL. I just haven't implemented it yet.