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

@@ -4608,3 +4608,19 @@ msgstr "Динамический фон"
msgid "Animated album-art background behind the whole app. High resource use — GPU accelerated."
msgstr "Анимированный фон из обложки альбома за всем приложением. Высокое потребление ресурсов — аппаратное ускорение GPU."
# Preferred GPU (Renderer settings)
msgid "Preferred GPU"
msgstr "Предпочитаемый GPU"
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 "Какой GPU отрисовывает приложение. На гибридном ноутбуке выбор дискретного GPU переносит нагрузку динамического фона со встроенного (меньше нагрев, но выше энергопотребление). Рекомендуется Авто (требуется перезапуск)"
msgid "discrete"
msgstr "дискретный"
msgid "integrated"
msgstr "встроенный"
msgid "Preferred GPU changed — restart QBZ to apply"
msgstr "Предпочитаемый GPU изменён — перезапустите QBZ, чтобы применить"