Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11/dri
File: xf86driproto.h
/**************************************************************************
[0] Fix | Delete
[1] Fix | Delete
Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
[2] Fix | Delete
Copyright 2000 VA Linux Systems, Inc.
[3] Fix | Delete
All Rights Reserved.
[4] Fix | Delete
[5] Fix | Delete
Permission is hereby granted, free of charge, to any person obtaining a
[6] Fix | Delete
copy of this software and associated documentation files (the
[7] Fix | Delete
"Software"), to deal in the Software without restriction, including
[8] Fix | Delete
without limitation the rights to use, copy, modify, merge, publish,
[9] Fix | Delete
distribute, sub license, and/or sell copies of the Software, and to
[10] Fix | Delete
permit persons to whom the Software is furnished to do so, subject to
[11] Fix | Delete
the following conditions:
[12] Fix | Delete
[13] Fix | Delete
The above copyright notice and this permission notice (including the
[14] Fix | Delete
next paragraph) shall be included in all copies or substantial portions
[15] Fix | Delete
of the Software.
[16] Fix | Delete
[17] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
[18] Fix | Delete
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
[19] Fix | Delete
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
[20] Fix | Delete
IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
[21] Fix | Delete
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
[22] Fix | Delete
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
[23] Fix | Delete
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[24] Fix | Delete
[25] Fix | Delete
**************************************************************************/
[26] Fix | Delete
[27] Fix | Delete
/*
[28] Fix | Delete
* Authors:
[29] Fix | Delete
* Kevin E. Martin <martin@valinux.com>
[30] Fix | Delete
* Jens Owen <jens@tungstengraphics.com>
[31] Fix | Delete
* Rickard E. (Rik) Faith <faith@valinux.com>
[32] Fix | Delete
*
[33] Fix | Delete
*/
[34] Fix | Delete
[35] Fix | Delete
#ifndef _XF86DRISTR_H_
[36] Fix | Delete
#define _XF86DRISTR_H_
[37] Fix | Delete
[38] Fix | Delete
#include "xf86dri.h"
[39] Fix | Delete
[40] Fix | Delete
#define XF86DRINAME "XFree86-DRI"
[41] Fix | Delete
[42] Fix | Delete
/* The DRI version number. This was originally set to be the same of the
[43] Fix | Delete
* XFree86 version number. However, this version is really independent of
[44] Fix | Delete
* the XFree86 version.
[45] Fix | Delete
*
[46] Fix | Delete
* Version History:
[47] Fix | Delete
* 4.0.0: Original
[48] Fix | Delete
* 4.0.1: Patch to bump clipstamp when windows are destroyed, 28 May 02
[49] Fix | Delete
* 4.1.0: Add transition from single to multi in DRMInfo rec, 24 Jun 02
[50] Fix | Delete
*/
[51] Fix | Delete
#define XF86DRI_MAJOR_VERSION 4
[52] Fix | Delete
#define XF86DRI_MINOR_VERSION 1
[53] Fix | Delete
#define XF86DRI_PATCH_VERSION 0
[54] Fix | Delete
[55] Fix | Delete
typedef struct _XF86DRIQueryVersion {
[56] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[57] Fix | Delete
CARD8 driReqType; /* always X_DRIQueryVersion */
[58] Fix | Delete
CARD16 length;
[59] Fix | Delete
} xXF86DRIQueryVersionReq;
[60] Fix | Delete
#define sz_xXF86DRIQueryVersionReq 4
[61] Fix | Delete
[62] Fix | Delete
typedef struct {
[63] Fix | Delete
BYTE type; /* X_Reply */
[64] Fix | Delete
BOOL pad1;
[65] Fix | Delete
CARD16 sequenceNumber;
[66] Fix | Delete
CARD32 length;
[67] Fix | Delete
CARD16 majorVersion; /* major version of DRI protocol */
[68] Fix | Delete
CARD16 minorVersion; /* minor version of DRI protocol */
[69] Fix | Delete
CARD32 patchVersion; /* patch version of DRI protocol */
[70] Fix | Delete
CARD32 pad3;
[71] Fix | Delete
CARD32 pad4;
[72] Fix | Delete
CARD32 pad5;
[73] Fix | Delete
CARD32 pad6;
[74] Fix | Delete
} xXF86DRIQueryVersionReply;
[75] Fix | Delete
#define sz_xXF86DRIQueryVersionReply 32
[76] Fix | Delete
[77] Fix | Delete
typedef struct _XF86DRIQueryDirectRenderingCapable {
[78] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[79] Fix | Delete
CARD8 driReqType; /* X_DRIQueryDirectRenderingCapable */
[80] Fix | Delete
CARD16 length;
[81] Fix | Delete
CARD32 screen;
[82] Fix | Delete
} xXF86DRIQueryDirectRenderingCapableReq;
[83] Fix | Delete
#define sz_xXF86DRIQueryDirectRenderingCapableReq 8
[84] Fix | Delete
[85] Fix | Delete
typedef struct {
[86] Fix | Delete
BYTE type; /* X_Reply */
[87] Fix | Delete
BOOL pad1;
[88] Fix | Delete
CARD16 sequenceNumber;
[89] Fix | Delete
CARD32 length;
[90] Fix | Delete
BOOL isCapable;
[91] Fix | Delete
BOOL pad2;
[92] Fix | Delete
BOOL pad3;
[93] Fix | Delete
BOOL pad4;
[94] Fix | Delete
CARD32 pad5;
[95] Fix | Delete
CARD32 pad6;
[96] Fix | Delete
CARD32 pad7;
[97] Fix | Delete
CARD32 pad8;
[98] Fix | Delete
CARD32 pad9;
[99] Fix | Delete
} xXF86DRIQueryDirectRenderingCapableReply;
[100] Fix | Delete
#define sz_xXF86DRIQueryDirectRenderingCapableReply 32
[101] Fix | Delete
[102] Fix | Delete
typedef struct _XF86DRIOpenConnection {
[103] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[104] Fix | Delete
CARD8 driReqType; /* always X_DRIOpenConnection */
[105] Fix | Delete
CARD16 length;
[106] Fix | Delete
CARD32 screen;
[107] Fix | Delete
} xXF86DRIOpenConnectionReq;
[108] Fix | Delete
#define sz_xXF86DRIOpenConnectionReq 8
[109] Fix | Delete
[110] Fix | Delete
typedef struct {
[111] Fix | Delete
BYTE type; /* X_Reply */
[112] Fix | Delete
BOOL pad1;
[113] Fix | Delete
CARD16 sequenceNumber;
[114] Fix | Delete
CARD32 length;
[115] Fix | Delete
CARD32 hSAREALow;
[116] Fix | Delete
CARD32 hSAREAHigh;
[117] Fix | Delete
CARD32 busIdStringLength;
[118] Fix | Delete
CARD32 pad6;
[119] Fix | Delete
CARD32 pad7;
[120] Fix | Delete
CARD32 pad8;
[121] Fix | Delete
} xXF86DRIOpenConnectionReply;
[122] Fix | Delete
#define sz_xXF86DRIOpenConnectionReply 32
[123] Fix | Delete
[124] Fix | Delete
typedef struct _XF86DRIAuthConnection {
[125] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[126] Fix | Delete
CARD8 driReqType; /* always X_DRICloseConnection */
[127] Fix | Delete
CARD16 length;
[128] Fix | Delete
CARD32 screen;
[129] Fix | Delete
CARD32 magic;
[130] Fix | Delete
} xXF86DRIAuthConnectionReq;
[131] Fix | Delete
#define sz_xXF86DRIAuthConnectionReq 12
[132] Fix | Delete
[133] Fix | Delete
typedef struct {
[134] Fix | Delete
BYTE type;
[135] Fix | Delete
BOOL pad1;
[136] Fix | Delete
CARD16 sequenceNumber;
[137] Fix | Delete
CARD32 length;
[138] Fix | Delete
CARD32 authenticated;
[139] Fix | Delete
CARD32 pad2;
[140] Fix | Delete
CARD32 pad3;
[141] Fix | Delete
CARD32 pad4;
[142] Fix | Delete
CARD32 pad5;
[143] Fix | Delete
CARD32 pad6;
[144] Fix | Delete
} xXF86DRIAuthConnectionReply;
[145] Fix | Delete
#define zx_xXF86DRIAuthConnectionReply 32
[146] Fix | Delete
[147] Fix | Delete
typedef struct _XF86DRICloseConnection {
[148] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[149] Fix | Delete
CARD8 driReqType; /* always X_DRICloseConnection */
[150] Fix | Delete
CARD16 length;
[151] Fix | Delete
CARD32 screen;
[152] Fix | Delete
} xXF86DRICloseConnectionReq;
[153] Fix | Delete
#define sz_xXF86DRICloseConnectionReq 8
[154] Fix | Delete
[155] Fix | Delete
typedef struct _XF86DRIGetClientDriverName {
[156] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[157] Fix | Delete
CARD8 driReqType; /* always X_DRIGetClientDriverName */
[158] Fix | Delete
CARD16 length;
[159] Fix | Delete
CARD32 screen;
[160] Fix | Delete
} xXF86DRIGetClientDriverNameReq;
[161] Fix | Delete
#define sz_xXF86DRIGetClientDriverNameReq 8
[162] Fix | Delete
[163] Fix | Delete
typedef struct {
[164] Fix | Delete
BYTE type; /* X_Reply */
[165] Fix | Delete
BOOL pad1;
[166] Fix | Delete
CARD16 sequenceNumber;
[167] Fix | Delete
CARD32 length;
[168] Fix | Delete
CARD32 ddxDriverMajorVersion;
[169] Fix | Delete
CARD32 ddxDriverMinorVersion;
[170] Fix | Delete
CARD32 ddxDriverPatchVersion;
[171] Fix | Delete
CARD32 clientDriverNameLength;
[172] Fix | Delete
CARD32 pad5;
[173] Fix | Delete
CARD32 pad6;
[174] Fix | Delete
} xXF86DRIGetClientDriverNameReply;
[175] Fix | Delete
#define sz_xXF86DRIGetClientDriverNameReply 32
[176] Fix | Delete
[177] Fix | Delete
typedef struct _XF86DRICreateContext {
[178] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[179] Fix | Delete
CARD8 driReqType; /* always X_DRICreateContext */
[180] Fix | Delete
CARD16 length;
[181] Fix | Delete
CARD32 screen;
[182] Fix | Delete
CARD32 visual;
[183] Fix | Delete
CARD32 context;
[184] Fix | Delete
} xXF86DRICreateContextReq;
[185] Fix | Delete
#define sz_xXF86DRICreateContextReq 16
[186] Fix | Delete
[187] Fix | Delete
typedef struct {
[188] Fix | Delete
BYTE type; /* X_Reply */
[189] Fix | Delete
BOOL pad1;
[190] Fix | Delete
CARD16 sequenceNumber;
[191] Fix | Delete
CARD32 length;
[192] Fix | Delete
CARD32 hHWContext;
[193] Fix | Delete
CARD32 pad2;
[194] Fix | Delete
CARD32 pad3;
[195] Fix | Delete
CARD32 pad4;
[196] Fix | Delete
CARD32 pad5;
[197] Fix | Delete
CARD32 pad6;
[198] Fix | Delete
} xXF86DRICreateContextReply;
[199] Fix | Delete
#define sz_xXF86DRICreateContextReply 32
[200] Fix | Delete
[201] Fix | Delete
typedef struct _XF86DRIDestroyContext {
[202] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[203] Fix | Delete
CARD8 driReqType; /* always X_DRIDestroyContext */
[204] Fix | Delete
CARD16 length;
[205] Fix | Delete
CARD32 screen;
[206] Fix | Delete
CARD32 context;
[207] Fix | Delete
} xXF86DRIDestroyContextReq;
[208] Fix | Delete
#define sz_xXF86DRIDestroyContextReq 12
[209] Fix | Delete
[210] Fix | Delete
typedef struct _XF86DRICreateDrawable {
[211] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[212] Fix | Delete
CARD8 driReqType; /* always X_DRICreateDrawable */
[213] Fix | Delete
CARD16 length;
[214] Fix | Delete
CARD32 screen;
[215] Fix | Delete
CARD32 drawable;
[216] Fix | Delete
} xXF86DRICreateDrawableReq;
[217] Fix | Delete
#define sz_xXF86DRICreateDrawableReq 12
[218] Fix | Delete
[219] Fix | Delete
typedef struct {
[220] Fix | Delete
BYTE type; /* X_Reply */
[221] Fix | Delete
BOOL pad1;
[222] Fix | Delete
CARD16 sequenceNumber;
[223] Fix | Delete
CARD32 length;
[224] Fix | Delete
CARD32 hHWDrawable;
[225] Fix | Delete
CARD32 pad2;
[226] Fix | Delete
CARD32 pad3;
[227] Fix | Delete
CARD32 pad4;
[228] Fix | Delete
CARD32 pad5;
[229] Fix | Delete
CARD32 pad6;
[230] Fix | Delete
} xXF86DRICreateDrawableReply;
[231] Fix | Delete
#define sz_xXF86DRICreateDrawableReply 32
[232] Fix | Delete
[233] Fix | Delete
typedef struct _XF86DRIDestroyDrawable {
[234] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[235] Fix | Delete
CARD8 driReqType; /* always X_DRIDestroyDrawable */
[236] Fix | Delete
CARD16 length;
[237] Fix | Delete
CARD32 screen;
[238] Fix | Delete
CARD32 drawable;
[239] Fix | Delete
} xXF86DRIDestroyDrawableReq;
[240] Fix | Delete
#define sz_xXF86DRIDestroyDrawableReq 12
[241] Fix | Delete
[242] Fix | Delete
typedef struct _XF86DRIGetDrawableInfo {
[243] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[244] Fix | Delete
CARD8 driReqType; /* always X_DRIGetDrawableInfo */
[245] Fix | Delete
CARD16 length;
[246] Fix | Delete
CARD32 screen;
[247] Fix | Delete
CARD32 drawable;
[248] Fix | Delete
} xXF86DRIGetDrawableInfoReq;
[249] Fix | Delete
#define sz_xXF86DRIGetDrawableInfoReq 12
[250] Fix | Delete
[251] Fix | Delete
typedef struct {
[252] Fix | Delete
BYTE type; /* X_Reply */
[253] Fix | Delete
BOOL pad1;
[254] Fix | Delete
CARD16 sequenceNumber;
[255] Fix | Delete
CARD32 length;
[256] Fix | Delete
CARD32 drawableTableIndex;
[257] Fix | Delete
CARD32 drawableTableStamp;
[258] Fix | Delete
INT16 drawableX;
[259] Fix | Delete
INT16 drawableY;
[260] Fix | Delete
INT16 drawableWidth;
[261] Fix | Delete
INT16 drawableHeight;
[262] Fix | Delete
CARD32 numClipRects;
[263] Fix | Delete
INT16 backX;
[264] Fix | Delete
INT16 backY;
[265] Fix | Delete
CARD32 numBackClipRects;
[266] Fix | Delete
} xXF86DRIGetDrawableInfoReply;
[267] Fix | Delete
[268] Fix | Delete
#define sz_xXF86DRIGetDrawableInfoReply 36
[269] Fix | Delete
[270] Fix | Delete
[271] Fix | Delete
typedef struct _XF86DRIGetDeviceInfo {
[272] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[273] Fix | Delete
CARD8 driReqType; /* always X_DRIGetDeviceInfo */
[274] Fix | Delete
CARD16 length;
[275] Fix | Delete
CARD32 screen;
[276] Fix | Delete
} xXF86DRIGetDeviceInfoReq;
[277] Fix | Delete
#define sz_xXF86DRIGetDeviceInfoReq 8
[278] Fix | Delete
[279] Fix | Delete
typedef struct {
[280] Fix | Delete
BYTE type; /* X_Reply */
[281] Fix | Delete
BOOL pad1;
[282] Fix | Delete
CARD16 sequenceNumber;
[283] Fix | Delete
CARD32 length;
[284] Fix | Delete
CARD32 hFrameBufferLow;
[285] Fix | Delete
CARD32 hFrameBufferHigh;
[286] Fix | Delete
CARD32 framebufferOrigin;
[287] Fix | Delete
CARD32 framebufferSize;
[288] Fix | Delete
CARD32 framebufferStride;
[289] Fix | Delete
CARD32 devPrivateSize;
[290] Fix | Delete
} xXF86DRIGetDeviceInfoReply;
[291] Fix | Delete
#define sz_xXF86DRIGetDeviceInfoReply 32
[292] Fix | Delete
[293] Fix | Delete
typedef struct _XF86DRIOpenFullScreen {
[294] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[295] Fix | Delete
CARD8 driReqType; /* always X_DRIOpenFullScreen */
[296] Fix | Delete
CARD16 length;
[297] Fix | Delete
CARD32 screen;
[298] Fix | Delete
CARD32 drawable;
[299] Fix | Delete
} xXF86DRIOpenFullScreenReq;
[300] Fix | Delete
#define sz_xXF86DRIOpenFullScreenReq 12
[301] Fix | Delete
[302] Fix | Delete
typedef struct {
[303] Fix | Delete
BYTE type;
[304] Fix | Delete
BOOL pad1;
[305] Fix | Delete
CARD16 sequenceNumber;
[306] Fix | Delete
CARD32 length;
[307] Fix | Delete
CARD32 isFullScreen;
[308] Fix | Delete
CARD32 pad2;
[309] Fix | Delete
CARD32 pad3;
[310] Fix | Delete
CARD32 pad4;
[311] Fix | Delete
CARD32 pad5;
[312] Fix | Delete
CARD32 pad6;
[313] Fix | Delete
} xXF86DRIOpenFullScreenReply;
[314] Fix | Delete
#define sz_xXF86DRIOpenFullScreenReply 32
[315] Fix | Delete
[316] Fix | Delete
typedef struct _XF86DRICloseFullScreen {
[317] Fix | Delete
CARD8 reqType; /* always DRIReqCode */
[318] Fix | Delete
CARD8 driReqType; /* always X_DRICloseFullScreen */
[319] Fix | Delete
CARD16 length;
[320] Fix | Delete
CARD32 screen;
[321] Fix | Delete
CARD32 drawable;
[322] Fix | Delete
} xXF86DRICloseFullScreenReq;
[323] Fix | Delete
#define sz_xXF86DRICloseFullScreenReq 12
[324] Fix | Delete
[325] Fix | Delete
typedef struct {
[326] Fix | Delete
BYTE type;
[327] Fix | Delete
BOOL pad1;
[328] Fix | Delete
CARD16 sequenceNumber;
[329] Fix | Delete
CARD32 length;
[330] Fix | Delete
CARD32 pad2;
[331] Fix | Delete
CARD32 pad3;
[332] Fix | Delete
CARD32 pad4;
[333] Fix | Delete
CARD32 pad5;
[334] Fix | Delete
CARD32 pad6;
[335] Fix | Delete
CARD32 pad7;
[336] Fix | Delete
} xXF86DRICloseFullScreenReply;
[337] Fix | Delete
#define sz_xXF86DRICloseFullScreenReply 32
[338] Fix | Delete
[339] Fix | Delete
[340] Fix | Delete
#endif /* _XF86DRISTR_H_ */
[341] Fix | Delete
[342] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function