Reserve fixed-capacity per-frame label storage only on first use. Keep borrowed label bytes stable across frame commits and avoid copying idle label arrays when the ZX engine reads tree fields.
Keep a bounded set of recent material programs and match their owned shader instructions across separately prepared scenes. Keep borrowed lookup pointers inside the frame and evict unused programs by last use.
Retain the resolved target in each asynchronous transfer slot until its fence signals. Skip the straight-alpha conversion draw for opaque ARMv7 PowerVR output and profile program setup, texture upload, GPU completion, pixel transfer and image publication.
Probe intrinsic dimensions without decoding, then cache a premultiplied Lanczos reduction and grow it only when needed. Preserve source crops, meshes and natural dimensions.
Align the published Ziran pin for streamed asset digests and ARM fixes; improve ZX service failure diagnostics.
AddImageTexture hashed every byte of a picture with a dependent 64-bit
multiply, and rooms add tens of millions of texture bytes while they open
(56 MB for the Bedroom, 94 MB for the Living room). The fingerprint now
builds each four-byte pixel and runs four independent lanes, one multiply
per pixel, and still covers every byte, the size and the byte count; the
duplicate check still compares every byte before sharing a texture.
Portable code cannot read a byte buffer as words or copy it in bulk, so
the copy stays a byte loop.
The image material test adds pictures that differ in one byte or only in
shape and expects separate textures with exact copies, and an equal
picture to share the first. It runs as native source, saved IR and a
portable bundle.
AndroidProcessPrepare pointed TMPDIR at the app's files but left Ziran's
native cache to Ziran's own guess at the app's cache folder, which misses
secondary users and renamed processes, so Kryon apps compiled their
portable code again on every start. Unless ZIRAN_NATIVE_CACHE is set, it
now names the app's cache/ziran-native folder beside its private files.
The Android JNI host test checks the folder derived from the files path.
Kryon 0.6.0 moved a smooth picture drawn without a prepared smooth copy
from Cairo's good filter to its best one. That filter reaches well past
the source rectangle, so tiles cut from one sheet took in the cells around
them: Wurm's joined hedge showed light seams and failed its private UI
test. Such pictures use the good filter again; prepared smooth copies are
unchanged. A sampling test draws the black half of a black and white sheet
at half size and expects its last column to stay dark (17 of 255 bled in
with the best filter).
The harness read `ready` with readline() on the probe's buffered stdout
and then called communicate(timeout=30), which reads the raw pipe. A drag
that ends at once, as the cancelled drag can, writes its report in the
same pipe read as `ready`, so the report sat in the buffer and the harness
saw an empty line about one run in three. It now waits for the probe and
reads the rest from the same stream; six runs in a row pass.
With KRYON_WEBGL2, web builds run the GPU scene renderer on a private
WebGL 2 canvas through the same GLES 3 calls as the native path.
SceneGpuRenderCanvas renders a scene, blits the resolved frame to that
canvas and returns it as a page texture, with no pixel readback or
upload. Native EGL rebinds its API inside MakeSceneCurrent, so the
renderer no longer repeats it, and WebGL reports that it cannot map pixel
pack buffers for asynchronous readback.
Keys wait in SDL's queue while Kryon's input queue is full, and every
event behind them waits too. An application that stopped taking input,
such as a host reading keys another way, left 32 keys pending and lost
the wheel. Once a pending queue's head stays put across two polls, keys
go into the queue (or are dropped when it is full) instead of waiting.
Applications that take input every frame keep the waiting. A test leaves
80 key events unread behind a wheel step and expects the step.
The changelog's Unreleased entry gets its blank line back. The checks plan
lists the drag-source check that fails about one run in three and the five
text-area checks that are the slowest group in the behavior run.
The avif pin moves to f5f186bb. Its bridge converts 8-bit 4:2:0 and 4:2:2
pictures across the cores with libavif's own float arithmetic, so the
strict AVIF digests still match while Jungle's phone launch loses most of
its picture conversion time. The lock changes only avif.
Kryon builds with Ziran 0.7.0. Web pages scroll by the browser's pixel
wheel and select text with the mouse, and the website's Apps page plays
every published Kryon web app. Packages can supply bundle pictures on the
web and Android, native checks no longer trip over the page event bridge,
and Android scenes cache shader binaries, read frames back faster and add
large pictures in one block. The changelog section lists what users get;
VERSION follows it.
The toolchain pin moves from 0c4465a4 to the Ziran 0.7.0 release. Its std
provides base64 for glTF scenes, which CI's hosts shard could not find on
the old pin. The lock changes only the toolchain.
Android decodes PNG, WebP and AVIF in process with the linked codecs; other
formats use the activity's decodeBundleImage bridge, and
`make android-pictures-device-test` checks both on the USB Moto.
Canvas pages pass the browser's wheel distance in CSS pixels to Scroll
widgets, keeping subpixel remainders, and mouse drags select text while a
scrollbar's thumb stays draggable. Selected text copies with Ctrl+C and
shows a text cursor. The widget codec carries the two new scroll inputs.
AddImageTexture appended each texel with VecPush, sixteen million calls
for a 2048 by 2048 picture and 17% of a phone room's launch. It now grows
the texel list once, copies the block and truncates on failure.
CMake keeps one source folder per build folder. A local override or a new
lock moves the audio package, and the MP3 and Vorbis archives then failed
to configure. Their build folders now start over when the cached source
differs.
The check listed the Go files it expected by name. Ziran's std math now
imports std finite, so `go run` missed finite.go and failed with an
undefined Finite_Finite64 in CI's check and sanitizer jobs. It runs every
generated file instead.
scene_vrm reads the VRM extension of a .vrm/.glb loaded through scene_gltf:
the humanoid bone map, blend shape expressions (blink and the rest) set as
morph weights, Bone lookAt through its range curves, and VRM 0.x spring
bones with sphere colliders. Springs follow UniVRM's VRMSpringBone (Verlet
inertia less drag, stiffness back to rest, gravity, length kept, pushed out
of colliders), step at a fixed 60 Hz in the world placed by VrmSetFrame so
whole-body motion swings the hair, and settle at rest after a seek. Node
positions come from the instance TRS, so one GltfUpdateScene a frame is
enough.
make scene-gltf-test also runs the VRM checks from source and saved IR
against a small fixture: bone map, expressions, lookAt curves, gravity,
colliders, stability at uneven frame steps while the body moves, settling.
canvas_events.zi defines the browser event policy only when OS is .WEB, but
page_events.zi used it unguarded. Checking or building a package's sources
for a native target, as Breeze's source check does, reported unresolved
CanvasEvent names and TextFromCString(*s32). The bridge's body now sits
under the same guard, so native checks see an empty module and web builds
are unchanged.
Breeze supplies bundle pictures through `canvas_os` on the web and through
`pixmap_image_owner` on Android. Neither was in the manifest's exports, so
the web link reported undefined `SetLoadFileDataCallback` and
`GetFileLength`, and Android pictures showed "Missing image".
Read .gltf and .glb documents in Ziran: buffers, bounds-checked accessors
for every component type with normalized integers and sparse overrides,
triangle primitives with the standard vertex attributes and morph
targets, node hierarchies, skins and LINEAR, STEP and CUBICSPLINE
animations. Materials keep PBR factors, texture info, alpha modes and
PNG or JPEG images from URIs, data: URIs or bufferViews.
The scene adapter creates one indexed mesh per primitive and a SceneSkin
per skinned primitive, samples animations into node poses and morph
weights, and can switch to dual-quaternion skinning. Malformed files
report a diagnostic instead of crashing.
Tests cover the small fixtures, every interpolation mode, sparse and
normalized accessors, malformed files, and a headless GLES render of an
animated two-bone skin against a committed reference. The Khronos sample
models committed here are CC-BY-4.0 or CC0-1.0 with their attribution.
Press focus and text-input focus, direction pad and SwipeArea, and the two
text area layout checks each compiled through the same widget or main matrix
with the same bindings. Each pair now runs as one Ziran module whose main
walks a table of cases, so behavior scripts drop from 177 to 174 and the
three checks take 21 s instead of 40 s locally. The plan maps each removal
and records the measured times.
Kryon's sources load through `--module-path kryon=DIR`, so the exporter
binds the frame entry and names the bundle entry by their package-scoped
module names. An export that names another file than its same-named module,
as `modal` names modal_frame.zi, is imported by its target's own name, and
other facades import from the deepest module root, because a slash in an
import names another package. All 101 examples export and render again. The
docs no longer say the website publishes these bundles; the Components page
runs every example live.
The cell and terminal list checks now run as one Ziran module whose
SelfTest walks both case sets. The geometry suite's table runs its camera
cases, which no script ran before, then the vector path and view transform
behaviors. Each pair compiled through the same commands, so behavior scripts
drop from 179 to 177 with the same assertions; the plan maps both removals.
The Apps page lists Werkzeug, Inner Breeze, Jungle Academy, Arcade, Shovey,
Apfelwurm and Choano, each with a Play in browser link to its published web
build and its source where that is public. Terminal, Browser, GitHub,
Explorer and Task Manager stay listed as desktop apps, each with the reason
it has no browser build yet; plans/2026-11-18-web-apps.md records what each
one needs. Wide screens show three cards per row.
A warped image whose triangle corners nearly meet asks Cairo to sample
thousands of picture pixels per screen pixel. Cairo keeps that step in
16.16 fixed point, fails the whole surface with NO_MEMORY, and the frame
is lost: Inner Breeze closed on opening Astral Projection, whose figure
edge fans make such slivers. The Cairo host now leaves out a triangle
whose screen-to-picture step exceeds 4096, which covers under a pixel.
The Cairo image sampling test draws such a sliver.
Select Darwin host code for the native ZX player and keep its Linux socket
service on Linux. Feed RGB to the JPEG encoder and retain Android
notification callbacks when generating native host libraries.
Resolve the Pages gallery verifier against the same source revisions as the
build. Reuse prepared template dependencies and check the JavaScript policy
against files present in the checkout. Combine related text-input checks
and perform shared source policy checks once per CI run.
Use nearest depth textures and interpolate the comparison results in the material shader when the hardware probe fails. Exercise CPU parity and shadow rendering with both paths.