[cairo] PATCH: GL: Create glyph mask surface only once per context, enlarge on demand
Chris Wilson
chris at chris-wilson.co.uk
Fri Feb 15 05:57:38 PST 2013
On Fri, Feb 15, 2013 at 01:38:43PM +0000, Mikko Strandborg wrote:
> Hello,
>
> In text rendering, when the rendering happens via a mask, the GL surface
> allocates and releases a temporary mask surface for each text rendering
> operation. This is very slow. The attached patch stores the mask surface to GL
> context. It is created lazily on first rendering, and enlarged on demand. This
> makes text rendering some 250% faster in some cases.
By working around bugs in the drivers...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo
mailing list