Skip to content

Wgpu resources are no longer wrapped in Arc (since they are now Clone)#5612

Merged
Wumpf merged 3 commits intomasterfrom
reduce-wgpu-arc
Jan 20, 2025
Merged

Wgpu resources are no longer wrapped in Arc (since they are now Clone)#5612
Wumpf merged 3 commits intomasterfrom
reduce-wgpu-arc

Conversation

@Wumpf
Copy link
Collaborator

@Wumpf Wumpf commented Jan 16, 2025

Wgpu 24 makes most of its interface Clone. Which means we no longer have to wrap everything in Arc! \o/

@Wumpf Wumpf requested a review from lucasmerlin as a code owner January 16, 2025 16:16
@Wumpf Wumpf mentioned this pull request Jan 16, 2025
///
/// # Errors
/// Returns an error if the rendering fails.
#[cfg(any(feature = "wgpu", feature = "snapshot"))]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bacon was unhappy before. understandable!

@github-actions
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5612-reduce-wgpu-arc
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

Co-authored-by: Nicolas <bircni@icloud.com>
@Wumpf Wumpf merged commit 30e66e4 into master Jan 20, 2025
46 checks passed
@Wumpf Wumpf deleted the reduce-wgpu-arc branch January 20, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants