Todas as versões v0.1.14014 Ago 2026Renderização, JavaScript e JIT, APIs web e DOM Feed

As notas de versão são escritas em inglês.

WebGL gets a depth test, so 3D stops drawing in the wrong order

The software WebGL engine drew triangles in the order the page submitted them, with no depth buffer - so whenever a nearer surface was drawn before a farther one, the farther one painted right over it, and any real 3D scene came out with its layering scrambled. This release adds a real per-fragment depth test: every pixel now carries a depth, and an incoming fragment is kept or discarded by comparing its depth against what is already there, so the nearest surface wins no matter what order the page draws in - which is what makes solid 3D look solid. The full control set is here: enabling the depth test, clearing the depth buffer, choosing the comparison (the usual less-than and its seven siblings), and turning depth writes off for a transparent pass. With the depth test off, rendering is byte-for-byte what it was before, so nothing regresses. Proven end to end: a near blue triangle drawn before a far red one stays blue with the depth test on and goes red without it - depth order beating draw order, on demand - across three new tests. Web APIs moves 59 to 60; the overall holds at 56 (still a software renderer; render-to-texture is next).

O que mudou

3 mudanças
  1. APIs web e DOMA real depth buffer and per-fragment depth test in the software WebGL rasteriser (core-js/gl/raster.rs): the framebuffer carries a parallel window-depth buffer, and a fragment is depth-tested (early-z, before shading) by interpolating its window depth with the screen-space barycentric and comparing against the stored value; a passing fragment writes its depth unless the depth mask is off. All eight GL comparison functions (NEVER, LESS, EQUAL, LEQUAL, GREATER, NOTEQUAL, GEQUAL, ALWAYS) are implemented.
  2. RenderizaçãoThe depth-test state and controls on the WebGL context (core-js/gl/mod.rs, webgl.rs): enable/disable(DEPTH_TEST), clear(DEPTH_BUFFER_BIT) clears the depth buffer to the clear-depth, and depthFunc / clearDepth / depthMask (previously accepted-but-ignored stubs) are now real, plus the depth-comparison enum constants a page reads. GL defaults are honoured: the test is off, LESS, clear-depth 1.0, writes on.
  3. JavaScript e JITDepth-test-off is byte-identical to the previous painter's-order behaviour (the depth buffer is never touched), so no existing WebGL page changes. Proven by three new tests: a near blue then far red triangle stays blue with the depth test and goes red without it (the control that proves the blue is the test at work), and all eight comparison functions verified directly. Whole conformance suite unchanged at 6375 of 6375, native-JIT and no-nanbox green.
Tudo desde a v0.1.140 em um só lugar

Versões

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

Outubro2026 · 33 versões

37121 OutDrop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · APIs web e DOM · teste 37021 OutOpen your files, share to your phone, have pages read aloud, install sites as apps, play with a controller, and accented text drawn rightv0.1.370 · Privacidade e Shields · teste11 36920 OutPasskeys with Touch ID and Windows Hello, sites that work offline, notifications you allow, and devices asked for first, all kept on your devicev0.1.369 · Privacidade e Shields · teste9 36820 OutA site's own security rules are kept the whole time the page runs, Trusted Types, a map of every unsafe write in DevTools, and animations from scriptv0.1.368 · Privacidade e Shields · teste 36720 OutEvents, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · APIs web e DOM · teste10 36619 OutEvents, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · APIs web e DOM · teste9 36519 OutThe code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript e JIT · teste 36419 OutCompiled code that fits the processor's caches: big pages up to 1.8 times faster, and fast compiled code on Windows and Intel machinesv0.1.364 · JavaScript e JIT · teste 36319 OutThermal runs on one code generator, building strings is up to 8 times faster, and two slow paths that grew with the square of their input are linearv0.1.363 · JavaScript e JIT · teste12 36219 OutA page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · Renderização · teste 36118 OutThermal runs on Windows and Intel machines, a register fix for compiled code on Windows, try / catch compiles, and reading a growing string is 200 times fasterv0.1.361 · JavaScript e JIT · teste 36018 OutEvery byte of machine code is Floati's own, a news site that showed blank renders, Gust's code is half the size, and closures and ?? compilev0.1.360 · JavaScript e JIT · teste9 35916 OutThermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript e JIT · teste 35816 OutThermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript e JIT · teste 35715 OutLoops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript e JIT · teste14 35614 OutRecursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript e JIT · teste 35514 OutA hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript e JIT · teste 35413 OutFloati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript e JIT · teste 35311 OutStyle matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · Renderização · teste 35211 OutCode that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · Renderização · teste10 35111 OutStyles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript e JIT · teste12 35010 OutHelpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript e JIT · teste14 34910 OutScripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · Renderização · teste13 3489 OutScripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · Renderização · teste14 3478 OutCards inside links, small print at its real size, and errors you can followv0.1.347 · Renderização · teste17 3467 OutA real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · Renderização · teste14 3457 OutReal WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · Renderização · teste10 3436 OutSign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · Privacidade e Shields · teste25 3425 OutTheme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · APIs web e DOM · teste 3415 OutCanvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · Renderização · teste 3405 OutScripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · Renderização · teste10 3395 OutEvery computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · APIs web e DOM · teste12 3385 OutPages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · APIs web e DOM · teste19