Re: [RFCv2 6/9] gl-renderer: Add support for blending in linear space.

2012-11-19 Thread John Kåre Alsaker
On Mon, Nov 19, 2012 at 9:52 AM, Pekka Paalanen wrote: > On Sat, 17 Nov 2012 03:23:57 +0100 > John Kåre Alsaker wrote: > >> This makes compositing gamma correct by assuming all input surfaces are in >> the sRGB color space. It can be enabled by setting color-managed to true >> in the compositor s

Re: [RFCv2 6/9] gl-renderer: Add support for blending in linear space.

2012-11-19 Thread Pekka Paalanen
On Sat, 17 Nov 2012 03:23:57 +0100 John Kåre Alsaker wrote: > This makes compositing gamma correct by assuming all input surfaces are in > the sRGB color space. It can be enabled by setting color-managed to true > in the compositor section of weston.ini. > > It's implemented by converting from s

[RFCv2 6/9] gl-renderer: Add support for blending in linear space.

2012-11-16 Thread John Kåre Alsaker
This makes compositing gamma correct by assuming all input surfaces are in the sRGB color space. It can be enabled by setting color-managed to true in the compositor section of weston.ini. It's implemented by converting from sRGB gamma using the new CONVERSION_FROM_SRGB shader attribute and drawi