[webkit-dev] WebCore GPU module

Myles C. Maxfield mmaxfield at apple.com
Wed Jun 18 15:26:46 PDT 2014


I can’t comment on the other ports, but the Mac and iOS ports don’t use it for text rendering. Instead, they use CoreText.

Thanks,
Myles
> On Jun 18, 2014, at 1:07 AM, Michael IV <explomaster at gmail.com> wrote:
> 
> Hi All.I have been investigating into WebKit text rendering details and I found Loop-Blinn implementation in GPU directory of WebCore.I have tested it and it kind of works ok for convex shapes rendering which probably should be ok for text glyphs outline as well.
> But I have got a couple of question regarding this module:
> 1)Is it used by the browsers to render text or 2d shapes?
> 2)Is it actually ready for real-life usage?
> 3)How anti  aliasing is handled?I mean ,I found that only curves are anti-aliased(internally by the shader) but the straight line outlines need proper MSAA which can be pretty expensive or even unavailable  on some platforms.
> 
> Also I found a bug: when drawing a path with two overlapping convex shapes ,the hole created on the overlap region which is aliased.
> -- 
>  
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list