Ghi chú phát hành được viết bằng tiếng Anh.
GPU blur: the frosted-glass filter runs on the device
The blur filter - filter: blur(), the frosted-glass effect - now runs its blur on the GPU. It renders the content to the same padded region the software filter uses so the blur's edges line up, runs a GPU box blur that is pixel-identical to the software one, and composites the result, matching within a rounding level. The blur is a three-pass convolution, the single most expensive per-pixel effect on the modern web, and it is now hardware work. With clips, transforms, colour filters, and blur all on the GPU, the only common effect left on software is the drop-shadow filter. The GPU aspect moves 40 to 42. The overall holds at 57.
Những gì đã thay đổi
3 thay đổi- Hiển thịThe blur filter runs its convolution on the GPU: content is rendered to the same padded box the software filter uses (so the box blur's clamped edges match), a GPU box blur that is pixel-identical to the software blur runs over it, and the result composites within one level per channel.
- Hiển thịThe fix over a first attempt that was off by fifteen levels: the three-pass box blur spreads about three times its radius, more than the software layer's padding, so a full-page layer sampled real transparent where the software one samples its clamped edge - matching the padded bbox fixed it.
- API web và DOMClips, 2D transforms, the eight colour filters, and now blur all run on the GPU; the drop-shadow filter and 3D transforms are what remain of the effects before making the GPU renderer the default live path and accelerating WebGL.
































