• Home
  • Raw
  • Download

Lines Matching refs:modes

184    struct gl_config *modes;  in driCreateConfigs()  local
255 modes = &(*c)->modes; in driCreateConfigs()
258 memset(modes, 0, sizeof *modes); in driCreateConfigs()
259 modes->redBits = red_bits; in driCreateConfigs()
260 modes->greenBits = green_bits; in driCreateConfigs()
261 modes->blueBits = blue_bits; in driCreateConfigs()
262 modes->alphaBits = alpha_bits; in driCreateConfigs()
263 modes->redMask = masks[0]; in driCreateConfigs()
264 modes->greenMask = masks[1]; in driCreateConfigs()
265 modes->blueMask = masks[2]; in driCreateConfigs()
266 modes->alphaMask = masks[3]; in driCreateConfigs()
267 modes->rgbBits = modes->redBits + modes->greenBits in driCreateConfigs()
268 + modes->blueBits + modes->alphaBits; in driCreateConfigs()
270 modes->accumRedBits = 16 * j; in driCreateConfigs()
271 modes->accumGreenBits = 16 * j; in driCreateConfigs()
272 modes->accumBlueBits = 16 * j; in driCreateConfigs()
273 modes->accumAlphaBits = (masks[3] != 0) ? 16 * j : 0; in driCreateConfigs()
274 modes->visualRating = (j == 0) ? GLX_NONE : GLX_SLOW_CONFIG; in driCreateConfigs()
276 modes->stencilBits = stencil_bits[k]; in driCreateConfigs()
277 modes->depthBits = depth_bits[k]; in driCreateConfigs()
279 modes->transparentPixel = GLX_NONE; in driCreateConfigs()
280 modes->transparentRed = GLX_DONT_CARE; in driCreateConfigs()
281 modes->transparentGreen = GLX_DONT_CARE; in driCreateConfigs()
282 modes->transparentBlue = GLX_DONT_CARE; in driCreateConfigs()
283 modes->transparentAlpha = GLX_DONT_CARE; in driCreateConfigs()
284 modes->transparentIndex = GLX_DONT_CARE; in driCreateConfigs()
285 modes->rgbMode = GL_TRUE; in driCreateConfigs()
288 modes->doubleBufferMode = GL_FALSE; in driCreateConfigs()
291 modes->doubleBufferMode = GL_TRUE; in driCreateConfigs()
292 modes->swapMethod = db_modes[i]; in driCreateConfigs()
295 modes->samples = msaa_samples[h]; in driCreateConfigs()
296 modes->sampleBuffers = modes->samples ? 1 : 0; in driCreateConfigs()
299 modes->haveAccumBuffer = ((modes->accumRedBits + in driCreateConfigs()
300 modes->accumGreenBits + in driCreateConfigs()
301 modes->accumBlueBits + in driCreateConfigs()
302 modes->accumAlphaBits) > 0); in driCreateConfigs()
303 modes->haveDepthBuffer = (modes->depthBits > 0); in driCreateConfigs()
304 modes->haveStencilBuffer = (modes->stencilBits > 0); in driCreateConfigs()
306 modes->bindToTextureRgb = GL_TRUE; in driCreateConfigs()
307 modes->bindToTextureRgba = GL_TRUE; in driCreateConfigs()
308 modes->bindToMipmapTexture = GL_FALSE; in driCreateConfigs()
309 modes->bindToTextureTargets = in driCreateConfigs()
314 modes->yInverted = GL_TRUE; in driCreateConfigs()
315 modes->sRGBCapable = is_srgb; in driCreateConfigs()
424 if (config->modes.visualRating == GLX_NON_CONFORMANT_CONFIG) in driGetConfigAttribIndex()
426 else if (config->modes.visualRating == GLX_SLOW_CONFIG) in driGetConfigAttribIndex()
438 ((char *) &config->modes + attribMap[index].offset); in driGetConfigAttribIndex()