Make shmint.h part of the SDK.
This includes ShmRegisterFuncs, ShmSetPixmapFormat, fbShmPutImage, and ShmRegisterFbFuncs. Note that fbShmPutImage was already exported.
This commit is contained in:
parent
a3afa6f2fb
commit
b37b1e6699
|
@ -15,7 +15,7 @@ INCLUDES = -I$(top_srcdir)/hw/xfree86/dixmods/extmod
|
||||||
AM_CFLAGS = $(DIX_CFLAGS)
|
AM_CFLAGS = $(DIX_CFLAGS)
|
||||||
|
|
||||||
if XORG
|
if XORG
|
||||||
sdk_HEADERS = xvdix.h xvmcext.h geext.h geint.h
|
sdk_HEADERS = xvdix.h xvmcext.h geext.h geint.h shmint.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Sources always included in libXextbuiltin.la & libXext.la
|
# Sources always included in libXextbuiltin.la & libXext.la
|
||||||
|
|
|
@ -283,13 +283,13 @@ ShmResetProc(ExtensionEntry *extEntry)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
_X_EXPORT void
|
||||||
ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs)
|
ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs)
|
||||||
{
|
{
|
||||||
shmFuncs[pScreen->myNum] = funcs;
|
shmFuncs[pScreen->myNum] = funcs;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
_X_EXPORT void
|
||||||
ShmSetPixmapFormat(ScreenPtr pScreen, int format)
|
ShmSetPixmapFormat(ScreenPtr pScreen, int format)
|
||||||
{
|
{
|
||||||
shmPixFormat[pScreen->myNum] = format;
|
shmPixFormat[pScreen->myNum] = format;
|
||||||
|
@ -316,7 +316,7 @@ ShmDestroyPixmap (PixmapPtr pPixmap)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
_X_EXPORT void
|
||||||
ShmRegisterFbFuncs(ScreenPtr pScreen)
|
ShmRegisterFbFuncs(ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
shmFuncs[pScreen->myNum] = &fbFuncs;
|
shmFuncs[pScreen->myNum] = &fbFuncs;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user