The Android renderer artifact declares WebP, dav1d AVIF and Opus archives,
with libaom reserved for AVIF encoding. Assert the three archives and their
licenses, and link the decode APIs.
Twenty-five Python test fixtures wrote manifests that followed GitHub
Ziran master and overrode ziran with the live checkout, so ziran lock
refused Kryon's checked package metadata (cursor-api-test stopped the
full suite this way). tests/toolchain.py now owns one fixture identity:
the exact Gitea Ziran the starter templates pin and this checkout's
Kryon revision. pinned() rewrites a fixture manifest's [toolchain] and
[dependencies.kryon] onto it, kryon_only() keeps a local toolchain
override out of ziran.local.toml, and kryon_test_project uses both
(package_overrides stays for packages under test). cursor-api-test and
desktop-codec-artifact-test pass with them.
Android Frame apps draw through Pixmap, which found only pictures already
registered, so every file picture showed "Missing image". Pixmap now asks
an optional picture source the first time it measures or draws an
unregistered path, once per missing path until invalidation or host
cleanup. pixmap_assets_android registers a source that reads the APK asset
through AAssetManager and decodes it, and the Frame host imports it, as
desktop Cairo loads pictures on first use.
Tests: the Android image services test covers lazy loading, caching, the
single lookup per missing path, retry after invalidation and cleanup. A
new device suite decodes a framework PNG through Android's real
AssetManager inside its VM and compares it with an independent decode;
tests/android_vm_device_test.py now runs it and the typeface suite. Frame
host tests link the codecs that apps link.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
kryon/android_runtime keeps NativeActivity lifecycle and input in the host
while the application's main owns its loop, widgets and pacing:
PollAndroidHost, BeginAndroidFrame and EndAndroidFrame present Pixmap's
device-pixel damage. The host calls the application's C main by symbol, so
generated C never declares main with Ziran's argument types. Pixmap's
RasterSetTransform and RasterPointFromPixels share one camera for painting
and input.
kryon/pixmap_assets_android decodes owned PNG, WebP and AVIF pictures on
first use, and kryon/pixmap_typefaces_android shapes text with Android Paint
and Canvas through the ordinary typeface_source capabilities.
The renderer-desktop artifact also builds Android ARMv7 and AArch64 codec
archives and the shared AVIF bridge, pinned to AVIF 2611e727.
Co-Authored-By: Claude Opus 5.5 <[email protected]>