Re: PATCH: GL: Create glyph mask surface only once per context, enlarge on demand

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.