Lines Matching refs:modes

121  * parameters.  The number of modes processed will be 2 *
137 * of the \c GL_UNSIGNED_INT_8_8_8_8 modes. The resulting mask values in the
162 * \param db_modes Array of buffer swap modes. If an element has a
181 * There is currently no way to support packed RGB modes (i.e., modes with
182 * exactly 3 bytes per pixel) or floating-point modes. This could probably
252 struct gl_config *modes;
337 modes = &(*c)->modes;
340 memset(modes, 0, sizeof *modes);
341 modes->redBits = bits[0];
342 modes->greenBits = bits[1];
343 modes->blueBits = bits[2];
344 modes->alphaBits = bits[3];
345 modes->redMask = masks[0];
346 modes->greenMask = masks[1];
347 modes->blueMask = masks[2];
348 modes->alphaMask = masks[3];
349 modes->rgbBits = modes->redBits + modes->greenBits
350 + modes->blueBits + modes->alphaBits;
352 modes->accumRedBits = 16 * j;
353 modes->accumGreenBits = 16 * j;
354 modes->accumBlueBits = 16 * j;
355 modes->accumAlphaBits = (masks[3] != 0) ? 16 * j : 0;
356 modes->visualRating = (j == 0) ? GLX_NONE : GLX_SLOW_CONFIG;
358 modes->stencilBits = stencil_bits[k];
359 modes->depthBits = depth_bits[k];
361 modes->transparentPixel = GLX_NONE;
362 modes->transparentRed = GLX_DONT_CARE;
363 modes->transparentGreen = GLX_DONT_CARE;
364 modes->transparentBlue = GLX_DONT_CARE;
365 modes->transparentAlpha = GLX_DONT_CARE;
366 modes->transparentIndex = GLX_DONT_CARE;
367 modes->rgbMode = GL_TRUE;
370 modes->doubleBufferMode = GL_FALSE;
373 modes->doubleBufferMode = GL_TRUE;
374 modes->swapMethod = db_modes[i];
377 modes->samples = msaa_samples[h];
378 modes->sampleBuffers = modes->samples ? 1 : 0;
381 modes->haveAccumBuffer = ((modes->accumRedBits +
382 modes->accumGreenBits +
383 modes->accumBlueBits +
384 modes->accumAlphaBits) > 0);
385 modes->haveDepthBuffer = (modes->depthBits > 0);
386 modes->haveStencilBuffer = (modes->stencilBits > 0);
388 modes->bindToTextureRgb = GL_TRUE;
389 modes->bindToTextureRgba = GL_TRUE;
390 modes->bindToMipmapTexture = GL_FALSE;
391 modes->bindToTextureTargets =
396 modes->sRGBCapable = GL_FALSE;
508 if (config->modes.visualRating == GLX_NON_CONFORMANT_CONFIG)
510 else if (config->modes.visualRating == GLX_SLOW_CONFIG)
521 *value = config->modes.floatMode;
527 ((char *) &config->modes + attribMap[index].offset);