[PATCH xserver 3/3] render: Fix default picture format initialization

Keith Packard keithp at keithp.com
Sat Feb 24 00:02:01 UTC 2018

Adam Jackson <ajax at redhat.com> writes:

> What would this mean? If I point this picture at a depth-30 pixmap, is
> the intent really "draw into this as though it was x8r8g8b8"? Is there
> a world where that's useful?

I agree that it probably isn't useful, but we need to be careful with
the condition to not exclude *useful* formats, like r8g8b8 on depth 32,
or r5g5b5 on depth 16. Of course, the real fear is deleting a format
that an existing app is relying on...

> All the 16bpp formats say they have "depth 16", regardless of a/x.

I think that's because you don't have a depth 15 visual.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180223/67f224de/attachment.sig>

More information about the xorg-devel mailing list