3 ms·
Do they acceleration DOM parsing, or just media that already has acceleration hooks provided by the OS?
by person_of_color 6y ago
Do they acceleration DOM parsing, or just media that already has acceleration hooks provided by the OS?
- detaro 6y agoDOM parsing is an almost perfect job for a CPU to do and not really something for dedicated hardware.
- lkbm 6y agoFirefox uses the GPU via WebRender[0]. I don't know what specific things it's used for, but I'm pretty sure it's not any of the DOM parsing. The GPU is used for the actual graphical rendering down the line -- compositing and such[1]. [0] https://github.com/servo/webrender https://github.com/servo/webrender [1] https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-fps-how-webrender-gets-rid-of-jank/ https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f...