This implements the functionality to attach a profile to a surface
in weston. An LUT is built from the profile that can be used to
transform colors from the input color space to the blending color
space.
This patch uses the sRGB color space as blending space because it
uses 8 bit LUTs for now and
This patch ignores the YUV variants for now.
Signed-off-by: Niels Ole Salscheider niels_...@salscheider-online.de
---
src/gl-renderer.c | 104 ++
1 file changed, 104 insertions(+)
diff --git a/src/gl-renderer.c b/src/gl-renderer.c
index
The following patches add initial support for per-surface color
management in weston. The last patch allows to set a color profile in
the image demo program.
It uses sRGB as blending color space for now because OpenGL ES 2.0
limits me to an 8 bit LUT and I would like to avoid losing precision.
This patch ignores the borders for now.
Signed-off-by: Niels Ole Salscheider niels_...@salscheider-online.de
---
src/gl-renderer.c | 309 ++
1 file changed, 286 insertions(+), 23 deletions(-)
diff --git a/src/gl-renderer.c b/src/gl-renderer.c
You can now use the C key to toggle between the following modes:
- Assume sRGB input color space
- Assume that the input color space is the blending color space
- Do not use color correction
- Attach a false-color ICC profile to the surface
Signed-off-by: Niels Ole Salscheider
The color correction protocol allows to attach an ICC profile to a
surface. It also tells the client about the blending color space and
the color spaces of all outputs.
Signed-off-by: Niels Ole Salscheider niels_...@salscheider-online.de
---
Makefile.am | 15 ++--
This patch allows to attach an ICC profile to each output. It then
builds an LUT that can be used to translate colors from the
blending space to the output space.
Signed-off-by: Niels Ole Salscheider niels_...@salscheider-online.de
---
src/cms-colord.c | 4 +++-
src/cms-helper.c | 7 ++-
On Sat, Mar 29, 2014 at 07:12:59PM +0100, Sylvain BERTRAND wrote:
On Sat, Mar 29, 2014 at 06:59:12PM +0100, Jonas Ã…dahl wrote:
Yes, for now at least.
Sad.
But till there is no crazy code generator, it should be easy
to write a makefile/shell script to by-pass the autotools and
build the
-Original Message-
From: Pekka Paalanen [mailto:ppaala...@gmail.com]
Sent: Friday, March 28, 2014 11:00 PM
To: Wang, Quanxian
Cc: wayland-devel@lists.freedesktop.org
Subject: Re: [PATCH V2 1/8] wesston: Add weston randr protocol
On Mon, 24 Mar 2014 19:39:13 +0800
Quanxian Wang