summaryrefslogtreecommitdiff
path: root/GL/glx/glxdrawable.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-08-23 19:07:52 -0400
committerKristian Høgsberg <krh@redhat.com>2007-10-12 18:26:55 -0400
commitd7ded953c4d263e3dd3374dc03eea19e80c05bc6 (patch)
treeaf3b63ddee626a2a843e301bfda6f1f22a6c4160 /GL/glx/glxdrawable.h
parent2b0847c7aaf95b6b10f062dfff601032b2430a9b (diff)
Implment GLXPixmaps.
Diffstat (limited to 'GL/glx/glxdrawable.h')
-rw-r--r--GL/glx/glxdrawable.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/GL/glx/glxdrawable.h b/GL/glx/glxdrawable.h
index b7ecad929..5fdcf9525 100644
--- a/GL/glx/glxdrawable.h
+++ b/GL/glx/glxdrawable.h
@@ -46,23 +46,6 @@
#include <GL/internal/dri_interface.h>
#endif
-typedef struct {
-
- DrawablePtr pDraw;
- __GLcontextModes *modes;
- __GLXscreen *pGlxScreen;
- ScreenPtr pScreen;
- Bool idExists;
- int refcnt;
- GLenum target;
-#ifdef XF86DRI
- DamagePtr pDamage;
- __DRIcontext *pDRICtx;
- GLint texname;
- unsigned long offset;
-#endif
-} __GLXpixmap;
-
struct __GLXdrawable {
void (*destroy)(__GLXdrawable *private);
GLboolean (*resize)(__GLXdrawable *private);
@@ -78,7 +61,6 @@ struct __GLXdrawable {
DrawablePtr pDraw;
XID drawId;
- __GLXpixmap *pGlxPixmap;
/*
** Either DRAWABLE_PIXMAP or DRAWABLE_WINDOW, copied from pDraw above.
@@ -105,6 +87,8 @@ struct __GLXdrawable {
** reference count
*/
int refCount;
+
+ GLenum target;
};
#endif /* !__GLX_drawable_h__ */