mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-06 22:55:10 +00:00
exa: add a pixmap private pointer for drivers to retrieve.
This commit is contained in:
parent
2d93e69690
commit
31555af000
3 changed files with 15 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ exaGetPixmapOffset(PixmapPtr pPix)
|
|||
(unsigned long)pExaScr->info->memoryBase);
|
||||
}
|
||||
|
||||
void *
|
||||
exaGetPixmapDriverPrivate(PixmapPtr pPix)
|
||||
{
|
||||
ExaPixmapPriv(pPix);
|
||||
|
||||
return pExaPixmap->driverPriv;
|
||||
}
|
||||
|
||||
/**
|
||||
* exaGetPixmapPitch() returns the pitch (in bytes) of the given pixmap.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue