Enable libcosmic wgpu backend for performance

This commit is contained in:
Jeremy Soller 2023-11-13 15:41:15 -07:00
parent 05c5cc662d
commit 5c015f1baa
3 changed files with 3 additions and 2 deletions

1
Cargo.lock generated
View file

@ -2458,6 +2458,7 @@ dependencies = [
"iced_runtime", "iced_runtime",
"iced_style", "iced_style",
"iced_tiny_skia", "iced_tiny_skia",
"iced_wgpu",
"iced_widget", "iced_widget",
"iced_winit", "iced_winit",
"lazy_static", "lazy_static",

View file

@ -30,7 +30,7 @@ features = ["syntect", "vi"]
git = "https://github.com/pop-os/libcosmic" git = "https://github.com/pop-os/libcosmic"
branch = "menu" branch = "menu"
default-features = false default-features = false
features = ["winit"] features = ["winit", "wgpu"]
#path = "../libcosmic" #path = "../libcosmic"
[patch.crates-io] [patch.crates-io]

View file

@ -56,7 +56,7 @@ lazy_static::lazy_static! {
} }
fn main() -> Result<(), Box<dyn std::error::Error>> { fn main() -> Result<(), Box<dyn std::error::Error>> {
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init(); env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();
localize::localize(); localize::localize();