-
-
Notifications
You must be signed in to change notification settings - Fork 34
Create interface for VulkanSceneGraph #144
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
Comments
I tried looking at this myself, but I need some guidance:
I'm trying to base my solution on the vsgImGui which interfaces VSG to imgGUI, which when recording calls out to:
Is there a function doing the corresponding call to record the vkvg commands? To me it seems like vkvg is currently hardcoded to create its own command buffer through |
Here are some notes on the internal use of buffers: https://github.com/jpbruyere/vkvg/wiki/Internals.
Sharing the command buffer with the host app looks to me quiet invasive, if targeting secure applications, this looks a bad option for me. If cmd are passed as secondary buffers, this could be better maybe. The point is to be able to keep track of command buffers debug counters and timing. I plan to crate a new structure: vkvg_path to holds multiple stroking and filling algorithms, that addition to the existing model could ease to implement such an idea..... The error handling model of vkvg follows cairo principles: api could continue to be called even after faulting without halting host application, if vkvg is completely in error, the only problem must be a black screen, but the host operations should be able to continue. The status field in each structure must keep track of current error. Feel free to expose more of your questioning so that I could help you. |
VulkanSceneGraph (VSG) is a high level interface to Vulkan under active development. I'd love to see an adapter for VKVG to VSG similar to the existing ImGui adapter.
References
The text was updated successfully, but these errors were encountered: