[cairo] [patch] gl: use font's antialias option to check whether it needs mask
Chris Wilson
chris at chris-wilson.co.uk
Tue Mar 27 15:31:46 PDT 2012
On Tue, 27 Mar 2012 21:25:37 +0000, "Henry (Yu) Song - SISA" <hsong at sisa.samsung.com> wrote:
> It seems that we don't need to check each glyphs surface for ARGB32 format. We can use font's antialias option.
>
>
> Author: Henry (Yu) Song <hsong at sisa.samsung.com>
> Date: Tue Mar 27 14:19:45 2012 -0700
>
> gl: There is need to loop over number of glyphs to check wether the glyph
> image is a ARGB32. The font's antialias option can be used for checking.
> if antialias is SUBPIXEL or BEST, the glyph surface will be ARGB32,
> otherwise, it will be A8 format.
Pushed, thanks.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo
mailing list