| #ifndef __GLX_glxint_h__ |
| #define __GLX_glxint_h__ |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| #include <X11/X.h> |
| #include <X11/Xdefs.h> |
| #include "GL/gl.h" |
|
|
| typedef struct __GLXvisualConfigRec __GLXvisualConfig; |
| typedef struct __GLXFBConfigRec __GLXFBConfig; |
|
|
| struct __GLXvisualConfigRec { |
| VisualID vid; |
| int class; |
| Bool rgba; |
| int redSize, greenSize, blueSize, alphaSize; |
| unsigned long redMask, greenMask, blueMask, alphaMask; |
| int accumRedSize, accumGreenSize, accumBlueSize, accumAlphaSize; |
| Bool doubleBuffer; |
| Bool stereo; |
| int bufferSize; |
| int depthSize; |
| int stencilSize; |
| int auxBuffers; |
| int level; |
| |
| int visualRating; |
| int transparentPixel; |
| |
| int transparentRed, transparentGreen, transparentBlue, transparentAlpha; |
| int transparentIndex; |
| int multiSampleSize; |
| int nMultiSampleBuffers; |
| int visualSelectGroup; |
| }; |
|
|
| #define __GLX_MIN_CONFIG_PROPS 18 |
| #define __GLX_MAX_CONFIG_PROPS 500 |
|
|
| #define __GLX_EXT_CONFIG_PROPS 10 |
|
|
| |
| |
| |
| |
| |
| |
| |
| #define __GLX_TOTAL_CONFIG (__GLX_MIN_CONFIG_PROPS + \ |
| 2 * __GLX_EXT_CONFIG_PROPS) |
|
|
| struct __GLXFBConfigRec { |
| int visualType; |
| int transparentType; |
| |
| int transparentRed, transparentGreen, transparentBlue, transparentAlpha; |
| int transparentIndex; |
|
|
| int visualCaveat; |
|
|
| int associatedVisualId; |
| int screen; |
|
|
| int drawableType; |
| int renderType; |
|
|
| int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels; |
| int optimalPbufferWidth, optimalPbufferHeight; |
|
|
| int visualSelectGroup; |
|
|
| unsigned int id; |
|
|
| GLboolean rgbMode; |
| GLboolean colorIndexMode; |
| GLboolean doubleBufferMode; |
| GLboolean stereoMode; |
| GLboolean haveAccumBuffer; |
| GLboolean haveDepthBuffer; |
| GLboolean haveStencilBuffer; |
|
|
| |
| GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; |
| GLint depthBits; |
| GLint stencilBits; |
| GLint indexBits; |
| GLint redBits, greenBits, blueBits, alphaBits; |
| GLuint redMask, greenMask, blueMask, alphaMask; |
|
|
| GLuint multiSampleSize; |
|
|
| GLuint nMultiSampleBuffers; |
| GLint maxAuxBuffers; |
|
|
| |
| GLint level; |
|
|
| |
| GLboolean extendedRange; |
| GLdouble minRed, maxRed; |
| GLdouble minGreen, maxGreen; |
| GLdouble minBlue, maxBlue; |
| GLdouble minAlpha, maxAlpha; |
| }; |
|
|
| #define __GLX_TOTAL_FBCONFIG_PROPS 35 |
|
|
| #endif |
|
|