Lines Matching refs:modes

459  * parameters.  The number of modes processed will be 2 *
475 * of the \c GL_UNSIGNED_INT_8_8_8_8 modes. The resulting mask values in the
500 * \param db_modes Array of buffer swap modes. If an element has a
516 * There is currently no way to support packed RGB modes (i.e., modes with
517 * exactly 3 bytes per pixel) or floating-point modes. This could probably
585 __GLcontextModes *modes;
671 modes = &(*c)->modes;
674 memset(modes, 0, sizeof *modes);
675 modes->redBits = bits[0];
676 modes->greenBits = bits[1];
677 modes->blueBits = bits[2];
678 modes->alphaBits = bits[3];
679 modes->redMask = masks[0];
680 modes->greenMask = masks[1];
681 modes->blueMask = masks[2];
682 modes->alphaMask = masks[3];
683 modes->rgbBits = modes->redBits + modes->greenBits
684 + modes->blueBits + modes->alphaBits;
686 modes->accumRedBits = 16 * j;
687 modes->accumGreenBits = 16 * j;
688 modes->accumBlueBits = 16 * j;
689 modes->accumAlphaBits = (masks[3] != 0) ? 16 * j : 0;
690 modes->visualRating = (j == 0) ? GLX_NONE : GLX_SLOW_CONFIG;
692 modes->stencilBits = stencil_bits[k];
693 modes->depthBits = depth_bits[k];
695 modes->transparentPixel = GLX_NONE;
696 modes->transparentRed = GLX_DONT_CARE;
697 modes->transparentGreen = GLX_DONT_CARE;
698 modes->transparentBlue = GLX_DONT_CARE;
699 modes->transparentAlpha = GLX_DONT_CARE;
700 modes->transparentIndex = GLX_DONT_CARE;
701 modes->visualType = GLX_DONT_CARE;
702 modes->renderType = GLX_RGBA_BIT;
703 modes->drawableType = GLX_WINDOW_BIT;
704 modes->rgbMode = GL_TRUE;
707 modes->doubleBufferMode = GL_FALSE;
710 modes->doubleBufferMode = GL_TRUE;
711 modes->swapMethod = db_modes[i];
714 modes->haveAccumBuffer = ((modes->accumRedBits +
715 modes->accumGreenBits +
716 modes->accumBlueBits +
717 modes->accumAlphaBits) > 0);
718 modes->haveDepthBuffer = (modes->depthBits > 0);
719 modes->haveStencilBuffer = (modes->stencilBits > 0);
721 modes->bindToTextureRgb = GL_TRUE;
722 modes->bindToTextureRgba = GL_TRUE;
723 modes->bindToMipmapTexture = GL_FALSE;
724 modes->bindToTextureTargets = modes->rgbMode ?
823 if (config->modes.rgbMode)
829 if (config->modes.visualRating == GLX_NON_CONFORMANT_CONFIG)
831 else if (config->modes.visualRating == GLX_SLOW_CONFIG)
840 *value = config->modes.floatMode;
845 ((char *) &config->modes + attribMap[index].offset);