[PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-11-28 Thread Tapani Pälli
This fixes blending issues seen with kwin and gnome-shell when 32bit visual has sRGB capability set. Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103699 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103646 Bugzilla: https://bugs.freedesktop.org

Re: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-12-11 Thread Tapani Pälli
Hi; Any comments? Without this change there will be issues with certain Linux desktops when distributions start to use Mesa 17.4. On 11/28/2017 09:23 AM, Tapani Pälli wrote: This fixes blending issues seen with kwin and gnome-shell when 32bit visual has sRGB capability set. Signed-off-by

Re: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-12-15 Thread Tapani Pälli
Hi; On 15.12.2017 10:10, Thomas Hellstrom wrote: On 12/11/2017 06:53 AM, Tapani Pälli wrote: Hi; Any comments? Without this change there will be issues with certain Linux desktops when distributions start to use Mesa 17.4. Tapani, Did you actually try this with latest xserver master

Re: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-12-15 Thread Tapani Pälli
On 15.12.2017 16:40, Thomas Hellstrom wrote: On 12/15/2017 02:50 PM, Tapani Pälli wrote: Hi; On 15.12.2017 10:10, Thomas Hellstrom wrote: On 12/11/2017 06:53 AM, Tapani Pälli wrote: Hi; Any comments? Without this change there will be issues with certain Linux desktops when distributions

Re: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-12-18 Thread Tapani Pälli
On 12/18/2017 09:25 AM, Thomas Hellstrom wrote: On 12/18/2017 08:10 AM, Tapani Pälli wrote: On 12/15/2017 08:32 PM, Thomas Hellstrom wrote: Hi! On 12/15/2017 04:37 PM, Tapani Pälli wrote: Yes it does. And the GLX ARB specification states that sRGB support starts turned off so that it

Re: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-12-18 Thread Tapani Pälli
On 12/15/2017 08:32 PM, Thomas Hellstrom wrote: Hi! On 12/15/2017 04:37 PM, Tapani Pälli wrote: Yes it does. And the GLX ARB specification states that sRGB support starts turned off so that it shouldn't affect existing applications that get an sRGB fbconfig by mistake. Is ther

Re: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual

2017-12-21 Thread Tapani Pälli
On 12/20/2017 10:32 PM, Adam Jackson wrote: On Mon, 2017-12-11 at 07:53 +0200, Tapani Pälli wrote: Hi; Any comments? Without this change there will be issues with certain Linux desktops when distributions start to use Mesa 17.4. I've merged Thomas' GLX visual setup changes t