Lines Matching refs:getGLXFBConfigAttrib
43 static int getGLXFBConfigAttrib(GLXFBConfig fbconfig, int attrib)
85 if (!(getGLXFBConfigAttrib(n, GLX_RENDER_TYPE) & GLX_RGBA_BIT))
89 if (!(getGLXFBConfigAttrib(n, GLX_DRAWABLE_TYPE) & GLX_WINDOW_BIT))
95 if (getGLXFBConfigAttrib(n, GLX_DOUBLEBUFFER) != desired->doublebuffer)
108 u->redBits = getGLXFBConfigAttrib(n, GLX_RED_SIZE);
109 u->greenBits = getGLXFBConfigAttrib(n, GLX_GREEN_SIZE);
110 u->blueBits = getGLXFBConfigAttrib(n, GLX_BLUE_SIZE);
112 u->alphaBits = getGLXFBConfigAttrib(n, GLX_ALPHA_SIZE);
113 u->depthBits = getGLXFBConfigAttrib(n, GLX_DEPTH_SIZE);
114 u->stencilBits = getGLXFBConfigAttrib(n, GLX_STENCIL_SIZE);
116 u->accumRedBits = getGLXFBConfigAttrib(n, GLX_ACCUM_RED_SIZE);
117 u->accumGreenBits = getGLXFBConfigAttrib(n, GLX_ACCUM_GREEN_SIZE);
118 u->accumBlueBits = getGLXFBConfigAttrib(n, GLX_ACCUM_BLUE_SIZE);
119 u->accumAlphaBits = getGLXFBConfigAttrib(n, GLX_ACCUM_ALPHA_SIZE);
121 u->auxBuffers = getGLXFBConfigAttrib(n, GLX_AUX_BUFFERS);
123 if (getGLXFBConfigAttrib(n, GLX_STEREO))
127 u->samples = getGLXFBConfigAttrib(n, GLX_SAMPLES);
130 u->sRGB = getGLXFBConfigAttrib(n, GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB);