feat(shell): per-GPU selector, ambient scene in immersive, glass carousels/viewall

Smoke round 5 (owner feedback). Checkpoint.

- Preferred GPU selector (Settings > Renderer, Linux/wgpu): lists each detected
  GPU by name ("Auto" + e.g. "NVIDIA … (discrete)" / "Intel … (integrated)"),
  persisted (ui_prefs.gpu_power by device name), applied at startup via the wgpu
  adapter PowerPreference (WGPU_POWER_PREF env still wins). Fixes the iGPU running
  hot under the shader background on hybrid laptops — pick the discrete GPU.
  New gpu_adapters() enumerates+dedups adapters; gpu_power_from_prefs /
  _options / _seed_index / _value_for_index.
- Ambient metaball added to the IMMERSIVE scene picker (mode 7, wgpu-only opt-in);
  the non-shader atmosphere stays the fallback for GL/software tiers.
- Glass treatment on the surfaces that were still opaque: carousel < > nav
  buttons (6 carousels), "Filter by category" pill, "Filter by genre" buttons,
  and the PlaylistBrowseView (View-all) header band + category radio row.
- i18n: "Preferred GPU" + description + discrete/integrated + restart toast (8
  locales).

Base: 76ea5a82. Prior checkpoint: a0f5cf2b.

cc
This commit is contained in:
vicrodh committed 2026-07-17 10:54:45 -06:00
1 parent a0f5cf2bf5
commit 8c2f84b798
23 files changed
+341 -19

No files matched your search

@@ -4594,3 +4594,19 @@ msgstr "Arrière-plan dynamique"
msgid "Animated album-art background behind the whole app. High resource use — GPU accelerated."
msgstr "Arrière-plan animé à partir de la pochette derrière toute l'application. Consommation de ressources élevée — accéléré par le GPU."
# Preferred GPU (Renderer settings)
msgid "Preferred GPU"
msgstr "GPU préféré"
msgid "Which GPU renders the app. On a hybrid laptop, picking the discrete GPU moves the dynamic-background load off the integrated one (cooler, but more power). Auto is recommended (requires restart)"
msgstr "Quel GPU affiche l'application. Sur un portable hybride, choisir le GPU dédié déplace la charge de l'arrière-plan dynamique hors du GPU intégré (plus frais, mais plus gourmand en énergie). Auto est recommandé (redémarrage requis)"
msgid "discrete"
msgstr "dédié"
msgid "integrated"
msgstr "intégré"
msgid "Preferred GPU changed — restart QBZ to apply"
msgstr "GPU préféré modifié — redémarrez QBZ pour appliquer"