upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-22 20:05:20 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-29 11:42:28 -0500
commit15c54566c5183876107ad748c73eff41ba61f42f (patch)
tree534f1da0f0856fe7c922cc243b41ca25c4d86280 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent71b171ee47589ff0822383bf433df99f08c9d2aa (diff)
launcher: the Play page's scene, generated from the theme
src/scene.rs draws a dusk (dark) or a morning (light) over water, with a shore and two palms in silhouette, as one RGBA picture of the page's size, from the theme alone: its gradient's six stops, its background, its mode, and its outline and shadow colours. No image files. The soft layers (sky, water, glow, clouds, sun, reflection, horizon line) are computed per pixel; the shore and palms are filled as anti-aliased paths with tiny-skia, the version iced already builds. The scene's 16:10 frame covers the page from its bottom right. The page's background lies at 0.97 over the text column and fades out beside it, so the muted ink keeps 4.5:1 there; however narrow the page, the scene stays. A floating window's rounded corner is cleared in the picture. About 30-34 ms for a 1040x754 page in a release build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions