Ghi chú phát hành được viết bằng tiếng Anh.
Every tile on the GPU
The graphics card now draws every part of every page we test, and every pixel it draws is the same as the software drawing it replaces. On the 98 pages of our test set and on 25 real sites, from news front pages to web apps, nothing is left for the processor to draw. That took 3D and perspective, filters and blurs behind glass, cone-shaped gradients, masks, the four colour blend modes and shaped clips, each proved pixel for pixel on Mac and on Windows. The browser also checks its own graphics card now: a driver that gets something wrong is caught on the user's own machine and that drawing moves back to the processor.
Every tile, both test sets
A page is drawn in tiles of 16 by 16 pixels. Before this release, tiles holding a 3D transform, a filter, a backdrop blur, a cone gradient or one of a few blend modes were drawn by the processor and the rest by the graphics card. Each of those now has a graphics card form that gives the same bytes as the software, proved by a test of 120 to 400 random cases each, run on an Apple GPU and an NVIDIA one.
The browser checks its own graphics card
Graphics drivers have bugs, and a wrong pixel from one looks like a broken page. Because every graphics card drawing here is defined to equal the software drawing, the browser can check itself: every few seconds it draws one row of the page again in software, off the main thread, and compares. If they differ, the kinds of drawing in that row move to the processor for the rest of the session, the screen repaints, and the wrong row is never shown. Nothing leaves the device. The reference browser cannot do this: its graphics card drawing has no exact software twin to compare with.
Fast to start on Windows
The new drawing code made the Windows graphics compiler take 14.7 seconds to prepare at start-up. Three changes brought it back: an exact multiply uses the card's own multiply instead of forty whole-number steps, loops are written so the compiler keeps one copy instead of unrolling them, and the new kinds of drawing are prepared on a thread of their own while the page is already showing. Until they are ready, those parts are drawn by the processor, exactly the same.
Cone gradients that are the same everywhere
The angle in a cone-shaped gradient came from each operating system's own maths library, which can differ by a level between Mac, Windows and Linux. It now comes from our own angle function, built only from steps every machine does the same way, so the processor and the graphics card on every system give identical pixels. On our gradient test pages 4 pixels changed, each by one level.
Những gì đã thay đổi
26 thay đổi- Hiển thịGPU: separable blend modes (multiply, screen, overlay and the rest) are drawn by the graphics card from tables the software fills itself. Switch: FLOATI_NO_GPU_BLEND.
- Hiển thịGPU: diagonal linear gradients are drawn by the graphics card, with per-corner and elliptical corners. Switch: FLOATI_NO_GPU_LINEAR_SUM.
- Hiển thịGPU: polygons are drawn by the graphics card from the software's own coverage. Switch: FLOATI_NO_GPU_POLYGON.
- Hiển thịGPU: gradient-filled text (background-clip: text) is drawn by the graphics card, linear and radial. Switch: FLOATI_NO_GPU_TEXT_FILL.
- Hiển thịGPU: linear and radial mask images are drawn by the graphics card. Switch: FLOATI_NO_GPU_MASK.
- Hiển thịGPU: 3D rotations and skews are drawn by the graphics card in whole numbers. Switch: FLOATI_NO_GPU_PROJECT.
- Hiển thịGPU: 3D perspective is drawn by the graphics card, every product and division rounded as the processor rounds it. Switch: FLOATI_NO_GPU_PROJECT_DEPTH.
- Hiển thịGPU: 2D transforms are drawn by the graphics card. Switch: FLOATI_NO_GPU_AFFINE.
- Hiển thịGPU: a layer can hold layers of its own (a blur inside a 3D card, a 3D card inside a fade), each drawn before the one that uses it.
- Hiển thịGPU: opacity groups are drawn by the graphics card. Switch: FLOATI_NO_GPU_OPACITY.
- API web và DOMGPU: any chain of filters (blur, grayscale, saturate, brightness, contrast, invert, sepia, hue-rotate, opacity, drop shadow) is drawn by the graphics card. Switch: FLOATI_NO_GPU_BLUR.
- Hiển thịGPU: backdrop blur (frosted glass) is drawn by the graphics card, also inside a clipped area like a fixed navigation bar. Switch: FLOATI_NO_GPU_BACKDROP.
- Hiển thịGPU: cone-shaped (conic) gradients are drawn by the graphics card pixel by pixel. Switch: FLOATI_NO_GPU_CONIC.
- Thẻ và giao diệnFIX: a conic gradient's angle comes from our own function, so Mac, Windows and Linux give the same pixels. Switch: FLOATI_NO_OWN_ATAN.
- Hiển thịGPU: the hue, saturation, color and luminosity blend modes are drawn by the graphics card. Switch: FLOATI_NO_GPU_NONSEP.
- Hiển thịGPU: clip-path polygons and clips with different corner radii are drawn by the graphics card. Switch: FLOATI_NO_GPU_CONTOUR_CLIP.
- Hiển thịGPU: see-through hard-stop gradients (half-and-half dots and triangles) are drawn by the graphics card.
- Hiển thịFIX: a layer that reached past its clip could paint outside it on the graphics card path.
- Hiển thịGPU: a group starting a pixel past the page edge is no longer sent to the processor.
- Hiển thịNew: the graphics card drawing checks itself against software on the user's own device, and a difference moves that drawing to the processor. Switch: FLOATI_NO_GPU_AUDIT.
- Thẻ và giao diệnSpeed: Windows prepares the graphics card drawing in 2.28 s at start-up instead of 14.7 s, with the newest kinds prepared in the background. Switches: FLOATI_NO_GPU_SPLIT_PIPELINE, FLOATI_SOFT_MUL.
- Hiển thịSpeed: a property read seen on many kinds of object shares one cache across the page instead of searching each time. Switch: FLOATI_NO_MEGA_IC.
- Hiển thịSpeed: when a read changes the kind of object it sees, it no longer refills its cache at a cost, and method reads stay as fast as before. Switch: FLOATI_NO_KIND_SWITCH.
- JavaScript và JITSpeed: objects record whether a proxy or a linked prototype can be on their chain, so most reads skip those searches. Switch: FLOATI_NO_LINK_FLAGS.
- JavaScript và JITSpeed: objects with many properties keep their chain answers by prototype, and constants read from a prototype are cached. Switches: FLOATI_NO_DICT_CHAIN_IC, FLOATI_NO_PROTO_DATA_CACHE.
- MạngTesting: the Linux x86 check runs on a real Linux machine, 3,912 tests, and 25 real sites are measured for graphics card drawing with their network recorded. The release check passed on Mac, Windows and Linux with no page slower.





