Skip to content

eframe: add feature wgpu_no_default_features#7700

Merged
emilk merged 2 commits intomainfrom
emilk/eframe-wgpu-no-default-features
Nov 12, 2025
Merged

eframe: add feature wgpu_no_default_features#7700
emilk merged 2 commits intomainfrom
emilk/eframe-wgpu-no-default-features

Conversation

@emilk
Copy link
Copy Markdown
Owner

@emilk emilk commented Nov 11, 2025

This changes the eframe/wgpu feature to also enable all the default features of wgpu and egui-wgpu. This makes switching eframe backend from glow to wgpu a lot easier.

To get the old behavior (depend on wgpu but you must opt-in to all its features), use the new wgpu_no_default_features feature.

@emilk emilk added the eframe Relates to epi and eframe label Nov 11, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 11, 2025

Preview available at https://egui-pr-preview.github.io/pr/7700-emilkeframe-wgpu-no-default-features
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

Copy link
Copy Markdown
Collaborator

@lucasmerlin lucasmerlin left a comment

Choose a reason for hiding this comment

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

Nice!

@emilk emilk merged commit df6f35d into main Nov 12, 2025
46 of 47 checks passed
@emilk emilk deleted the emilk/eframe-wgpu-no-default-features branch November 12, 2025 09:51
@White-Rabbit-Scientific
Copy link
Copy Markdown

Broken link.

Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
* Part of emilk#5889
* Closes emilk#7106

This changes the `eframe/wgpu` feature to also enable all the `default`
features of `wgpu` and `egui-wgpu`. This makes switching `eframe`
backend from `glow` to `wgpu` a lot easier.

To get the old behavior (depend on `wgpu` but you must opt-in to all its
features), use the new `wgpu_no_default_features` feature.
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.

No wgpu backend feature that is implemented for the target platform was enabled

3 participants