mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Add egui_wgpu crate (#1564)
Based on https://github.com/hasenbanck/egui_wgpu_backend `egui-wgpu` is now an official backend for `eframe` (opt-in). Use the `wgpu` feature flag on `eframe` and the `NativeOptions::renderer` settings to pick it. Co-authored-by: Nils Hasenbanck <nils@hasenbanck.de> Co-authored-by: Sven Niederberger <niederberger@embotech.com> Co-authored-by: Sven Niederberger <73159570+s-nie@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
|
||||
cd "$script_path/.."
|
||||
|
||||
CRATE_NAME="egui_demo_app"
|
||||
FEATURES="http,persistence,screen_reader"
|
||||
FEATURES="glow,http,persistence,screen_reader"
|
||||
|
||||
OPEN=false
|
||||
FAST=false
|
||||
|
||||
@@ -20,9 +20,11 @@ cargo fmt --all -- --check
|
||||
cargo doc -p eframe -p egui -p egui_demo_lib -p egui_extras -p egui_glium -p egui_glow -p egui-winit -p emath -p epaint --lib --no-deps --all-features
|
||||
cargo doc --document-private-items --no-deps --all-features
|
||||
|
||||
(cd eframe && cargo check --no-default-features)
|
||||
(cd eframe && cargo check --no-default-features --features "glow")
|
||||
(cd eframe && cargo check --no-default-features --features "wgpu")
|
||||
(cd egui && cargo check --no-default-features --features "serde")
|
||||
(cd egui_demo_app && cargo check --no-default-features)
|
||||
(cd egui_demo_app && cargo check --no-default-features --features "glow")
|
||||
(cd egui_demo_app && cargo check --no-default-features --features "wgpu")
|
||||
(cd egui_demo_lib && cargo check --no-default-features)
|
||||
(cd egui_extras && cargo check --no-default-features)
|
||||
(cd egui_glium && cargo check --no-default-features)
|
||||
|
||||
@@ -4,7 +4,7 @@ script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
|
||||
cd "$script_path/.."
|
||||
|
||||
CRATE_NAME="egui_demo_app"
|
||||
FEATURES="http,persistence,screen_reader"
|
||||
FEATURES="glow,http,persistence,screen_reader"
|
||||
|
||||
# This is required to enable the web_sys clipboard API which eframe web uses
|
||||
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
|
||||
|
||||
Reference in New Issue
Block a user