Skip to content

Conversation

@Azorlogh
Copy link
Contributor

@Azorlogh Azorlogh commented Dec 8, 2024

The iced integration for bevy needs to let Bevy take care of submitting the queue, so it can't call Renderer::present. But it still needs to call finish/recall on the staging belt.
This adds two methods Renderer::staging_belt_finish and Renderer::staging_belt_recall to let the user do it manually.

@srussvoll
Copy link

Bevy 0.15 support has been completed in tasgon/bevy_iced#34, and is blocked by this PR. What is the status of this PR? Are there any changes needed to get this through?

@Azorlogh Azorlogh force-pushed the more-flexible-wgpu-engine branch from 22fd4a8 to 4082e39 Compare April 8, 2025 22:11
@Azorlogh
Copy link
Contributor Author

Azorlogh commented Apr 8, 2025

I updated the PR. Since recent changes the only thing left is the ability to manually finish & recall the staging belt.

@Azorlogh Azorlogh changed the title Allow the user of iced_wgpu::Engine to submit the queue themself Let the user of iced_wgpu::Renderer manually finish/recall the staging belt Apr 8, 2025
@Azorlogh
Copy link
Contributor Author

Azorlogh commented Apr 8, 2025

Actually there is a second change needed 😅 We need to be able to call Renderer::draw too. I made it public

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.

2 participants