typedef struct __DRIframebufferRec __DRIframebuffer;
typedef struct __DRIversionRec __DRIversion;
typedef struct __DRIinterfaceMethodsRec __DRIinterfaceMethods;
-typedef unsigned long __DRIid;
/*@}*/
}
PUBLIC GLboolean XF86DRIDestroyContext(Display *dpy, int screen,
- __DRIid context )
+ XID context )
{
XExtDisplayInfo *info = find_display (dpy);
xXF86DRIDestroyContextReq *req;
}
PUBLIC GLboolean XF86DRICreateDrawable(Display *dpy, int screen,
- __DRIid drawable, drm_drawable_t * hHWDrawable )
+ XID drawable, drm_drawable_t * hHWDrawable )
{
XExtDisplayInfo *info = find_display (dpy);
xXF86DRICreateDrawableReply rep;
}
PUBLIC GLboolean XF86DRIDestroyDrawable(Display *dpy, int screen,
- __DRIid drawable )
+ XID drawable )
{
XExtDisplayInfo *info = find_display (dpy);
xXF86DRIDestroyDrawableReq *req;
*/
static void GarbageCollectDRIDrawables(Display *dpy, __GLXscreenConfigs *sc)
{
- __DRIid draw;
+ XID draw;
__GLXdrawable *pdraw;
XWindowAttributes xwa;
int (*oldXErrorHandler)(Display *, XErrorEvent *);
XID *ptr_to_returned_context_id, drm_context_t *hHWContext );
extern GLboolean XF86DRIDestroyContext( Display *dpy, int screen,
- __DRIid context_id );
+ XID context_id );
extern GLboolean XF86DRICreateDrawable( Display *dpy, int screen,
- __DRIid drawable, drm_drawable_t *hHWDrawable );
+ XID drawable, drm_drawable_t *hHWDrawable );
extern GLboolean XF86DRIDestroyDrawable( Display *dpy, int screen,
- __DRIid drawable);
+ XID drawable);
Bool XF86DRIGetDrawableInfo( Display *dpy, int screen, Drawable drawable,
unsigned int *index, unsigned int *stamp,