diff --git a/glx/glxcontext.h b/glx/glxcontext.h index 18d3c6fe5..b9d3fb175 100644 --- a/glx/glxcontext.h +++ b/glx/glxcontext.h @@ -68,12 +68,6 @@ struct __GLXcontext { __GLXcontext *last; __GLXcontext *next; - /* - ** list of contexts bound to the same drawable - */ - __GLXcontext *nextDrawPriv; - __GLXcontext *nextReadPriv; - /* ** config struct for this context */ @@ -95,11 +89,6 @@ struct __GLXcontext { */ XID share_id; - /* - ** screen number. - */ - GLint screen; - /* ** Whether this context's ID still exists. */ @@ -140,11 +129,6 @@ struct __GLXcontext { __GLXdrawable *readPriv; }; -/* pending state defines */ -#define __GLX_PENDING_RESIZE 0x1 -#define __GLX_PENDING_DESTROY 0x2 -#define __GLX_PENDING_SWAP 0x4 - void __glXContextDestroy(__GLXcontext *context); #endif /* !__GLX_context_h__ */ diff --git a/glx/glxdrawable.h b/glx/glxdrawable.h index 6cf2e502f..aaf98377e 100644 --- a/glx/glxdrawable.h +++ b/glx/glxdrawable.h @@ -55,12 +55,6 @@ struct __GLXdrawable { void (*copySubBuffer)(__GLXdrawable *drawable, int x, int y, int w, int h); - /* - ** list of drawable private structs - */ - __GLXdrawable *last; - __GLXdrawable *next; - DrawablePtr pDraw; XID drawId; diff --git a/glx/glxext.h b/glx/glxext.h index a81850cef..90e61d81c 100644 --- a/glx/glxext.h +++ b/glx/glxext.h @@ -40,29 +40,6 @@ ** */ -/* - * Added by VA Linux for XFree86 4.0.x - */ -typedef struct { - int type; - void (*resetExtension)(void); - Bool (*initVisuals)( - VisualPtr * visualp, - DepthPtr * depthp, - int * nvisualp, - int * ndepthp, - int * rootDepthp, - VisualID * defaultVisp, - unsigned long sizes, - int bitsPerRGB - ); - void (*setVisualConfigs)( - int nconfigs, - __GLXvisualConfig *configs, - void **privates - ); -} __GLXextensionInfo; - extern GLboolean __glXFreeContext(__GLXcontext *glxc); extern void __glXFlushContextCache(void); @@ -76,17 +53,5 @@ extern void GlxExtensionInit(void); extern const char GLServerVersion[]; extern int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap); -extern int GlxInitVisuals( - VisualPtr * visualp, - DepthPtr * depthp, - int * nvisualp, - int * ndepthp, - int * rootDepthp, - VisualID * defaultVisp, - unsigned long sizes, - int bitsPerRGB, - int preferredVis -); - #endif /* _glxext_h_ */