diff options
author | Ian Romanick <[email protected]> | 2005-07-29 17:30:18 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2005-07-29 17:30:18 +0000 |
commit | 29206ae569c4c784ec6884084b4bd8631f66b866 (patch) | |
tree | 7c5335f7691d0a83bd6f2f22382bbd17c52c41af /src/glx | |
parent | dc6e2c778aa0e67b68fa02043443bfad4dbbccbf (diff) |
Remove unused structures and data fields. These had been left in because
DRI drivers using the "old" interface relied on certain fields being at
certain offsets. Removing the structures would break that. Now that the
old interface is no longer supported, the dead data can finally die.
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/x11/glxclient.h | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h index 74d0ef33531..d76f5667e52 100644 --- a/src/glx/x11/glxclient.h +++ b/src/glx/x11/glxclient.h @@ -154,51 +154,6 @@ typedef struct __GLXpixelStoreModeRec { GLuint alignment; } __GLXpixelStoreMode; -/* The next 3 structures are deprecated. Client state is no longer tracked - * using them. They only remain to maintain the layout / structure offset of - * __GLXcontextRec. In XFree86 5.0 they will be removed altogether. - */ - -typedef struct __GLXvertexArrayPointerStateRecDEPRECATED { - GLboolean enable; - void (*proc)(const void *); - const GLubyte *ptr; - GLsizei skip; - GLint size; - GLenum type; - GLsizei stride; -} __GLXvertexArrayPointerStateDEPRECATED; - -typedef struct __GLXvertArrayStateRecDEPRECATED { - __GLXvertexArrayPointerStateDEPRECATED vertex; - __GLXvertexArrayPointerStateDEPRECATED normal; - __GLXvertexArrayPointerStateDEPRECATED color; - __GLXvertexArrayPointerStateDEPRECATED index; - __GLXvertexArrayPointerStateDEPRECATED texCoord[__GLX_MAX_TEXTURE_UNITS]; - __GLXvertexArrayPointerStateDEPRECATED edgeFlag; - GLint maxElementsVertices; - GLint maxElementsIndices; - GLint activeTexture; -} __GLXvertArrayStateDEPRECATED; - -typedef struct __GLXattributeRecDEPRECATED { - GLuint mask; - - /* - ** Pixel storage state. Most of the pixel store mode state is kept - ** here and used by the client code to manage the packing and - ** unpacking of data sent to/received from the server. - */ - __GLXpixelStoreMode storePack, storeUnpack; - - /* - ** Vertex Array storage state. The vertex array component - ** state is stored here and is used to manage the packing of - ** DrawArrays data sent to the server. - */ - __GLXvertArrayStateDEPRECATED vertArray; -} __GLXattributeDEPRECATED; - typedef struct __GLXattributeRec { GLuint mask; @@ -330,12 +285,9 @@ struct __GLXcontextRec { GLenum, const GLvoid*, GLubyte*, GLubyte*); /** - * \name Client side attribs. + * Client side attribs. */ - /*@{*/ - __GLXattributeDEPRECATED stateDEPRECATED; __GLXattributeMachine attributes; - /*@}*/ /** * Client side error code. This is set when client side gl API |