dmx: drop leftover __GLXdrawablePrivateRec struct.
This commit is contained in:
		
							parent
							
								
									4f2f3233c8
								
							
						
					
					
						commit
						cf5b29d75d
					
				| 
						 | 
					@ -49,58 +49,6 @@ typedef struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} __GLXpixmap;
 | 
					} __GLXpixmap;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct __GLXdrawablePrivateRec {
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** list of drawable private structs
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    struct __GLXdrawablePrivateRec *last;
 | 
					 | 
				
			||||||
    struct __GLXdrawablePrivateRec *next;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    DrawablePtr pDraw;
 | 
					 | 
				
			||||||
    XID drawId;
 | 
					 | 
				
			||||||
    __GLXpixmap *pGlxPixmap;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** Either DRAWABLE_PIXMAP or DRAWABLE_WINDOW, copied from pDraw above.
 | 
					 | 
				
			||||||
    ** Needed by the resource freer because pDraw might already have been
 | 
					 | 
				
			||||||
    ** freed.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    int type;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** Configuration of the visual to which this drawable was created.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    __GLXvisualConfig *pGlxVisual;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** cached drawable size and origin
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    GLint xorigin, yorigin;
 | 
					 | 
				
			||||||
    GLint width, height;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** list of contexts bound to this drawable
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    struct __GLXcontextRec *glxc;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** "methods" that the drawble should be able to respond to.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    void (*freeBuffers)(struct __GLXdrawablePrivateRec *);
 | 
					 | 
				
			||||||
    void (*updatePalette)(struct __GLXdrawablePrivateRec *);
 | 
					 | 
				
			||||||
    GLboolean (*swapBuffers)(struct __GLXdrawablePrivateRec *);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** The GL drawable (information shared between GLX and the GL core)
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    __GLdrawablePrivate glPriv;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /*
 | 
					 | 
				
			||||||
    ** reference count
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
    int refCount;
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
typedef struct {
 | 
					typedef struct {
 | 
				
			||||||
    DrawablePtr pDraw;
 | 
					    DrawablePtr pDraw;
 | 
				
			||||||
    int type;
 | 
					    int type;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -58,9 +58,6 @@
 | 
				
			||||||
#include <GL/glxproto.h>
 | 
					#include <GL/glxproto.h>
 | 
				
			||||||
#include <GL/glxint.h>
 | 
					#include <GL/glxint.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* For glxscreens.h */
 | 
					 | 
				
			||||||
typedef struct __GLXdrawablePrivateRec __GLXdrawablePrivate;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "glxscreens.h"
 | 
					#include "glxscreens.h"
 | 
				
			||||||
#include "glxdrawable.h"
 | 
					#include "glxdrawable.h"
 | 
				
			||||||
#include "glxcontext.h"
 | 
					#include "glxcontext.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue