staticize mi{G,S}etScreenPixmap
This commit is contained in:
parent
14d98b4a2f
commit
4791f8e2ba
|
@ -189,6 +189,19 @@ miScreenDevPrivateInit(ScreenPtr pScreen, int width, pointer pbits)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static PixmapPtr
|
||||||
|
miGetScreenPixmap(ScreenPtr pScreen)
|
||||||
|
{
|
||||||
|
return (PixmapPtr)(pScreen->devPrivate);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
miSetScreenPixmap(PixmapPtr pPix)
|
||||||
|
{
|
||||||
|
if (pPix)
|
||||||
|
pPix->drawable.pScreen->devPrivate = (pointer)pPix;
|
||||||
|
}
|
||||||
|
|
||||||
_X_EXPORT Bool
|
_X_EXPORT Bool
|
||||||
miScreenInit(
|
miScreenInit(
|
||||||
ScreenPtr pScreen,
|
ScreenPtr pScreen,
|
||||||
|
@ -297,16 +310,3 @@ miSetZeroLineBias(ScreenPtr pScreen, unsigned int bias)
|
||||||
{
|
{
|
||||||
dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias);
|
dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias);
|
||||||
}
|
}
|
||||||
|
|
||||||
PixmapPtr
|
|
||||||
miGetScreenPixmap(ScreenPtr pScreen)
|
|
||||||
{
|
|
||||||
return (PixmapPtr)(pScreen->devPrivate);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
miSetScreenPixmap(PixmapPtr pPix)
|
|
||||||
{
|
|
||||||
if (pPix)
|
|
||||||
pPix->drawable.pScreen->devPrivate = (pointer)pPix;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue