#include "xf86dristr.h"
#include <X11/extensions/Xext.h>
#include "extutil.h"
+#include "glheader.h"
static XExtensionInfo _xf86dri_info_data;
static XExtensionInfo *xf86dri_info = &_xf86dri_info_data;
#endif
-Bool XF86DRIQueryExtension (dpy, event_basep, error_basep)
+PUBLIC Bool XF86DRIQueryExtension (dpy, event_basep, error_basep)
Display *dpy;
int *event_basep, *error_basep;
{
}
}
-Bool XF86DRIQueryVersion(dpy, majorVersion, minorVersion, patchVersion)
+PUBLIC Bool XF86DRIQueryVersion(dpy, majorVersion, minorVersion, patchVersion)
Display* dpy;
int* majorVersion;
int* minorVersion;
return True;
}
-Bool XF86DRIQueryDirectRenderingCapable(dpy, screen, isCapable)
+PUBLIC Bool XF86DRIQueryDirectRenderingCapable(dpy, screen, isCapable)
Display* dpy;
int screen;
Bool* isCapable;
return True;
}
-Bool XF86DRIOpenConnection(dpy, screen, hSAREA, busIdString)
+PUBLIC Bool XF86DRIOpenConnection(dpy, screen, hSAREA, busIdString)
Display* dpy;
int screen;
drm_handle_t * hSAREA;
return True;
}
-Bool XF86DRIAuthConnection(dpy, screen, magic)
+PUBLIC Bool XF86DRIAuthConnection(dpy, screen, magic)
Display* dpy;
int screen;
drm_magic_t magic;
return True;
}
-Bool XF86DRICloseConnection(dpy, screen)
+PUBLIC Bool XF86DRICloseConnection(dpy, screen)
Display* dpy;
int screen;
{
return True;
}
-Bool XF86DRIGetClientDriverName(dpy, screen, ddxDriverMajorVersion,
+PUBLIC Bool XF86DRIGetClientDriverName(dpy, screen, ddxDriverMajorVersion,
ddxDriverMinorVersion, ddxDriverPatchVersion, clientDriverName)
Display* dpy;
int screen;
return True;
}
-Bool XF86DRICreateContextWithConfig(dpy, screen, configID, context, hHWContext)
+PUBLIC Bool XF86DRICreateContextWithConfig(dpy, screen, configID, context,
+ hHWContext)
Display* dpy;
int screen;
int configID;
return True;
}
-Bool XF86DRICreateContext(dpy, screen, visual, context, hHWContext)
+PUBLIC Bool XF86DRICreateContext(dpy, screen, visual, context, hHWContext)
Display* dpy;
int screen;
Visual* visual;
context, hHWContext );
}
-GLboolean XF86DRIDestroyContext( __DRInativeDisplay * ndpy, int screen,
+PUBLIC GLboolean XF86DRIDestroyContext( __DRInativeDisplay * ndpy, int screen,
__DRIid context )
{
Display * const dpy = (Display *) ndpy;
return True;
}
-GLboolean XF86DRICreateDrawable( __DRInativeDisplay * ndpy, int screen,
+PUBLIC GLboolean XF86DRICreateDrawable( __DRInativeDisplay * ndpy, int screen,
__DRIid drawable, drm_drawable_t * hHWDrawable )
{
Display * const dpy = (Display *) ndpy;
return True;
}
-GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay * ndpy, int screen,
+PUBLIC GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay * ndpy, int screen,
__DRIid drawable )
{
Display * const dpy = (Display *) ndpy;
return True;
}
-Bool XF86DRIGetDrawableInfo(Display* dpy, int screen, Drawable drawable,
+PUBLIC Bool XF86DRIGetDrawableInfo(Display* dpy, int screen, Drawable drawable,
unsigned int* index, unsigned int* stamp,
int* X, int* Y, int* W, int* H,
int* numClipRects, drm_clip_rect_t ** pClipRects,
return True;
}
-Bool XF86DRIGetDeviceInfo(dpy, screen, hFrameBuffer,
+PUBLIC Bool XF86DRIGetDeviceInfo(dpy, screen, hFrameBuffer,
fbOrigin, fbSize, fbStride, devPrivateSize, pDevPrivate)
Display* dpy;
int screen;
return True;
}
-Bool XF86DRIOpenFullScreen(dpy, screen, drawable)
+PUBLIC Bool XF86DRIOpenFullScreen(dpy, screen, drawable)
Display* dpy;
int screen;
Drawable drawable;
return False;
}
-Bool XF86DRICloseFullScreen(dpy, screen, drawable)
+PUBLIC Bool XF86DRICloseFullScreen(dpy, screen, drawable)
Display* dpy;
int screen;
Drawable drawable;