Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configurable wgpu backend #2207

Merged
merged 7 commits into from
Oct 31, 2022
Merged

configurable wgpu backend #2207

merged 7 commits into from
Oct 31, 2022

Conversation

Wumpf
Copy link
Collaborator

@Wumpf Wumpf commented Oct 31, 2022

introduces WgpuConfiguration, a config object used for both Native (winit) and Web rendering with wgpu. Encapsulates creation options for wgpu instance/adapter/device/surface and exposes a callback for surface errors.

Needed for users selecting WebGPU as backend on the web - #2137

(tested so far only via demo on wgpu and wgpu/web(gl))

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

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

This is great ⭐

crates/eframe/CHANGELOG.md Outdated Show resolved Hide resolved
crates/eframe/src/epi.rs Outdated Show resolved Hide resolved
crates/egui-wgpu/CHANGELOG.md Outdated Show resolved Hide resolved
crates/egui-wgpu/src/lib.rs Show resolved Hide resolved
crates/egui-wgpu/src/lib.rs Outdated Show resolved Hide resolved
@emilk emilk merged commit 4c82519 into emilk:master Oct 31, 2022
@Wumpf Wumpf deleted the wgpu-configuration branch October 31, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants