Skip to content
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

Command buffer and swapchain usage needs clarification in header docs #43

Closed
thatcosmonaut opened this issue Jun 18, 2024 · 0 comments
Closed

Comments

@thatcosmonaut
Copy link
Owner

Based on some recent feedback:

So, if I understand correctly, that mean you can only draw to the swapchain texture from the associated command buffer? You should put that in the documentation if it's the case, that will help people understand why they are linked together. I think the first people that will use this API will be the one that use current SDL_renderer but want to improve their graphics with shader. You should not assume any advanced knowledge on how graphic API works.

Not really related to FNA, but to the new SDL_Gpu API, when building a command buffer on a different thread, is it ok to call the submit function on that same thread or does it have to be done on a single thread for all command buffers like Vulkan wants to?

We could clarify these requirements and best practices in the header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant