Let the user of iced_wgpu::Renderer manually finish/recall the staging belt#2693
Let the user of iced_wgpu::Renderer manually finish/recall the staging belt#2693Azorlogh wants to merge 2 commits intoiced-rs:masterfrom
iced_wgpu::Renderer manually finish/recall the staging belt#2693Conversation
|
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? |
22fd4a8 to
4082e39
Compare
|
I updated the PR. Since recent changes the only thing left is the ability to manually finish & recall the staging belt. |
iced_wgpu::Engine to submit the queue themselficed_wgpu::Renderer manually finish/recall the staging belt
|
Actually there is a second change needed 😅 We need to be able to call |
|
Why does |
|
@hecrj In order to integrate to bevy's render graph, we need to append our commands to the |
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 callfinish/recallon the staging belt.This adds two methods
Renderer::staging_belt_finishandRenderer::staging_belt_recallto let the user do it manually.