diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 01:55:11 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 01:55:11 -0200 |
commit | 31285d063ec4623cb0764437d6d57e244f20460d (patch) | |
tree | 414bfb01b62f12183783b98b98294f1b16c89e1c /exa | |
parent | 6f18ea7e656b79e58f66f51067334414767b413f (diff) |
Make visible symbols required by xorg modules.
This patch exports all symbols required by the compilable
(in a x86 linux computer) xorg/driver/* modules.
Still missing symbols worth mentioning are:
sunleo
miFindMaxBand no longer available
intel (uxa/uxa-accel.c)
fbShmPutImage no longer available (and should have been static)
mga
MGAGetClientPointer (should come from matrox's libhal)
This is not a definitive "visibility" patch, as all it does is to
export missing symbols, but the modules that current don't compile,
may require more symbols once fixed, and third party drivers should
also require more symbols exported.
A "definitive" patch should export symbols defined in the sdk.
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 14 | ||||
-rw-r--r-- | exa/exa_migration.c | 2 | ||||
-rw-r--r-- | exa/exa_offscreen.c | 8 | ||||
-rw-r--r-- | exa/exa_unaccel.c | 2 |
4 files changed, 13 insertions, 13 deletions
@@ -67,7 +67,7 @@ ExaGetPixmapAddress(PixmapPtr p) * support for having multiple card-accessible offscreen, such as an AGP memory * pool alongside the framebuffer pool. */ -unsigned long +_X_EXPORT unsigned long exaGetPixmapOffset(PixmapPtr pPix) { ExaScreenPriv (pPix->drawable.pScreen); @@ -90,7 +90,7 @@ exaGetPixmapDriverPrivate(PixmapPtr pPix) * This is a helper to make driver code more obvious, due to the rather obscure * naming of the pitch field in the pixmap. */ -unsigned long +_X_EXPORT unsigned long exaGetPixmapPitch(PixmapPtr pPix) { return pPix->devKind; @@ -776,7 +776,7 @@ exaCloseScreen(int i, ScreenPtr pScreen) * * @return a newly allocated, zero-filled driver structure */ -ExaDriverPtr +_X_EXPORT ExaDriverPtr exaDriverAlloc(void) { return xcalloc(1, sizeof(ExaDriverRec)); @@ -792,7 +792,7 @@ exaDriverAlloc(void) * * @return TRUE if EXA was successfully initialized. */ -Bool +_X_EXPORT Bool exaDriverInit (ScreenPtr pScreen, ExaDriverPtr pScreenInfo) { @@ -1012,7 +1012,7 @@ exaDriverInit (ScreenPtr pScreen, * * @param pScreen screen being torn down. */ -void +_X_EXPORT void exaDriverFini (ScreenPtr pScreen) { /*right now does nothing*/ @@ -1029,7 +1029,7 @@ exaDriverFini (ScreenPtr pScreen) * driver MarkSync() callback, the return value of which may be used to do partial * synchronization with the hardware in the future. */ -void exaMarkSync(ScreenPtr pScreen) +_X_EXPORT void exaMarkSync(ScreenPtr pScreen) { ExaScreenPriv(pScreen); @@ -1048,7 +1048,7 @@ void exaMarkSync(ScreenPtr pScreen) * It should always be called before relying on the framebuffer contents * reflecting previous drawing, from a CPU perspective. */ -void exaWaitSync(ScreenPtr pScreen) +_X_EXPORT void exaWaitSync(ScreenPtr pScreen) { ExaScreenPriv(pScreen); diff --git a/exa/exa_migration.c b/exa/exa_migration.c index 571650c83..7b41f4d96 100644 --- a/exa/exa_migration.c +++ b/exa/exa_migration.c @@ -348,7 +348,7 @@ exaDoMoveInPixmap (ExaMigrationPtr migrate) pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER; } -void +_X_EXPORT void exaMoveInPixmap (PixmapPtr pPixmap) { static ExaMigrationRec migrate = { .as_dst = FALSE, .as_src = TRUE, diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c index 4aaa2c132..95656bf46 100644 --- a/exa/exa_offscreen.c +++ b/exa/exa_offscreen.c @@ -164,7 +164,7 @@ exaFindAreaToEvict(ExaScreenPrivPtr pExaScr, int size, int align) * requested version 2.1 or newer behavior. In that case, the save callback is * still called. */ -ExaOffscreenArea * +_X_EXPORT ExaOffscreenArea * exaOffscreenAlloc (ScreenPtr pScreen, int size, int align, Bool locked, ExaOffscreenSaveProc save, @@ -365,7 +365,7 @@ ExaOffscreenSwapIn (ScreenPtr pScreen) * many drivers that could otherwise handle the lack of FB access while * swapped out. */ -void +_X_EXPORT void exaEnableDisableFBAccess (int index, Bool enable) { ScreenPtr pScreen = screenInfo.screens[index]; @@ -412,7 +412,7 @@ ExaOffscreenMerge (ExaOffscreenArea *area) * @return pointer to the newly freed area. This behavior should not be relied * on. */ -ExaOffscreenArea * +_X_EXPORT ExaOffscreenArea * exaOffscreenFree (ScreenPtr pScreen, ExaOffscreenArea *area) { ExaScreenPriv(pScreen); @@ -453,7 +453,7 @@ exaOffscreenFree (ScreenPtr pScreen, ExaOffscreenArea *area) return area; } -void +_X_EXPORT void ExaOffscreenMarkUsed (PixmapPtr pPixmap) { ExaPixmapPriv (pPixmap); diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index 64c06c7c0..6e75d7893 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -373,7 +373,7 @@ ExaCheckAddTraps (PicturePtr pPicture, * * XXX This really belongs in fb, so it can be aware of tiling and etc. */ -CARD32 +_X_EXPORT CARD32 exaGetPixmapFirstPixel (PixmapPtr pPixmap) { CARD32 pixel; |