Lines Matching defs:mode
127 * represents a single-buffered mode. Other valid
519 unsigned num_msaa_modes = 0; /* includes a single-sample mode */
595 const struct gl_config *mode)
599 if (!mode)
603 switch (mode->redMask) {
606 assert(mode->floatMode);
607 if (mode->alphaShift > -1) {
608 assert(mode->alphaShift == 48);
616 if (mode->alphaMask) {
617 assert(mode->alphaMask == 0xC0000000);
625 if (mode->alphaMask) {
626 assert(mode->alphaMask == 0xC0000000);
634 if (mode->alphaMask) {
635 assert(mode->alphaMask == 0xFF000000);
636 stvis->color_format = mode->sRGBCapable ?
640 stvis->color_format = mode->sRGBCapable ?
647 if (mode->alphaMask) {
648 assert(mode->alphaMask == 0xFF000000);
649 stvis->color_format = mode->sRGBCapable ?
653 stvis->color_format = mode->sRGBCapable ?
668 if (mode->samples > 0) {
672 stvis->samples = mode->samples;
675 switch (mode->depthBits) {
684 if (mode->stencilBits == 0) {
699 stvis->accum_format = (mode->accumRedBits > 0) ?
703 if (mode->doubleBufferMode) {
706 if (mode->stereoMode) {
708 if (mode->doubleBufferMode)
712 if (mode->depthBits > 0 || mode->stencilBits > 0)