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 02:15:41PM +0000, Mikko Strandborg wrote:
> Hi,
> 
> I'm not quite sure what you mean. Is the mask currently allocated and
> released every draw call in order to work around a driver bug? Generally,
> allocating new textures (or other GPU resources) every frame is considered
> ineffective.

Hah. It is a fundamental requirement of the immediate mode nature of
cairo that GPU resources need to be extremely to cheap to create and
destroy. The current GL drivers are comparatively extremely poor in this
area.
-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.