3 ms·
What does the GPU accelerate? I actually pretty surprised that there is anything that can be parallelized to that level. Edit: signed distance field font rende
by CyberDildonics 11y ago
What does the GPU accelerate? I actually pretty surprised that there is anything that can be parallelized to that level.
Edit: signed distance field font rendering? Nice
- pcwalton 11y ago> What does the GPU accelerate? I actually pretty surprised that there is anything that can be parallelized to that level. Essentially everything but font rasterization (assuming you don't count image decode as part of painting). The major trick here is to avoid vector graphics, since you don't need a full-blown vector graphics library to paint common CSS. > signed distance field font rendering? Nice Note that this isn't integrated yet; it's a pile of experimental code, and I have some lingering doubts about its performance. But I would love it if we (or someone else!) can make it work!
- zbraniecki 11y agoThere's a lot of reasonable argument put behind the concept that we will use SVG more and more on the web. You're saying that WebRenderer should work for faster for anything but vector graphics. Is there a risk that it's optimizing for todays/yesterdays use cases?
- pcwalton 11y agoEh, I'm skeptical. :) IMO, SVG has serious ergonomic and performance issues that make it unlikely that we'll see a large-scale transition to it anytime soon. Not to mention that vector graphics are not really what you want for mobile apps: the proven framework is something like Core Animation, which CSS is much closer to than SVG. But I don't really want to debate this here, as it's somewhat off-topic. And there are only so many ways to draw a button, SVG or not. WebRender is really good at drawing buttons. So there's a possibility that we could use the same technique, just extended, for SVG.