sf-ui 0.1.1: GPU measurement at startup and a Material style for weak GPUs
All checks were successful
ci / test (push) Successful in 20m31s

- GlassRenderer::choose_quality measures a typical TV frame offscreen at
  window size and picks Full, Light or the new Quality::Material; cached
  per GPU and size in ~/.cache/fennec-glass, SMARTFOX_GLASS overrides it.
  Glass picks it by default (set_auto_quality); set_quality fixes it.
- Material: matte panes with a small shadow and a focus ring on a plain
  palette-coloured backdrop, in its own cheap shader, with no backdrop
  texture or full-screen pass. A still Material layer draws no frames
  while nothing changes.
- Glass panes: a fast path for single panes, light/flat really skip the
  full lighting, and each pane's quad only covers its actual shadow.

On a Raspberry Pi 4 at 1080p: full glass 50 ms, light 39 ms per frame,
so Material is picked; the launcher animates at 55-60 fps (was 17).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-11-01 19:14:11 +01:00
parent f00e8c6847
commit 25fecb8dae
7 changed files with 457 additions and 19 deletions

View File

@@ -5,7 +5,7 @@ members = ["sf-app", "sf-ui", "sf-ui/gallery", "sf-pack"]
exclude = ["templates/rust-app"]
[workspace.package]
version = "0.1.0"
version = "0.1.1"
edition = "2024"
license = "MIT"
repository = "https://gitea.bluefox.support/fennec/sdk"