smithay icon indicating copy to clipboard operation
smithay copied to clipboard

Support more formats for x11 backend

Open i509VCB opened this issue 3 years ago • 1 comments

At the moment only little endian Argb8888 and Xrgb8888 are supported.

We probably want to support big endian forms of these pixel formats along with some other formats, such as RGBA10_10_10_2 in little and big endian.

I imagine there are some other common formats we want to support, do comment if I have forgotten some of them.

Regarding code changes, we need to find the proper bpp and depths corresponding to the format.

i509VCB avatar Dec 16 '21 18:12 i509VCB

Hello,

I'd like to make this improvement as my first contribution to the project if this would still be valuable. I've had a look around in the x11 backend so I've now got an idea where the changes should be made.

Ben2917 avatar Apr 22 '23 14:04 Ben2917