[PATCH xserver 0/5] Remove (most) 24bpp support

Adam Jackson ajax at nwnk.net
Thu Dec 8 15:39:04 UTC 2016


On Thu, 2016-12-08 at 09:23 -0500, Adam Jackson wrote:
> On Wed, 2016-12-07 at 14:18 -0800, Keith Packard wrote:
> 
> > I think the only question is about staging the change; do we fix DIX
> > or hw/xfree86 to transparently handle this before we remove the
> > rendering support?
> 
> I guess it depends what you mean by "transparently handle".

There's also some follow-up work we could do here. With this series in
place I think fb would effectively require power-of-two bpp. If that
were the case then at least for servers with pixmaps the entire
PixmapWidthPaddingInfo nightmare could be simplified away. Likewise the
PixmapFormatRec would now contain redundant info, we could pretty much
statically initialize the list of pixmap formats, we could eliminate
MAXFORMATS, ...

nest and dmx would need to be a bit more careful and filter out npot
pixmap formats, but that hardly seems like a loss.

This would admittedly make mi a bit less Machine Independent, but at
this point in history I think power-of-two machine words are a pretty
safe assumption.

- ajax


More information about the xorg-devel mailing list