Mixed pixmap creation

Jonathan Morton jonathan.morton at movial.com
Thu Oct 14 01:34:07 PDT 2010


On Thu, 2010-10-14 at 16:18 +0800, fancy fang wrote:
> In exaCreatePixmap_mixed from Xserver 1.9.0, when w == 1 && h == 1, it
> will malloc pixmap data immediately. Please let me name this kind of
> pixmap as Unit Pixmap. First, I don't know what the benifit is.
> Second, when the exaDoMigration_mixed is executed, it will allocate
> driver pixmap for Unit Pixmap. But, I think the driver pixmap for Unit
> Pixmap is not necessary from the point of performance. Can anyone give
> explanations ? 

Single-pixel pixmaps are used to represent solid colours, by setting the
repeat mode.  These are useful for XRender.

-- 
------
From: Jonathan Morton
      jonathan.morton at movial.com




More information about the xorg-devel mailing list