Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/GL
File: glxint.h
#ifndef __GLX_glxint_h__
[0] Fix | Delete
#define __GLX_glxint_h__
[1] Fix | Delete
[2] Fix | Delete
/*
[3] Fix | Delete
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
[4] Fix | Delete
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
[5] Fix | Delete
*
[6] Fix | Delete
* Permission is hereby granted, free of charge, to any person obtaining a
[7] Fix | Delete
* copy of this software and associated documentation files (the "Software"),
[8] Fix | Delete
* to deal in the Software without restriction, including without limitation
[9] Fix | Delete
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
[10] Fix | Delete
* and/or sell copies of the Software, and to permit persons to whom the
[11] Fix | Delete
* Software is furnished to do so, subject to the following conditions:
[12] Fix | Delete
*
[13] Fix | Delete
* The above copyright notice including the dates of first publication and
[14] Fix | Delete
* either this permission notice or a reference to
[15] Fix | Delete
* http://oss.sgi.com/projects/FreeB/
[16] Fix | Delete
* shall be included in all copies or substantial portions of the Software.
[17] Fix | Delete
*
[18] Fix | Delete
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
[19] Fix | Delete
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[20] Fix | Delete
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
[21] Fix | Delete
* SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
[22] Fix | Delete
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
[23] Fix | Delete
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
[24] Fix | Delete
* SOFTWARE.
[25] Fix | Delete
*
[26] Fix | Delete
* Except as contained in this notice, the name of Silicon Graphics, Inc.
[27] Fix | Delete
* shall not be used in advertising or otherwise to promote the sale, use or
[28] Fix | Delete
* other dealings in this Software without prior written authorization from
[29] Fix | Delete
* Silicon Graphics, Inc.
[30] Fix | Delete
*/
[31] Fix | Delete
[32] Fix | Delete
#include <X11/X.h>
[33] Fix | Delete
#include <X11/Xdefs.h>
[34] Fix | Delete
#include "GL/gl.h"
[35] Fix | Delete
[36] Fix | Delete
typedef struct __GLXvisualConfigRec __GLXvisualConfig;
[37] Fix | Delete
typedef struct __GLXFBConfigRec __GLXFBConfig;
[38] Fix | Delete
[39] Fix | Delete
struct __GLXvisualConfigRec {
[40] Fix | Delete
VisualID vid;
[41] Fix | Delete
int class;
[42] Fix | Delete
Bool rgba;
[43] Fix | Delete
int redSize, greenSize, blueSize, alphaSize;
[44] Fix | Delete
unsigned long redMask, greenMask, blueMask, alphaMask;
[45] Fix | Delete
int accumRedSize, accumGreenSize, accumBlueSize, accumAlphaSize;
[46] Fix | Delete
Bool doubleBuffer;
[47] Fix | Delete
Bool stereo;
[48] Fix | Delete
int bufferSize;
[49] Fix | Delete
int depthSize;
[50] Fix | Delete
int stencilSize;
[51] Fix | Delete
int auxBuffers;
[52] Fix | Delete
int level;
[53] Fix | Delete
/* Start of Extended Visual Properties */
[54] Fix | Delete
int visualRating; /* visual_rating extension */
[55] Fix | Delete
int transparentPixel; /* visual_info extension */
[56] Fix | Delete
/* colors are floats scaled to ints */
[57] Fix | Delete
int transparentRed, transparentGreen, transparentBlue, transparentAlpha;
[58] Fix | Delete
int transparentIndex;
[59] Fix | Delete
int multiSampleSize;
[60] Fix | Delete
int nMultiSampleBuffers;
[61] Fix | Delete
int visualSelectGroup;
[62] Fix | Delete
};
[63] Fix | Delete
[64] Fix | Delete
#define __GLX_MIN_CONFIG_PROPS 18
[65] Fix | Delete
#define __GLX_MAX_CONFIG_PROPS 500
[66] Fix | Delete
[67] Fix | Delete
#define __GLX_EXT_CONFIG_PROPS 10
[68] Fix | Delete
[69] Fix | Delete
/*
[70] Fix | Delete
** Since we send all non-core visual properties as token, value pairs,
[71] Fix | Delete
** we require 2 words across the wire. In order to maintain backwards
[72] Fix | Delete
** compatibility, we need to send the total number of words that the
[73] Fix | Delete
** VisualConfigs are sent back in so old libraries can simply "ignore"
[74] Fix | Delete
** the new properties.
[75] Fix | Delete
*/
[76] Fix | Delete
#define __GLX_TOTAL_CONFIG (__GLX_MIN_CONFIG_PROPS + \
[77] Fix | Delete
2 * __GLX_EXT_CONFIG_PROPS)
[78] Fix | Delete
[79] Fix | Delete
struct __GLXFBConfigRec {
[80] Fix | Delete
int visualType;
[81] Fix | Delete
int transparentType;
[82] Fix | Delete
/* colors are floats scaled to ints */
[83] Fix | Delete
int transparentRed, transparentGreen, transparentBlue, transparentAlpha;
[84] Fix | Delete
int transparentIndex;
[85] Fix | Delete
[86] Fix | Delete
int visualCaveat;
[87] Fix | Delete
[88] Fix | Delete
int associatedVisualId;
[89] Fix | Delete
int screen;
[90] Fix | Delete
[91] Fix | Delete
int drawableType;
[92] Fix | Delete
int renderType;
[93] Fix | Delete
[94] Fix | Delete
int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels;
[95] Fix | Delete
int optimalPbufferWidth, optimalPbufferHeight; /* for SGIX_pbuffer */
[96] Fix | Delete
[97] Fix | Delete
int visualSelectGroup; /* visuals grouped by select priority */
[98] Fix | Delete
[99] Fix | Delete
unsigned int id;
[100] Fix | Delete
[101] Fix | Delete
GLboolean rgbMode;
[102] Fix | Delete
GLboolean colorIndexMode;
[103] Fix | Delete
GLboolean doubleBufferMode;
[104] Fix | Delete
GLboolean stereoMode;
[105] Fix | Delete
GLboolean haveAccumBuffer;
[106] Fix | Delete
GLboolean haveDepthBuffer;
[107] Fix | Delete
GLboolean haveStencilBuffer;
[108] Fix | Delete
[109] Fix | Delete
/* The number of bits present in various buffers */
[110] Fix | Delete
GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
[111] Fix | Delete
GLint depthBits;
[112] Fix | Delete
GLint stencilBits;
[113] Fix | Delete
GLint indexBits;
[114] Fix | Delete
GLint redBits, greenBits, blueBits, alphaBits;
[115] Fix | Delete
GLuint redMask, greenMask, blueMask, alphaMask;
[116] Fix | Delete
[117] Fix | Delete
GLuint multiSampleSize; /* Number of samples per pixel (0 if no ms) */
[118] Fix | Delete
[119] Fix | Delete
GLuint nMultiSampleBuffers; /* Number of availble ms buffers */
[120] Fix | Delete
GLint maxAuxBuffers;
[121] Fix | Delete
[122] Fix | Delete
/* frame buffer level */
[123] Fix | Delete
GLint level;
[124] Fix | Delete
[125] Fix | Delete
/* color ranges (for SGI_color_range) */
[126] Fix | Delete
GLboolean extendedRange;
[127] Fix | Delete
GLdouble minRed, maxRed;
[128] Fix | Delete
GLdouble minGreen, maxGreen;
[129] Fix | Delete
GLdouble minBlue, maxBlue;
[130] Fix | Delete
GLdouble minAlpha, maxAlpha;
[131] Fix | Delete
};
[132] Fix | Delete
[133] Fix | Delete
#define __GLX_TOTAL_FBCONFIG_PROPS 35
[134] Fix | Delete
[135] Fix | Delete
#endif /* !__GLX_glxint_h__ */
[136] Fix | Delete
[137] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function