[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 07:24:29 PST 2013


On Fri, Feb 15, 2013 at 03:08:32PM +0000, Mikko Strandborg wrote:
> I don't think it is reasonable to expect GPU resources to be cheap to
> create and/or destroy. That's why newer OpenGL specifications add more and
> more ways to buffer such GPU resources on the GPU hardware, rather than
> requiring them to be transferred over non-uniform memory and relatively
> slow buses to the GPU hardware on every frame. Of course in this case we
> weren't transferring data over the bus, but the situation is similar to
> having a malloc/free pair in the inner loop of a computation.

Yet the DDX handles this fine. So yes, it is a driver issue.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list