[cairo] [patch] gl: when using a surface as source/mask in drawing operation on GL surface target, we can avoid map_to_image()

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 30 08:09:27 PDT 2012

On Fri, 30 Mar 2012 15:05:44 +0000, "Henry (Yu) Song - SISA" <hsong at sisa.samsung.com> wrote:
> Hi, Chris
> Do you mean the patch is OK?  I don't see a need to download image from a newly created GL surface, it is just like you create a new image surface.  Am I right?

No, the patch forces the use of system memory when we could be
allocating a PBO. Also it is performing an optimization at a higher level
which I think is more suitable in map-to-image.

Chris Wilson, Intel Open Source Technology Centre

More information about the cairo mailing list