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
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:
8
Cargo.lock
generated
8
Cargo.lock
generated
@@ -4810,7 +4810,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sf-app"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"log",
|
||||
@@ -4820,7 +4820,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sf-pack"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ruzstd",
|
||||
@@ -4832,7 +4832,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sf-ui"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"glow 0.16.0",
|
||||
@@ -4848,7 +4848,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "sf-ui-gallery"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"env_logger",
|
||||
|
||||
Reference in New Issue
Block a user