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

Some changes that helped me awhile ago #70

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ColonelThirtyTwo
Copy link

I'm cleaning up my repos and forks and noticed that I had some changes for this crate that I used but didn't publish. They helped me for my project, so consider taking them.

Check the descriptions for each individual commit for changes and justifications.

No reason to use multi-submission ones.
It's wasteful for egui to have their own.
Creating and submitting command buffers is somewhat expensive, so consolidate that a bit.
The point of secondary command buffers is a) creating secondary buffers on multiple threads or
b) editing a long-lived command buffer by replacing secondary buffer content. This egui backend
does neither.

Change draw_on_subpass_image to take a mutable reference to a command buffer instead of returning one,
so that users can use their own command buffer to better batch rendering.
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

Successfully merging this pull request may close these issues.

1 participant