Skip to content

Color: Improve wording and minor fixes

Pekka Paalanen requested to merge pq/wayland-protocols:mr/rewords into color

I went through the whole CM extension and did some copy-edits and fixes which I hope all are fairly straightforward.

  • Attempted to improve the wording all over.

  • Require compositors to support all listed well-known color space names. Defined a protocol error for this, and dropped the graceful error. (If we want optional instead of mandatory support in compositors, we should advertise supported names the same way pixel formats are advertised.)

  • Added protocol error for surface interface exists.

  • Require white-point inside the primaries' triangle, add a protocol error code for violation (bad_param).

  • Replace "the reference white" with "the SDR maximum white".

  • Use cd/m² instead of "nits".

  • Mention user control of output EDR.

  • Attempted to put into words what pre-multiplied alpha means.

  • Specified default alpha mode.

  • Specified what setting NULL color space does to render intent and alpha mode.

  • Mention that getting the performance benefits of using the output color space may require the client to literally use the color space object created from an output, rather than just manufacturing an "identical" one.

  • Client received ICC fd is read-only.

Cc @swick @vitalyp @NaveenKumar

Merge request reports

Loading