diff options
author | idr <idr> | 2003-03-12 19:00:57 +0000 |
---|---|---|
committer | idr <idr> | 2003-03-12 19:00:57 +0000 |
commit | 5d37b6f9f50d50a9d91f6f914b935a3fca5db8cb (patch) | |
tree | e22721e16904e9824b07bee48197e536bd7a291a | |
parent | 8aded6157aa5334c1cc4e870f4bba78873525cd3 (diff) |
Added structures for packets related to GLX_SGIX_fbconfig.
-rw-r--r-- | xc/include/GL/glxproto.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/xc/include/GL/glxproto.h b/xc/include/GL/glxproto.h index e747498aa..2715d7f47 100644 --- a/xc/include/GL/glxproto.h +++ b/xc/include/GL/glxproto.h @@ -941,6 +941,57 @@ typedef struct { } xGLXQueryContextInfoEXTReply; #define sz_xGLXQueryContextInfoEXTReply 32 +/* +** glXGetFBConfigsSGIX request +*/ +typedef struct GLXGetFBConfigsSGIX { + CARD8 reqType; + CARD8 glxCode; + CARD16 length B16; + CARD32 vendorCode B32; /* vendor-specific opcode */ + CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ + CARD32 screen B32; +} xGLXGetFBConfigsSGIXReq; +#define sz_xGLXGetFBConfigsSGIXReq 16 + +/* +** glXCreateContextWithConfigSGIX request +*/ + +typedef struct GLXCreateContextWithConfigSGIX { + CARD8 reqType; + CARD8 glxCode; + CARD16 length B16; + CARD32 vendorCode B32; /* vendor-specific opcode */ + CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ + GLXContextID context B32; + GLXFBConfigID fbconfig B32; + CARD32 screen B32; + CARD32 renderType; + GLXContextID shareList B32; + BOOL isDirect; + CARD8 reserved1; + CARD16 reserved2 B16; +} xGLXCreateContextWithConfigSGIXReq; +#define sz_xGLXCreateContextWithConfigSGIXReq 36 + +/* +** glXCreatePixmapWithConfigSGIX request +*/ + +typedef struct GLXCreateGLXPixmapWithConfigSGIX { + CARD8 reqType; + CARD8 glxCode; + CARD16 length B16; + CARD32 vendorCode B32; /* vendor-specific opcode */ + CARD32 pad1 B32; /* unused; corresponds to contextTag in header */ + CARD32 screen B32; + GLXFBConfigID fbconfig B32; + CARD32 pixmap B32; + GLXPixmap glxpixmap B32; +} xGLXCreateGLXPixmapWithConfigSGIXReq; +#define sz_xGLXCreateGLXPixmapWithConfigSGIXReq 28 + /************************************************************************/ /* |