Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/GL
File: glxproto.h
#ifndef _GLX_glxproto_h_
[0] Fix | Delete
#define _GLX_glxproto_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 <GL/glxmd.h>
[33] Fix | Delete
[34] Fix | Delete
/*****************************************************************************/
[35] Fix | Delete
[36] Fix | Delete
/*
[37] Fix | Delete
** Errors.
[38] Fix | Delete
*/
[39] Fix | Delete
#define GLXBadContext 0
[40] Fix | Delete
#define GLXBadContextState 1
[41] Fix | Delete
#define GLXBadDrawable 2
[42] Fix | Delete
#define GLXBadPixmap 3
[43] Fix | Delete
#define GLXBadContextTag 4
[44] Fix | Delete
#define GLXBadCurrentWindow 5
[45] Fix | Delete
#define GLXBadRenderRequest 6
[46] Fix | Delete
#define GLXBadLargeRequest 7
[47] Fix | Delete
#define GLXUnsupportedPrivateRequest 8
[48] Fix | Delete
#define GLXBadFBConfig 9
[49] Fix | Delete
#define GLXBadPbuffer 10
[50] Fix | Delete
#define GLXBadCurrentDrawable 11
[51] Fix | Delete
#define GLXBadWindow 12
[52] Fix | Delete
#define GLXBadProfileARB 13
[53] Fix | Delete
[54] Fix | Delete
#define __GLX_NUMBER_ERRORS 14
[55] Fix | Delete
[56] Fix | Delete
/*
[57] Fix | Delete
** Events.
[58] Fix | Delete
** __GLX_NUMBER_EVENTS is set to 17 to account for the BufferClobberSGIX
[59] Fix | Delete
** event - this helps initialization if the server supports the pbuffer
[60] Fix | Delete
** extension and the client doesn't.
[61] Fix | Delete
*/
[62] Fix | Delete
#define GLX_PbufferClobber 0
[63] Fix | Delete
#define GLX_BufferSwapComplete 1
[64] Fix | Delete
[65] Fix | Delete
#define __GLX_NUMBER_EVENTS 17
[66] Fix | Delete
[67] Fix | Delete
#define GLX_EXTENSION_NAME "GLX"
[68] Fix | Delete
#define GLX_EXTENSION_ALIAS "SGI-GLX"
[69] Fix | Delete
[70] Fix | Delete
#define __GLX_MAX_CONTEXT_PROPS 3
[71] Fix | Delete
[72] Fix | Delete
#ifndef GLX_VENDOR
[73] Fix | Delete
#define GLX_VENDOR 0x1
[74] Fix | Delete
#endif
[75] Fix | Delete
#ifndef GLX_VERSION
[76] Fix | Delete
#define GLX_VERSION 0x2
[77] Fix | Delete
#endif
[78] Fix | Delete
#ifndef GLX_EXTENSIONS
[79] Fix | Delete
#define GLX_EXTENSIONS 0x3
[80] Fix | Delete
#endif
[81] Fix | Delete
[82] Fix | Delete
/*****************************************************************************/
[83] Fix | Delete
[84] Fix | Delete
/*
[85] Fix | Delete
** For the structure definitions in this file, we must redefine these types in
[86] Fix | Delete
** terms of Xmd.h types, which may include bitfields. All of these are
[87] Fix | Delete
** undef'ed at the end of this file, restoring the definitions in glx.h.
[88] Fix | Delete
*/
[89] Fix | Delete
#define GLXContextID CARD32
[90] Fix | Delete
#define GLXPixmap CARD32
[91] Fix | Delete
#define GLXDrawable CARD32
[92] Fix | Delete
#define GLXPbuffer CARD32
[93] Fix | Delete
#define GLXWindow CARD32
[94] Fix | Delete
#define GLXFBConfigID CARD32
[95] Fix | Delete
#define GLXFBConfigIDSGIX CARD32
[96] Fix | Delete
#define GLXPbufferSGIX CARD32
[97] Fix | Delete
[98] Fix | Delete
/*
[99] Fix | Delete
** ContextTag is not exposed to the API.
[100] Fix | Delete
*/
[101] Fix | Delete
typedef CARD32 GLXContextTag;
[102] Fix | Delete
[103] Fix | Delete
/*****************************************************************************/
[104] Fix | Delete
[105] Fix | Delete
/*
[106] Fix | Delete
** Sizes of basic wire types.
[107] Fix | Delete
*/
[108] Fix | Delete
#define __GLX_SIZE_INT8 1
[109] Fix | Delete
#define __GLX_SIZE_INT16 2
[110] Fix | Delete
#define __GLX_SIZE_INT32 4
[111] Fix | Delete
#define __GLX_SIZE_CARD8 1
[112] Fix | Delete
#define __GLX_SIZE_CARD16 2
[113] Fix | Delete
#define __GLX_SIZE_CARD32 4
[114] Fix | Delete
#define __GLX_SIZE_FLOAT32 4
[115] Fix | Delete
#define __GLX_SIZE_FLOAT64 8
[116] Fix | Delete
[117] Fix | Delete
/*****************************************************************************/
[118] Fix | Delete
[119] Fix | Delete
/* Requests */
[120] Fix | Delete
[121] Fix | Delete
/*
[122] Fix | Delete
** Render command request. A bunch of rendering commands are packed into
[123] Fix | Delete
** a single X extension request.
[124] Fix | Delete
*/
[125] Fix | Delete
typedef struct GLXRender {
[126] Fix | Delete
CARD8 reqType;
[127] Fix | Delete
CARD8 glxCode;
[128] Fix | Delete
CARD16 length;
[129] Fix | Delete
GLXContextTag contextTag;
[130] Fix | Delete
} xGLXRenderReq;
[131] Fix | Delete
#define sz_xGLXRenderReq 8
[132] Fix | Delete
[133] Fix | Delete
/*
[134] Fix | Delete
** The maximum size that a GLXRender command can be. The value must fit
[135] Fix | Delete
** in 16 bits and should be a multiple of 4.
[136] Fix | Delete
*/
[137] Fix | Delete
#define __GLX_MAX_RENDER_CMD_SIZE 64000
[138] Fix | Delete
[139] Fix | Delete
/*
[140] Fix | Delete
** Large render command request. A single large rendering command
[141] Fix | Delete
** is output in multiple X extension requests. The first packet
[142] Fix | Delete
** contains an opcode dependent header (see below) that describes
[143] Fix | Delete
** the data that follows.
[144] Fix | Delete
*/
[145] Fix | Delete
typedef struct GLXRenderLarge {
[146] Fix | Delete
CARD8 reqType;
[147] Fix | Delete
CARD8 glxCode;
[148] Fix | Delete
CARD16 length;
[149] Fix | Delete
GLXContextTag contextTag;
[150] Fix | Delete
CARD16 requestNumber;
[151] Fix | Delete
CARD16 requestTotal;
[152] Fix | Delete
CARD32 dataBytes;
[153] Fix | Delete
} xGLXRenderLargeReq;
[154] Fix | Delete
#define sz_xGLXRenderLargeReq 16
[155] Fix | Delete
[156] Fix | Delete
/*
[157] Fix | Delete
** GLX single request. Commands that go over as single GLX protocol
[158] Fix | Delete
** requests use this structure. The glxCode will be one of the X_GLsop
[159] Fix | Delete
** opcodes.
[160] Fix | Delete
*/
[161] Fix | Delete
typedef struct GLXSingle {
[162] Fix | Delete
CARD8 reqType;
[163] Fix | Delete
CARD8 glxCode;
[164] Fix | Delete
CARD16 length;
[165] Fix | Delete
GLXContextTag contextTag;
[166] Fix | Delete
} xGLXSingleReq;
[167] Fix | Delete
#define sz_xGLXSingleReq 8
[168] Fix | Delete
[169] Fix | Delete
/*
[170] Fix | Delete
** glXQueryVersion request
[171] Fix | Delete
*/
[172] Fix | Delete
typedef struct GLXQueryVersion {
[173] Fix | Delete
CARD8 reqType;
[174] Fix | Delete
CARD8 glxCode;
[175] Fix | Delete
CARD16 length;
[176] Fix | Delete
CARD32 majorVersion;
[177] Fix | Delete
CARD32 minorVersion;
[178] Fix | Delete
} xGLXQueryVersionReq;
[179] Fix | Delete
#define sz_xGLXQueryVersionReq 12
[180] Fix | Delete
[181] Fix | Delete
/*
[182] Fix | Delete
** glXIsDirect request
[183] Fix | Delete
*/
[184] Fix | Delete
typedef struct GLXIsDirect {
[185] Fix | Delete
CARD8 reqType;
[186] Fix | Delete
CARD8 glxCode;
[187] Fix | Delete
CARD16 length;
[188] Fix | Delete
GLXContextID context;
[189] Fix | Delete
} xGLXIsDirectReq;
[190] Fix | Delete
#define sz_xGLXIsDirectReq 8
[191] Fix | Delete
[192] Fix | Delete
/*
[193] Fix | Delete
** glXCreateContext request
[194] Fix | Delete
*/
[195] Fix | Delete
typedef struct GLXCreateContext {
[196] Fix | Delete
CARD8 reqType;
[197] Fix | Delete
CARD8 glxCode;
[198] Fix | Delete
CARD16 length;
[199] Fix | Delete
GLXContextID context;
[200] Fix | Delete
CARD32 visual;
[201] Fix | Delete
CARD32 screen;
[202] Fix | Delete
GLXContextID shareList;
[203] Fix | Delete
BOOL isDirect;
[204] Fix | Delete
CARD8 reserved1;
[205] Fix | Delete
CARD16 reserved2;
[206] Fix | Delete
} xGLXCreateContextReq;
[207] Fix | Delete
#define sz_xGLXCreateContextReq 24
[208] Fix | Delete
[209] Fix | Delete
/*
[210] Fix | Delete
** glXDestroyContext request
[211] Fix | Delete
*/
[212] Fix | Delete
typedef struct GLXDestroyContext {
[213] Fix | Delete
CARD8 reqType;
[214] Fix | Delete
CARD8 glxCode;
[215] Fix | Delete
CARD16 length;
[216] Fix | Delete
GLXContextID context;
[217] Fix | Delete
} xGLXDestroyContextReq;
[218] Fix | Delete
#define sz_xGLXDestroyContextReq 8
[219] Fix | Delete
[220] Fix | Delete
/*
[221] Fix | Delete
** glXMakeCurrent request
[222] Fix | Delete
*/
[223] Fix | Delete
typedef struct GLXMakeCurrent {
[224] Fix | Delete
CARD8 reqType;
[225] Fix | Delete
CARD8 glxCode;
[226] Fix | Delete
CARD16 length;
[227] Fix | Delete
GLXDrawable drawable;
[228] Fix | Delete
GLXContextID context;
[229] Fix | Delete
GLXContextTag oldContextTag;
[230] Fix | Delete
} xGLXMakeCurrentReq;
[231] Fix | Delete
#define sz_xGLXMakeCurrentReq 16
[232] Fix | Delete
[233] Fix | Delete
/*
[234] Fix | Delete
** glXWaitGL request
[235] Fix | Delete
*/
[236] Fix | Delete
typedef struct GLXWaitGL {
[237] Fix | Delete
CARD8 reqType;
[238] Fix | Delete
CARD8 glxCode;
[239] Fix | Delete
CARD16 length;
[240] Fix | Delete
GLXContextTag contextTag;
[241] Fix | Delete
} xGLXWaitGLReq;
[242] Fix | Delete
#define sz_xGLXWaitGLReq 8
[243] Fix | Delete
[244] Fix | Delete
/*
[245] Fix | Delete
** glXWaitX request
[246] Fix | Delete
*/
[247] Fix | Delete
typedef struct GLXWaitX {
[248] Fix | Delete
CARD8 reqType;
[249] Fix | Delete
CARD8 glxCode;
[250] Fix | Delete
CARD16 length;
[251] Fix | Delete
GLXContextTag contextTag;
[252] Fix | Delete
} xGLXWaitXReq;
[253] Fix | Delete
#define sz_xGLXWaitXReq 8
[254] Fix | Delete
[255] Fix | Delete
/*
[256] Fix | Delete
** glXCopyContext request
[257] Fix | Delete
*/
[258] Fix | Delete
typedef struct GLXCopyContext {
[259] Fix | Delete
CARD8 reqType;
[260] Fix | Delete
CARD8 glxCode;
[261] Fix | Delete
CARD16 length;
[262] Fix | Delete
GLXContextID source;
[263] Fix | Delete
GLXContextID dest;
[264] Fix | Delete
CARD32 mask;
[265] Fix | Delete
GLXContextTag contextTag;
[266] Fix | Delete
} xGLXCopyContextReq;
[267] Fix | Delete
#define sz_xGLXCopyContextReq 20
[268] Fix | Delete
[269] Fix | Delete
/*
[270] Fix | Delete
** glXSwapBuffers request
[271] Fix | Delete
*/
[272] Fix | Delete
typedef struct GLXSwapBuffers {
[273] Fix | Delete
CARD8 reqType;
[274] Fix | Delete
CARD8 glxCode;
[275] Fix | Delete
CARD16 length;
[276] Fix | Delete
GLXContextTag contextTag;
[277] Fix | Delete
GLXDrawable drawable;
[278] Fix | Delete
} xGLXSwapBuffersReq;
[279] Fix | Delete
#define sz_xGLXSwapBuffersReq 12
[280] Fix | Delete
[281] Fix | Delete
/*
[282] Fix | Delete
** glXUseXFont request
[283] Fix | Delete
*/
[284] Fix | Delete
typedef struct GLXUseXFont {
[285] Fix | Delete
CARD8 reqType;
[286] Fix | Delete
CARD8 glxCode;
[287] Fix | Delete
CARD16 length;
[288] Fix | Delete
GLXContextTag contextTag;
[289] Fix | Delete
CARD32 font;
[290] Fix | Delete
CARD32 first;
[291] Fix | Delete
CARD32 count;
[292] Fix | Delete
CARD32 listBase;
[293] Fix | Delete
} xGLXUseXFontReq;
[294] Fix | Delete
#define sz_xGLXUseXFontReq 24
[295] Fix | Delete
[296] Fix | Delete
/*
[297] Fix | Delete
** glXCreateGLXPixmap request
[298] Fix | Delete
*/
[299] Fix | Delete
typedef struct GLXCreateGLXPixmap {
[300] Fix | Delete
CARD8 reqType;
[301] Fix | Delete
CARD8 glxCode;
[302] Fix | Delete
CARD16 length;
[303] Fix | Delete
CARD32 screen;
[304] Fix | Delete
CARD32 visual;
[305] Fix | Delete
CARD32 pixmap;
[306] Fix | Delete
GLXPixmap glxpixmap;
[307] Fix | Delete
} xGLXCreateGLXPixmapReq;
[308] Fix | Delete
#define sz_xGLXCreateGLXPixmapReq 20
[309] Fix | Delete
[310] Fix | Delete
/*
[311] Fix | Delete
** glXDestroyGLXPixmap request
[312] Fix | Delete
*/
[313] Fix | Delete
typedef struct GLXDestroyGLXPixmap {
[314] Fix | Delete
CARD8 reqType;
[315] Fix | Delete
CARD8 glxCode;
[316] Fix | Delete
CARD16 length;
[317] Fix | Delete
GLXPixmap glxpixmap;
[318] Fix | Delete
} xGLXDestroyGLXPixmapReq;
[319] Fix | Delete
#define sz_xGLXDestroyGLXPixmapReq 8
[320] Fix | Delete
[321] Fix | Delete
/*
[322] Fix | Delete
** glXGetVisualConfigs request
[323] Fix | Delete
*/
[324] Fix | Delete
typedef struct GLXGetVisualConfigs {
[325] Fix | Delete
CARD8 reqType;
[326] Fix | Delete
CARD8 glxCode;
[327] Fix | Delete
CARD16 length;
[328] Fix | Delete
CARD32 screen;
[329] Fix | Delete
} xGLXGetVisualConfigsReq;
[330] Fix | Delete
#define sz_xGLXGetVisualConfigsReq 8
[331] Fix | Delete
[332] Fix | Delete
/*
[333] Fix | Delete
** glXVendorPrivate request.
[334] Fix | Delete
*/
[335] Fix | Delete
typedef struct GLXVendorPrivate {
[336] Fix | Delete
CARD8 reqType;
[337] Fix | Delete
CARD8 glxCode;
[338] Fix | Delete
CARD16 length;
[339] Fix | Delete
CARD32 vendorCode; /* vendor-specific opcode */
[340] Fix | Delete
GLXContextTag contextTag;
[341] Fix | Delete
/*
[342] Fix | Delete
** More data may follow; this is just the header.
[343] Fix | Delete
*/
[344] Fix | Delete
} xGLXVendorPrivateReq;
[345] Fix | Delete
#define sz_xGLXVendorPrivateReq 12
[346] Fix | Delete
[347] Fix | Delete
/*
[348] Fix | Delete
** glXVendorPrivateWithReply request
[349] Fix | Delete
*/
[350] Fix | Delete
typedef struct GLXVendorPrivateWithReply {
[351] Fix | Delete
CARD8 reqType;
[352] Fix | Delete
CARD8 glxCode;
[353] Fix | Delete
CARD16 length;
[354] Fix | Delete
CARD32 vendorCode; /* vendor-specific opcode */
[355] Fix | Delete
GLXContextTag contextTag;
[356] Fix | Delete
/*
[357] Fix | Delete
** More data may follow; this is just the header.
[358] Fix | Delete
*/
[359] Fix | Delete
} xGLXVendorPrivateWithReplyReq;
[360] Fix | Delete
#define sz_xGLXVendorPrivateWithReplyReq 12
[361] Fix | Delete
[362] Fix | Delete
/*
[363] Fix | Delete
** glXQueryExtensionsString request
[364] Fix | Delete
*/
[365] Fix | Delete
typedef struct GLXQueryExtensionsString {
[366] Fix | Delete
CARD8 reqType;
[367] Fix | Delete
CARD8 glxCode;
[368] Fix | Delete
CARD16 length;
[369] Fix | Delete
CARD32 screen;
[370] Fix | Delete
} xGLXQueryExtensionsStringReq;
[371] Fix | Delete
#define sz_xGLXQueryExtensionsStringReq 8
[372] Fix | Delete
[373] Fix | Delete
/*
[374] Fix | Delete
** glXQueryServerString request
[375] Fix | Delete
*/
[376] Fix | Delete
typedef struct GLXQueryServerString {
[377] Fix | Delete
CARD8 reqType;
[378] Fix | Delete
CARD8 glxCode;
[379] Fix | Delete
CARD16 length;
[380] Fix | Delete
CARD32 screen;
[381] Fix | Delete
CARD32 name;
[382] Fix | Delete
} xGLXQueryServerStringReq;
[383] Fix | Delete
#define sz_xGLXQueryServerStringReq 12
[384] Fix | Delete
[385] Fix | Delete
/*
[386] Fix | Delete
** glXClientInfo request
[387] Fix | Delete
*/
[388] Fix | Delete
typedef struct GLXClientInfo {
[389] Fix | Delete
CARD8 reqType;
[390] Fix | Delete
CARD8 glxCode;
[391] Fix | Delete
CARD16 length;
[392] Fix | Delete
CARD32 major;
[393] Fix | Delete
CARD32 minor;
[394] Fix | Delete
CARD32 numbytes;
[395] Fix | Delete
} xGLXClientInfoReq;
[396] Fix | Delete
#define sz_xGLXClientInfoReq 16
[397] Fix | Delete
[398] Fix | Delete
/*** Start of GLX 1.3 requests */
[399] Fix | Delete
[400] Fix | Delete
/*
[401] Fix | Delete
** glXGetFBConfigs request
[402] Fix | Delete
*/
[403] Fix | Delete
typedef struct GLXGetFBConfigs {
[404] Fix | Delete
CARD8 reqType;
[405] Fix | Delete
CARD8 glxCode;
[406] Fix | Delete
CARD16 length;
[407] Fix | Delete
CARD32 screen;
[408] Fix | Delete
} xGLXGetFBConfigsReq;
[409] Fix | Delete
#define sz_xGLXGetFBConfigsReq 8
[410] Fix | Delete
[411] Fix | Delete
/*
[412] Fix | Delete
** glXCreatePixmap request
[413] Fix | Delete
*/
[414] Fix | Delete
typedef struct GLXCreatePixmap {
[415] Fix | Delete
CARD8 reqType;
[416] Fix | Delete
CARD8 glxCode;
[417] Fix | Delete
CARD16 length;
[418] Fix | Delete
CARD32 screen;
[419] Fix | Delete
GLXFBConfigID fbconfig;
[420] Fix | Delete
CARD32 pixmap;
[421] Fix | Delete
GLXPixmap glxpixmap;
[422] Fix | Delete
CARD32 numAttribs;
[423] Fix | Delete
/* followed by attribute list */
[424] Fix | Delete
} xGLXCreatePixmapReq;
[425] Fix | Delete
#define sz_xGLXCreatePixmapReq 24
[426] Fix | Delete
[427] Fix | Delete
/*
[428] Fix | Delete
** glXDestroyPixmap request
[429] Fix | Delete
*/
[430] Fix | Delete
typedef struct GLXDestroyPixmap {
[431] Fix | Delete
CARD8 reqType;
[432] Fix | Delete
CARD8 glxCode;
[433] Fix | Delete
CARD16 length;
[434] Fix | Delete
GLXPixmap glxpixmap;
[435] Fix | Delete
} xGLXDestroyPixmapReq;
[436] Fix | Delete
#define sz_xGLXDestroyPixmapReq 8
[437] Fix | Delete
[438] Fix | Delete
/*
[439] Fix | Delete
** glXCreateNewContext request
[440] Fix | Delete
*/
[441] Fix | Delete
typedef struct GLXCreateNewContext {
[442] Fix | Delete
CARD8 reqType;
[443] Fix | Delete
CARD8 glxCode;
[444] Fix | Delete
CARD16 length;
[445] Fix | Delete
GLXContextID context;
[446] Fix | Delete
GLXFBConfigID fbconfig;
[447] Fix | Delete
CARD32 screen;
[448] Fix | Delete
CARD32 renderType;
[449] Fix | Delete
GLXContextID shareList;
[450] Fix | Delete
BOOL isDirect;
[451] Fix | Delete
CARD8 reserved1;
[452] Fix | Delete
CARD16 reserved2;
[453] Fix | Delete
} xGLXCreateNewContextReq;
[454] Fix | Delete
#define sz_xGLXCreateNewContextReq 28
[455] Fix | Delete
[456] Fix | Delete
/*
[457] Fix | Delete
** glXQueryContext request
[458] Fix | Delete
*/
[459] Fix | Delete
typedef struct GLXQueryContext {
[460] Fix | Delete
CARD8 reqType;
[461] Fix | Delete
CARD8 glxCode;
[462] Fix | Delete
CARD16 length;
[463] Fix | Delete
GLXContextID context;
[464] Fix | Delete
} xGLXQueryContextReq;
[465] Fix | Delete
#define sz_xGLXQueryContextReq 8
[466] Fix | Delete
[467] Fix | Delete
/*
[468] Fix | Delete
** glXMakeContextCurrent request
[469] Fix | Delete
*/
[470] Fix | Delete
typedef struct GLXMakeContextCurrent {
[471] Fix | Delete
CARD8 reqType;
[472] Fix | Delete
CARD8 glxCode;
[473] Fix | Delete
CARD16 length;
[474] Fix | Delete
GLXContextTag oldContextTag;
[475] Fix | Delete
GLXDrawable drawable;
[476] Fix | Delete
GLXDrawable readdrawable;
[477] Fix | Delete
GLXContextID context;
[478] Fix | Delete
} xGLXMakeContextCurrentReq;
[479] Fix | Delete
#define sz_xGLXMakeContextCurrentReq 20
[480] Fix | Delete
[481] Fix | Delete
/*
[482] Fix | Delete
** glXCreatePbuffer request
[483] Fix | Delete
*/
[484] Fix | Delete
typedef struct GLXCreatePbuffer {
[485] Fix | Delete
CARD8 reqType;
[486] Fix | Delete
CARD8 glxCode;
[487] Fix | Delete
CARD16 length;
[488] Fix | Delete
CARD32 screen;
[489] Fix | Delete
GLXFBConfigID fbconfig;
[490] Fix | Delete
GLXPbuffer pbuffer;
[491] Fix | Delete
CARD32 numAttribs;
[492] Fix | Delete
/* followed by attribute list */
[493] Fix | Delete
} xGLXCreatePbufferReq;
[494] Fix | Delete
#define sz_xGLXCreatePbufferReq 20
[495] Fix | Delete
[496] Fix | Delete
/*
[497] Fix | Delete
** glXDestroyPbuffer request
[498] Fix | Delete
*/
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function