Incompatible render changes

Soeren Sandmann sandmann at daimi.au.dk
Sat Jul 19 11:35:31 PDT 2008


Keith Packard <keithp at keithp.com> writes:

> On Sat, 2008-07-19 at 01:09 +0200, Soeren Sandmann wrote:
> > Hello,
> > 
> > As a heads up, I am about to make some incompatible changes to the
> > render implementation. It will affect all drivers, but mostly in a way
> > that can be handled with sed.
> > 
> > Specifically, I am about to delete all the PICT_* constants and
> > replace them with PIXMAN_*. After that, I intend to change the picture
> > implementation to be based on a pixman_image_t, instead of as now
> > where such an image is created on every fallback render request. This
> > means drivers will have to use the pixman_* calls to access properties
> > of pictures.
> > 
> > The question is, do people want me to make the changes to all the
> > drivers, or do you want to do it yourself? Both are fine with me. If
> > no one says anything, I'll just fix the drivers.
> 
> Can you create backwards compatible wrappers for this? Certainly the
> PICT_ constants could have #defines. Making existing drivers build
> unchanged seems like a fairly good goal here.

The PICT_ constants have been wrappers around PIXMAN_ constants for a
long time. I am about to delete them since they are pointless.

If not now, then when?

> In any case, you'll have to change the drivers to build both ways as we
> cannot assume a new pixman.

If you can assume a new server, why not a new pixman?


Soren



More information about the xorg mailing list