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 "Fundo dinâmico"
msgid "Animated album-art background behind the whole app. High resource use — GPU accelerated."
msgstr "Fundo animado com a capa do álbum atrás de toda a aplicação. Uso elevado de recursos — acelerado por GPU."
# Preferred GPU (Renderer settings)
msgid "Preferred GPU"
msgstr "GPU preferida"
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 "Qual GPU renderiza o app. Em um laptop híbrido, escolher a GPU dedicada transfere a carga do fundo dinâmico para fora da integrada (mais fria, mas com maior consumo). Auto é recomendado (requer reinicialização)"
msgid "discrete"
msgstr "dedicada"
msgid "integrated"
msgstr "integrada"
msgid "Preferred GPU changed — restart QBZ to apply"
msgstr "GPU preferida alterada — reinicie o QBZ para aplicar"