You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wayland's wl_shm can support many formats, but only two are required to be supported by compositors.
So some questions here:
What formats should be supported?
We want to offer a format for each platform that can be used efficiently without conversion, at least, and there doesn't seem to be one that can be assumed everywhere, unfortunately.
There are many formats that could be supported on at least some platforms.
Do we want to support formats that are not 4 byte per pixel? This will impact the API, which currently uses u32 values for pixels.
How to we communicate what formats are supported, and what formats are optimal?
We still want at least one format to work on all platforms, even if it requires conversion on some, right? What formats should be universally supported, then?