[PATCH 1/4] EXA: Don't use UTS/DFS directly for Put/GetImage when there's a system copy.

Daniel Stone daniel at fooishbar.org
Tue Dec 29 04:25:35 PST 2009


Hi,

On Tue, Dec 29, 2009 at 12:41:07PM +0100, Maarten Maathuis wrote:
> 2009/12/28 Michel Dänzer <michel at daenzer.net>:
> > On Mon, 2009-12-28 at 13:37 +0100, Maarten Maathuis wrote:
> >> What kind of situation are you trying to improve here?
> >
> > Same as for the UploadToScreen case in exaHWCopyNtoN(); avoiding GPU
> > copy readbacks when the GPU copy isn't directly accessible.
> 
> I wonder how many apps do CreatePixmap, PutImage, CopyArea,
> DestroyPixmap, because in that scenario i don't like the change (the
> UTS path CopyNtoN was pretty rare to be used).

A lot. :( This seems to be a favourite Mozilla anti-pattern, though I'm
hoping it's improved of late; it was certainly a GTK+ anti-pattern until
CSW fixed it.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091229/20d6df15/attachment-0001.pgp 


More information about the xorg-devel mailing list