[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 06:26:29 PST 2013

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

Chris Wilson, Intel Open Source Technology Centre

More information about the cairo mailing list