Mixed pixmap creation

fancy fang fancyfly09 at gmail.com
Thu Oct 14 01:43:18 PDT 2010


Thanks! But,  I still can not understand why Unit Pixmap needs both system
buffer and driver buffer? In my opinion, Unit Pixmap only needs system
buffer. Welcome your opinions!

Fancy Fang

2010/10/14 Jonathan Morton <jonathan.morton at movial.com>

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101014/d8ff1904/attachment.htm>


More information about the xorg-devel mailing list