DRI2: Add DRI2AuthConnection().

DRI2 uses the same authentication scheme as XF86DRI, so implement this
entry point so DRI2 protocol code can access it.
This commit is contained in:
Kristian Høgsberg 2008-03-11 00:35:31 -04:00
commit bc504ffbba
2 changed files with 13 additions and 0 deletions

View file

@ -58,6 +58,8 @@ Bool DRI2Connect(ScreenPtr pScreen,
const char **driverName,
unsigned int *sareaHandle);
Bool DRI2AuthConnection(ScreenPtr pScreen, drm_magic_t magic);
unsigned int DRI2GetPixmapHandle(PixmapPtr pPixmap,
unsigned int *flags);