[PATCH 5/5] render: Eliminate temporary mask when drawing glyphs

Chris Wilson chris at chris-wilson.co.uk
Tue May 26 23:09:41 PDT 2015


On Tue, May 26, 2015 at 01:47:55PM -0700, Keith Packard wrote:
> The temporary mask was supposed to do a better job when drawing glyphs
> sharing pixels than just drawing them one at a time. However, the way
> it was defined assumed that the glyphs didn't actually overlap, and
> the computational cost for this minor adjustment is quite high.

Nak. The mask is expected by users, who *already* discard the mask when
they know that the rendering will be identical without it.

The existing renderproto was written to render a union of the glyph path,
which accounts for overlapping glyphs quite succinctly.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list