Skip to content

Commit 3b2e2c8

Browse files
authored
Update egui to 0.25, wgpu to 0.19 and fix Firefox compatibility (#88)
* feat: wasm32 autobuild now builds webgl fallback binary as well * feat: add feature detection for secure context and Firefox private browsing * fix: fix panic when `handle.requestPermission()` method doesn't exist * fix: use `__FILE_SYSTEM_TOOLS__.parseHandle` if it exists * fix: update the trunk URL in the build workflow * fix: fix `request_permission` binding being broken in Chromium * merge: update eframe and egui-wgpu from 0.24.1 to 0.25.0 * chore: update egui, catppuccin-egui and other egui-related crates * chore: fix update-induced compilation errors * chore: clippy * merge: update wgpu to 0.19 Based on emilk/egui#3824 * chore: fix more update-induced errors * chore: remove DX12 push constants workaround (fixed in wgpu 0.19) * feat: web build now has WebGPU and WebGL support in one binary * fix: make eframe's secure context check use worker context * chore: write upstream eframe and egui-wgpu version as 0.25.0 Chances are when the wgpu update changes land into a stable release of egui, they're going to use a squash merge, so we have no choice but to use commits from the egui master branch as the base commits for merges. * chore: update Trunk to latest version * chore: remove unnecessary dependency on glow * chore: remove assets/webgpu-test-worker.js * refactor: use relative public path This allows easily serving Luminol web builds under any path (e.g. https://example.com/luminol/ instead of https://example.com/).
1 parent fa6240f commit 3b2e2c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1452
-1011
lines changed

.github/workflows/build.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ jobs:
102102
targets: wasm32-unknown-unknown
103103
components: rust-src
104104
- name: Download and install Trunk binary
105-
run: wget -qO- https://github.com/thedodd/trunk/releases/download/v0.17.5/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
105+
run: wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.18.7/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- -C ${{ runner.temp }}
106106
- name: Rust Cache
107107
uses: Swatinem/rust-cache@v2
108-
- run: ./trunk build --release
108+
- name: Build luminol (Release)
109+
run: ${{ runner.temp }}/trunk build --release
109110
- name: Upload artifact
110111
uses: actions/upload-artifact@v2
111112
with:
112113
name: luminol-trunk
113-
path: ${{ github.workspace }}/dist/
114+
path: ${{ github.workspace }}/dist/

0 commit comments

Comments
 (0)