morethanwords/tweb/master • d5c66a0 • 9 files, +282/-136
Update tlottie and ship its no-SIMD build
Repin the vendored renderer to dkaraush/tlottie cbfaf4fa, which now builds
the same sources twice - with and without `-C target-feature=simd128`.
Both artifacts are vendored, and lottieLoader hands the scalar one to
browsers that fail IS_WEB_ASSEMBLY_SIMD_SUPPORTED, so stickers stay
animated on Chrome 75-90, Firefox 79-88 and Safari 15-16.3 instead of
freezing on their static thumbnail.
Which build runs is now separate from whether lottie runs at all: apart
from simd128 both need only bulk-memory, sign-extension and non-trapping
float-to-int, so the NO_WASM gates moved to a new probe for exactly those
(the shared validate() guard is factored out of both environment flags).
The vendoring script takes the upstream examples/web directory, verifies
each variant against its own source and stripped-output checksum, and
refuses a binary whose target_features contradict the expected variant.
Both builds render frame-identical output - the test asserts it across
every bundled asset and all six Fitz tones, so the golden hashes are
unchanged by the renderer update.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
#webk
morethanwords/tweb/master • d5c66a0 • 9 files, +282/-136 Update tlottie and ship its no-SIMD build R
Telegram github commits and releases
@tgappsupdatesBroadcast from the most important Telegram clients' repositories
4 538 підписників
Відкрити в Telegram