wayland: implement the color representation protocol

This protocol allows clients to specify how YUV type buffers are converted to RGB and if the content is limited or full range, so that for example hardware-decoded video can be presented correctly.

It also allows specifying how alpha is interpreted, but that's not implemented yet - we only support premultiplied electrical atm.

Edited by Xaver Hugl

Merge request reports

Loading