[PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

Keith Packard keithp at keithp.com
Thu Jul 27 18:32:01 UTC 2017


Eric Anholt <eric at anholt.net> writes:

> That's what both patch 5 of this series and pixman say the depth is for
> bgrx8888.  I think things have only worked because nobody uses bgrx8888
> with Render and also tries to do core operations with those contents,
> but I think we should figure out what we actually want the behavior to
> be here.

The core protocol uses the low bits in a pixel; is there actually
translation code which shifts things around as necessary to make this
work?

> I don't think we want to define that CopyArea from XRGB8888 to BGRX8888
> shifts the 24 bits of depth up by 8 within the 32bpp pixels.

I don't think you have a choice if you actually report BGRX8888 as depth
24 -- you're going to have depth 24 pixmaps and they'll have to work
with both.

-- 
-keith
-------------- 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/20170727/ab435b6c/attachment.sig>


More information about the xorg-devel mailing list