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:
Aaron Plattner 2008-07-30 18:48:27 -07:00
parent a3afa6f2fb
commit b37b1e6699
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;