srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/config/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'crates/config/src/engine')
-rw-r--r--crates/config/src/engine/support.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/config/src/engine/support.rs b/crates/config/src/engine/support.rs
index b67a688..9f7e537 100644
--- a/crates/config/src/engine/support.rs
+++ b/crates/config/src/engine/support.rs
@@ -144,6 +144,16 @@ pub(super) fn default_config() -> HashMap<String, ConfigValue> {
set("general.animation_duration", Number(200.0));
set("general.shadows", Bool(true));
set("general.resize_margin", Number(6.0));
+ // `false`: real GBM+EGL+`DrmCompositor` GPU rendering on the udev
+ // backend is opt-in and still missing real window content/decoration
+ // support (see `crates/wayland/src/udev/gpu.rs`'s own module doc
+ // comment for exactly what it does render) - unlike `general.
+ // rounded_corners` just above, this has one unambiguous default
+ // regardless of which backend ends up connecting (GPU rendering is
+ // udev-only and experimental everywhere), so it's seeded here like
+ // every other ordinary flag rather than left absent for a backend to
+ // decide.
+ set("general.gpu", Bool(false));
// Deliberately *not* seeded here, unlike every other `general.*` key --
// its actual default differs by backend (GLES/winit: on; udev/Pixman:
// off, an untested-on-real-hardware CPU cost too real to default to on