egui/sh
Andreas Reich c2a37f4bd8
eframe support for wgpu on the web (#2107)
* basic working wgpu @ webgl on websys

* fix glow compile error

* introduced WebPainter trait, provide wgpu renderstate

* WebPainterWgpu destroy implemented

* make custom3d demo work on wgpu backend

* changelog entry for wgpu support eframe wasm

* remove temporary logging hack

* stop using pollster for web
we're actually not allowed to block - this only worked because wgpu on webgl doesn't actually cause anything blocking. However, when trying webgpu this became an issue

* revert cargo update

* compile error if neither glow nor wgpu features are enabled

* code cleanup

* Error handling

* Update changelog with link

* Make sure --all-features work

* Select best framebuffer format from the available ones

* update to wasm-bindgen 0.2.83

* Fix typo

* Clean up Cargo.toml

* Log about using the wgpu painter

* fixup wgpu labels

* fix custom3d_wgpu_shader ub padding

* remove duplicated uniforms struct in wgsl shader for custom3d

* Update docs: add async/await to the web 'start' function

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2022-10-05 20:14:18 +02:00
..
build_demo_web.sh Move all crates into a crates directory (#1940) 2022-08-20 10:41:49 +02:00
check.sh egui_winit: support winit with default features disabled (#1971) 2022-08-30 08:49:32 +02:00
docs.sh Improve documentation and logging 2022-08-20 15:06:43 +02:00
find_bloat.sh Use proper shebang for all bash scripts: #!/usr/bin/env bash 2022-04-07 17:34:34 +02:00
setup_web.sh eframe support for wgpu on the web (#2107) 2022-10-05 20:14:18 +02:00
start_server.sh Change build_demo_web.sh option from --fast to --optimize 2022-08-02 09:56:38 +02:00
wasm_bindgen_check.sh Simplify, clean up and speed up CI (#1970) 2022-08-27 09:54:47 +02:00
wasm_size.sh Use proper shebang for all bash scripts: #!/usr/bin/env bash 2022-04-07 17:34:34 +02:00