[Mesa-dev] [PATCH] glx: add missing sRGB attribute check in fbconfigs_compatible()

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 28 15:37:00 UTC 2017


On 28 April 2017 at 14:53, Brian Paul <brianp at vmware.com> wrote:
> From: Neha Bhende <bhenden at vmware.com>
>
> This patch will allow driver to choose srgb capable FBconfig
> if GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB attribute is 1
>
Out of curiosity - how did you spot that? If some existing program was
affected we want to mention that in the commit message.

AFAICT the spec does not say anything about the default value of
GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB nor the sorting method.
Either way - those are somewhat orthogonal to the patch :-)

> Reviewed-by: Brian Paul <brianp at vmware.com>
> Reviewed-by: Charmaine Lee <charmainel at vmware.com>

Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list