GLX: Implement support for TTM BO based TFP when available.

This commit is contained in:
Kristian Høgsberg 2008-02-14 22:20:56 -05:00
commit 0ffb6a3ad0
3 changed files with 71 additions and 0 deletions

View file

@ -348,6 +348,14 @@ DRI2Connect(ScreenPtr pScreen, int *fd, const char **driverName,
return TRUE;
}
unsigned int
DRI2GetPixmapHandle(PixmapPtr pPixmap, unsigned int *flags)
{
DRI2ScreenPtr ds = DRI2GetScreen(pPixmap->drawable.pScreen);
return ds->getPixmapHandle(pPixmap, flags);
}
static void *
DRI2SetupSAREA(ScreenPtr pScreen, size_t driverSareaSize)
{

View file

@ -62,6 +62,9 @@ Bool DRI2Connect(ScreenPtr pScreen,
int *ddxPatch,
unsigned int *sareaHandle);
unsigned int DRI2GetPixmapHandle(PixmapPtr pPixmap,
unsigned int *flags);
void DRI2Lock(ScreenPtr pScreen);
void DRI2Unlock(ScreenPtr pScreen);