X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Fglxconfig.h;h=75704737ef533511642c523b67aa969946e1ded3;hb=efd439e0d648c90ae5854a0e83cd864836864e91;hp=f7ee958e4be1d8402e6807a8dea71a50f1213867;hpb=443a7e4e9a360acbc3e662c098be436f180bf81d;p=mesa.git diff --git a/src/glx/glxconfig.h b/src/glx/glxconfig.h index f7ee958e4be..75704737ef5 100644 --- a/src/glx/glxconfig.h +++ b/src/glx/glxconfig.h @@ -33,14 +33,12 @@ struct glx_config { struct glx_config * next; - GLboolean rgbMode; - GLboolean floatMode; - GLboolean colorIndexMode; GLuint doubleBufferMode; GLuint stereoMode; GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */ GLuint redMask, greenMask, blueMask, alphaMask; + GLuint redShift, greenShift, blueShift, alphaShift; GLint rgbBits; /* total bits for rgb */ GLint indexBits; /* total bits for colorindex */ @@ -52,8 +50,6 @@ struct glx_config { GLint level; - GLint pixmapMode; - /* GLX */ GLint visualID; GLint visualType; /**< One of the GLX X visual types. (i.e., @@ -100,6 +96,9 @@ struct glx_config { GLint bindToMipmapTexture; GLint bindToTextureTargets; GLint yInverted; + + /* EXT_framebuffer_sRGB */ + GLint sRGBCapable; }; #define __GLX_MIN_CONFIG_PROPS 18