Skip to content

Make wgpu the default renderer for eframe and egui.rs - #7615

Merged
emilk merged 12 commits into
mainfrom
emilk/default-wgpu
Nov 13, 2025
Merged

Make wgpu the default renderer for eframe and egui.rs#7615
emilk merged 12 commits into
mainfrom
emilk/default-wgpu

Conversation

@emilk

@emilk emilk commented Oct 9, 2025

Copy link
Copy Markdown
Owner

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

github-actions Bot commented Oct 9, 2025

Copy link
Copy Markdown

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
Copy Markdown

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

@emilk

emilk commented Nov 15, 2025

Copy link
Copy Markdown
Owner Author

Oops! Thanks for the reminder. PTAL:

emilk added a commit that referenced this pull request Nov 18, 2025
Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
* Closes emilk#5889

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
Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
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

2 participants