Clean up unused definitions from glx headers.
This commit is contained in:
parent
ae67508392
commit
2ce434f54b
|
@ -68,12 +68,6 @@ struct __GLXcontext {
|
||||||
__GLXcontext *last;
|
__GLXcontext *last;
|
||||||
__GLXcontext *next;
|
__GLXcontext *next;
|
||||||
|
|
||||||
/*
|
|
||||||
** list of contexts bound to the same drawable
|
|
||||||
*/
|
|
||||||
__GLXcontext *nextDrawPriv;
|
|
||||||
__GLXcontext *nextReadPriv;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** config struct for this context
|
** config struct for this context
|
||||||
*/
|
*/
|
||||||
|
@ -95,11 +89,6 @@ struct __GLXcontext {
|
||||||
*/
|
*/
|
||||||
XID share_id;
|
XID share_id;
|
||||||
|
|
||||||
/*
|
|
||||||
** screen number.
|
|
||||||
*/
|
|
||||||
GLint screen;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Whether this context's ID still exists.
|
** Whether this context's ID still exists.
|
||||||
*/
|
*/
|
||||||
|
@ -140,11 +129,6 @@ struct __GLXcontext {
|
||||||
__GLXdrawable *readPriv;
|
__GLXdrawable *readPriv;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* pending state defines */
|
|
||||||
#define __GLX_PENDING_RESIZE 0x1
|
|
||||||
#define __GLX_PENDING_DESTROY 0x2
|
|
||||||
#define __GLX_PENDING_SWAP 0x4
|
|
||||||
|
|
||||||
void __glXContextDestroy(__GLXcontext *context);
|
void __glXContextDestroy(__GLXcontext *context);
|
||||||
|
|
||||||
#endif /* !__GLX_context_h__ */
|
#endif /* !__GLX_context_h__ */
|
||||||
|
|
|
@ -55,12 +55,6 @@ struct __GLXdrawable {
|
||||||
void (*copySubBuffer)(__GLXdrawable *drawable,
|
void (*copySubBuffer)(__GLXdrawable *drawable,
|
||||||
int x, int y, int w, int h);
|
int x, int y, int w, int h);
|
||||||
|
|
||||||
/*
|
|
||||||
** list of drawable private structs
|
|
||||||
*/
|
|
||||||
__GLXdrawable *last;
|
|
||||||
__GLXdrawable *next;
|
|
||||||
|
|
||||||
DrawablePtr pDraw;
|
DrawablePtr pDraw;
|
||||||
XID drawId;
|
XID drawId;
|
||||||
|
|
||||||
|
|
35
glx/glxext.h
35
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 GLboolean __glXFreeContext(__GLXcontext *glxc);
|
||||||
extern void __glXFlushContextCache(void);
|
extern void __glXFlushContextCache(void);
|
||||||
|
|
||||||
|
@ -76,17 +53,5 @@ extern void GlxExtensionInit(void);
|
||||||
extern const char GLServerVersion[];
|
extern const char GLServerVersion[];
|
||||||
extern int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap);
|
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_ */
|
#endif /* _glxext_h_ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue