[RFC] DeepColor Visual Class Extension

Jacob Lifshay programmerjake at gmail.com
Thu Sep 21 02:25:50 UTC 2017


>
> If we left them out of the connection setup block and relied on a separate
> request to get a list of DeepColor visuals it would alleviate that issue, but
> then we run into the same issue Aaron pointed out with XGetWindowAttributes.
> Non-HDR clients would get what appears to be a bogus visual when querying the
> visual of an HDR window because xlib would be unaware of it.
>
> If you keep track of whether clients support HDR per-connection, you could
fake the HDR windows' visual id for the non-HDR clients, returning a
TrueColor visual id instead. This will avoid the problem of the client
thinking that the visual id is bogus.

Jacob Lifshay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170920/606cf46f/attachment.html>


More information about the xorg-devel mailing list