| 30 | | |
|---|
| 31 | | /*struct __GLXvisualConfigRec |
|---|
| 32 | | { |
|---|
| 33 | | VisualID vid; |
|---|
| 34 | | int _class; |
|---|
| 35 | | Bool rgba; |
|---|
| 36 | | int redSize, greenSize, blueSize, alphaSize; |
|---|
| 37 | | uint redMask, greenMask, blueMask, alphaMask; |
|---|
| 38 | | int accumRedSize, accumGreenSize, accumBlueSize, accumAlphaSize; |
|---|
| 39 | | Bool doubleBuffer; |
|---|
| 40 | | Bool stereo; |
|---|
| 41 | | int bufferSize; |
|---|
| 42 | | int depthSize; |
|---|
| 43 | | int stencilSize; |
|---|
| 44 | | int auxBuffers; |
|---|
| 45 | | int level; |
|---|
| 46 | | |
|---|
| 47 | | int visualRating; |
|---|
| 48 | | int transparentPixel; |
|---|
| 49 | | |
|---|
| 50 | | int transparentRed, transparentGreen, transparentBlue, transparentAlpha; |
|---|
| 51 | | int transparentIndex; |
|---|
| 52 | | int multiSampleSize; |
|---|
| 53 | | int nMultiSampleBuffers; |
|---|
| 54 | | int visualSelectGroup; |
|---|
| 55 | | } |
|---|
| 56 | | |
|---|
| 57 | | const int __GLX_MIN_CONFIG_PROPS = 18; |
|---|
| 58 | | const int __GLX_MAX_CONFIG_PROPS = 500; |
|---|
| 59 | | const int __GLX_EXT_CONFIG_PROPS = 10; |
|---|
| 60 | | const int __GLX_TOTAL_CONFIG = __GLX_MIN_CONFIG_PROPS+2 * __GLX_EXT_CONFIG_PROPS; |
|---|
| 61 | | */ |
|---|
| 62 | | |
|---|
| 63 | | /* struct __GLXFBConfigRec |
|---|
| 64 | | { |
|---|
| 65 | | int visualType; |
|---|
| 66 | | int transparentType; |
|---|
| 67 | | |
|---|
| 68 | | int transparentRed, transparentGreen, transparentBlue, transparentAlpha; |
|---|
| 69 | | int transparentIndex; |
|---|
| 70 | | |
|---|
| 71 | | int visualCaveat; |
|---|
| 72 | | |
|---|
| 73 | | int associatedVisualID; |
|---|
| 74 | | int screen; |
|---|
| 75 | | |
|---|
| 76 | | int drawableType; |
|---|
| 77 | | int rendertype; |
|---|
| 78 | | |
|---|
| 79 | | int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels; |
|---|
| 80 | | int optimalPbufferWidth, optimalPbufferHeight; |
|---|
| 81 | | |
|---|
| 82 | | int visualSelectGroup; |
|---|
| 83 | | |
|---|
| 84 | | uint id; |
|---|
| 85 | | |
|---|
| 86 | | GLboolean rgbMode; |
|---|
| 87 | | GLboolean colorIndexMode; |
|---|
| 88 | | GLboolean doubleBufferMode; |
|---|
| 89 | | GLboolean stereoMode; |
|---|
| 90 | | GLboolean haveAccumBuffer; |
|---|
| 91 | | GLboolean haveDepthBuffer; |
|---|
| 92 | | GLboolean haveStencilBuffer; |
|---|
| 93 | | |
|---|
| 94 | | GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; |
|---|
| 95 | | GLint depthBits; |
|---|
| 96 | | GLint stencilBits; |
|---|
| 97 | | GLint indexBits; |
|---|
| 98 | | GLint redBits, greenBits, blueBits, alphaBits; |
|---|
| 99 | | GLuint redMask, greenMask, blueMask, alphaMask; |
|---|
| 100 | | |
|---|
| 101 | | GLuint multiSampleSize; |
|---|
| 102 | | |
|---|
| 103 | | GLuint nMultiSampleBuffers; |
|---|
| 104 | | GLint maxAuxBuffers; |
|---|
| 105 | | |
|---|
| 106 | | GLint level; |
|---|
| 107 | | |
|---|
| 108 | | GLboolean extendedRange; |
|---|
| 109 | | GLdouble minRed, maxRed; |
|---|
| 110 | | GLdouble minGreen, maxGreen; |
|---|
| 111 | | GLdouble minBlue, maxGlue; |
|---|
| 112 | | GLdouble minAlpha, maxAlpha; |
|---|
| 113 | | } */ |
|---|