Skip to content
  • Tomasz Lis's avatar
    Full support of sRGB capable fbconfigs. · cf89aa53
    Tomasz Lis authored and Keith Packard's avatar Keith Packard committed
    
    
    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: default avatarTomasz Lis <tomasz.lis@intel.com>
    Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
    Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
    cf89aa53