Download include/GL/glxint.h from michaelu0826/phantom_env: direct link, hf CLI and curl.
- Browser
- Download file 4.7 kB
-
https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/GL/glxint.h
- Command line
-
hf download hf://datasets/michaelu0826/phantom_env/include/GL/glxint.h
-
curl -L -o glxint.h https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/GL/glxint.h
4.7 kB
| /* | |
| * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) | |
| * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a | |
| * copy of this software and associated documentation files (the "Software"), | |
| * to deal in the Software without restriction, including without limitation | |
| * the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| * and/or sell copies of the Software, and to permit persons to whom the | |
| * Software is furnished to do so, subject to the following conditions: | |
| * | |
| * The above copyright notice including the dates of first publication and | |
| * either this permission notice or a reference to | |
| * http://oss.sgi.com/projects/FreeB/ | |
| * shall be included in all copies or substantial portions of the Software. | |
| * | |
| * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
| * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | |
| * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
| * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF | |
| * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| * SOFTWARE. | |
| * | |
| * Except as contained in this notice, the name of Silicon Graphics, Inc. | |
| * shall not be used in advertising or otherwise to promote the sale, use or | |
| * other dealings in this Software without prior written authorization from | |
| * Silicon Graphics, Inc. | |
| */ | |
| 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; | |
| /* Start of Extended Visual Properties */ | |
| int visualRating; /* visual_rating extension */ | |
| int transparentPixel; /* visual_info extension */ | |
| /* colors are floats scaled to ints */ | |
| int transparentRed, transparentGreen, transparentBlue, transparentAlpha; | |
| int transparentIndex; | |
| int multiSampleSize; | |
| int nMultiSampleBuffers; | |
| int visualSelectGroup; | |
| }; | |
| /* | |
| ** Since we send all non-core visual properties as token, value pairs, | |
| ** we require 2 words across the wire. In order to maintain backwards | |
| ** compatibility, we need to send the total number of words that the | |
| ** VisualConfigs are sent back in so old libraries can simply "ignore" | |
| ** the new properties. | |
| */ | |
| struct __GLXFBConfigRec { | |
| int visualType; | |
| int transparentType; | |
| /* colors are floats scaled to ints */ | |
| int transparentRed, transparentGreen, transparentBlue, transparentAlpha; | |
| int transparentIndex; | |
| int visualCaveat; | |
| int associatedVisualId; | |
| int screen; | |
| int drawableType; | |
| int renderType; | |
| int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels; | |
| int optimalPbufferWidth, optimalPbufferHeight; /* for SGIX_pbuffer */ | |
| int visualSelectGroup; /* visuals grouped by select priority */ | |
| unsigned int id; | |
| GLboolean rgbMode; | |
| GLboolean colorIndexMode; | |
| GLboolean doubleBufferMode; | |
| GLboolean stereoMode; | |
| GLboolean haveAccumBuffer; | |
| GLboolean haveDepthBuffer; | |
| GLboolean haveStencilBuffer; | |
| /* The number of bits present in various buffers */ | |
| GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; | |
| GLint depthBits; | |
| GLint stencilBits; | |
| GLint indexBits; | |
| GLint redBits, greenBits, blueBits, alphaBits; | |
| GLuint redMask, greenMask, blueMask, alphaMask; | |
| GLuint multiSampleSize; /* Number of samples per pixel (0 if no ms) */ | |
| GLuint nMultiSampleBuffers; /* Number of available ms buffers */ | |
| GLint maxAuxBuffers; | |
| /* frame buffer level */ | |
| GLint level; | |
| /* color ranges (for SGI_color_range) */ | |
| GLboolean extendedRange; | |
| GLdouble minRed, maxRed; | |
| GLdouble minGreen, maxGreen; | |
| GLdouble minBlue, maxBlue; | |
| GLdouble minAlpha, maxAlpha; | |
| }; | |