Implement basic HDR support for wayland canvas

The patch does the following:

  1. Adds an option for KisOpenGLCanvas to use 10-bit color. For some reason, 16F-bit color is not available on Wayland, so it is not added to the list.

  2. KisCanvasSurfaceColorSpaceManager now also tracks if the surface works in HDR mode. If so, it instructs KisCanvas2 to recreate the canvas widget with higher bit depth.

Merge request reports

Loading