Export fbShmPutImage to modules.

To be used by EXA.
This commit is contained in:
Michel Dänzer 2007-08-24 14:02:35 +02:00
parent c19f227b46
commit 6085522d91
2 changed files with 5 additions and 2 deletions

View File

@ -57,6 +57,7 @@ in this Software without prior written authorization from The Open Group.
#include "gcstruct.h" #include "gcstruct.h"
#include "extnsionst.h" #include "extnsionst.h"
#include "servermd.h" #include "servermd.h"
#include "shmint.h"
#define _XSHM_SERVER_ #define _XSHM_SERVER_
#include <X11/extensions/shmstr.h> #include <X11/extensions/shmstr.h>
#include <X11/Xfuncproto.h> #include <X11/Xfuncproto.h>
@ -78,7 +79,6 @@ typedef struct _ShmDesc {
} ShmDescRec, *ShmDescPtr; } ShmDescRec, *ShmDescPtr;
static void miShmPutImage(XSHM_PUT_IMAGE_ARGS); static void miShmPutImage(XSHM_PUT_IMAGE_ARGS);
static void fbShmPutImage(XSHM_PUT_IMAGE_ARGS);
static PixmapPtr fbShmCreatePixmap(XSHM_CREATE_PIXMAP_ARGS); static PixmapPtr fbShmCreatePixmap(XSHM_CREATE_PIXMAP_ARGS);
static int ShmDetachSegment( static int ShmDetachSegment(
pointer /* value */, pointer /* value */,
@ -510,7 +510,7 @@ miShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data)
(*pmap->drawable.pScreen->DestroyPixmap)(pmap); (*pmap->drawable.pScreen->DestroyPixmap)(pmap);
} }
static void _X_EXPORT void
fbShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data) fbShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data)
DrawablePtr dst; DrawablePtr dst;
GCPtr pGC; GCPtr pGC;

View File

@ -36,6 +36,9 @@ ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs);
void void
ShmSetPixmapFormat(ScreenPtr pScreen, int format); ShmSetPixmapFormat(ScreenPtr pScreen, int format);
void
fbShmPutImage(XSHM_PUT_IMAGE_ARGS);
void void
ShmRegisterFbFuncs(ScreenPtr pScreen); ShmRegisterFbFuncs(ScreenPtr pScreen);