pixmap resizing was Re: How to disable/limit pixmap cache in X

Eric Anholt eric at anholt.net
Fri Sep 21 11:38:36 PDT 2007


On Fri, 2007-09-21 at 13:08 +0100, Gavin McCullagh wrote:
> It appears that where firefox gets an image for display, embedded in HTML,
> at say 400x300 pixels, it will send the full size image to the X server
> cache, rather than rescaling the image first -- even if the image is
> 1600x1200 or even larger.  Firefox then apparently uses X to do the
> resizing for it.
> 
> My question is, is there a compelling reason for this -- are video cards
> quicker at the resize?

With a modern driver, assuming 0 network transport cost, yes, and it
will only get better over time.

-- 
Eric Anholt                             anholt at FreeBSD.org
eric at anholt.net                         eric.anholt at intel.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20070921/ce8ad910/attachment.pgp>


More information about the xorg mailing list