Commit cf89aa53 authored by Committed by Keith Packard
Full support of sRGB capable fbconfigs.
Changes to correctly initialize the sRGB capability attribute and transfer it between XServer and the client. Modifications include extension string, transferring visual config attribs and fbconfig attribs. Also, attribute is initialized in the modules which do not really use it (xquartz and xwin). This version advertises both ARB and EXT strings, and initializes the capability to default value of FALSE. It has corrected required GLX version and does not influence swrast. The sRGB capable attribute is attached only to those configs which do have this capability. Both ARB and EXT versions share the same GLX extension enabling bit. Signed-off-by: Tomasz Lis <firstname.lastname@example.org> Reviewed-by: Ian Romanick <email@example.com> Signed-off-by: Keith Packard <firstname.lastname@example.org>
Showing with 47 additions and 5 deletions