[RFC wayland-protocols] Add the color-management protocol

Carsten Haitzler (The Rasterman) raster at rasterman.com
Wed Dec 21 00:36:59 UTC 2016


On Tue, 20 Dec 2016 16:46:07 +0000 Daniel Stone <daniel at fooishbar.org> said:

> Hi,
> 
> On 19 December 2016 at 02:08, Carsten Haitzler <raster at rasterman.com> wrote:
> > On Sat, 19 Nov 2016 17:29:20 +0100 Niels Ole Salscheider
> > <niels_ole at salscheider-online.de> said:
> >> +  <interface name="zwp_colorspace_v1" version="1">
> >> +    <description summary="represents a color space">
> >> +      This interface represents a color space that can be attached to
> >> surfaces.
> >> +      It is used by the zwp_color_management_v1 interface.
> >> +    </description>
> >
> > so... here is my question - shouldn't the colorspace be tired to a buffer?
> > not a surface? yes. i know. the surface "displays" the buffer... but the
> > colorspace is intrinsic to the buffer content... right?
> 
> Conceptually, buffer is a good shout, but buffers are hidden from you
> in EGL. Given that people will want to do (at least vaguely)
> colour-correct GL rendering, that makes surface rather than bufer the
> right choice.

i actually meant wl_buffer which is really the abstraction on top of these
buffers... ?


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at rasterman.com



More information about the wayland-devel mailing list