parent
c19f227b46
commit
6085522d91
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue