4 ms·
For what it's worth, WebKit on OS X uses hardware acceleration for both rendering and compositing by way of Core Animation.
by bdash 13y ago
For what it's worth, WebKit on OS X uses hardware acceleration for both rendering and compositing by way of Core Animation.
- randallu 13y agoOh, nice! For some reason I thought that was only for canvas.
- bdash 13y agoIt was only used for canvas in the initial release before being deployed more widely.
- Ciechanowski 13y agoWhich technologies do benefit from GPU rendering? Aren't Quartz calls rasterized on CPU?
- bdash 13y agoCore Animation layers have a mode in which Core Graphics calls targeting them are both processed asynchronously by a another thread and rasterized via OpenGL.
- Ciechanowski 13y agoI presume you mean the "drawsAsynchronously" property. I'm extremely curious, does it really push the rasterization on the GPU? I mean, do you have shaders written, that do all the stuff that CPU normally does? Bezier paths, clipping, stroking, filling?