mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
GLX: Implement support for TTM BO based TFP when available.
This commit is contained in:
parent
879515b139
commit
0ffb6a3ad0
3 changed files with 71 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue