[patches] Add a color management framework to weston

Richard Hughes hughsient at gmail.com
Fri Apr 5 13:06:22 PDT 2013


On 5 April 2013 20:23, Thomas Daede <daede003 at umn.edu> wrote:
> Color correction is most important for artists doing work in something
> like the GIMP. Programs like this (as of GIMP 3.0, at least) generally
> work in higher bit depths

For GIMP I was going to just allow the app to opt-out a sub-surface
from any kind of color management. i.e. do it all in the app.

>> The compositor should be able to draw N polygons for the N intersections of a surface with each output, each using a different shader?
>> You absolutely do not want to put an if based on a pixel value into a glsl shader. It is really slow.
>
> This is the correct way, I think. Splitting surfaces by monitor also
> has other unrelated benefits, like being able to sync separately to
> each monitor - it probably should go somewhere else.

Right, I'll look into per-output shader code next week.

Richard


More information about the wayland-devel mailing list