Skip to content

Conversation

@emilk
Copy link
Owner

@emilk emilk commented Oct 9, 2025

See the above issue for motivation.

To use glow instead, disable the default features of eframe and opt-in to glow.

This also changes egui.rs to use wgpu, which means WebGPU when available, and WebGL otherwise

@emilk emilk added the eframe Relates to epi and eframe label Oct 9, 2025
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

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

View snapshot changes at kitdiff

@emilk emilk marked this pull request as draft October 9, 2025 10:11
@emilk emilk added this to the 0.34.0 milestone Oct 9, 2025
@emilk emilk marked this pull request as ready for review October 9, 2025 13:37
@emilk emilk added the do-not-merge Do not merge yet, but you can still review it label Oct 10, 2025
@emilk emilk marked this pull request as draft October 10, 2025 06:24
@emilk emilk removed the do-not-merge Do not merge yet, but you can still review it label Nov 12, 2025
@emilk emilk marked this pull request as ready for review November 12, 2025 13:49
@emilk emilk changed the title Make wgpu the default renderer for eframe Make wgpu the default renderer for eframe and egui.rs Nov 12, 2025
@Wumpf Wumpf self-requested a review November 12, 2025 16:06
@emilk emilk merged commit 9ef610e into main Nov 13, 2025
47 checks passed
@emilk emilk deleted the emilk/default-wgpu branch November 13, 2025 10:16
@songpola
Copy link

Maybe we need to change the docs too? (both egui and eframe)

@emilk
Copy link
Owner Author

emilk commented Nov 15, 2025

Oops! Thanks for the reminder. PTAL:

emilk added a commit that referenced this pull request Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eframe Relates to epi and eframe

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch to wgpu as default backend of eframe

3 participants