|
|
|
|
|
by SDGT
4528 days ago
|
|
The translateZ deal just throws the browser into hardware rendering, which will run much smoother with any GFX hardware that will support it. The same thing works with all of the other 3d transforms: Putting in a BS value for Z will cause the element to use hardware acceleration. |
|
The content of the layer isn't hardware rendered. It's rendered by the CPU and uploaded to a texture. In WebKit and probably Blink there's a fast path for images, canvas and video so that they can be directly uploaded or (on some platforms like Mac) bound to a texture avoiding an upload copy.
Microsoft and (maybe) Mozilla have a "hardware rendering" path via Direct2D, but Chrome and WebKit don't, they have compositors which can use the graphics hardware to perform compositing, but not rendering.