mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
Export symbols defined in the sdk.
This is the biggest "visibility" patch. Instead of doing a "export" symbol on demand, export everything in the sdk, so that if some module fails due to an unresolved symbol, it is because it is using a symbol not in the sdk. Most exported symbols shouldn't really be made visible, neither advertised in the sdk, as they are only used by a single shared object. Symbols in the sdk (or referenced in sdk macros), but not defined anywhere include: XkbBuildCoreState() XkbInitialMap XkbXIUnsupported XkbCheckActionVMods() XkbSendCompatNotify() XkbDDXFakePointerButton() XkbDDXApplyConfig() _XkbStrCaseCmp() _XkbErrMessages[] _XkbErrCode _XkbErrLocation _XkbErrData XkbAccessXDetailText() XkbNKNDetailMaskText() XkbLookupGroupAndLevel() XkbInitAtoms() XkbGetOrderedDrawables() XkbFreeOrderedDrawables() XkbConvertXkbComponents() XkbWriteXKBSemantics() XkbWriteXKBLayout() XkbWriteXKBKeymap() XkbWriteXKBFile() XkbWriteCFile() XkbWriteXKMFile() XkbWriteToServer() XkbMergeFile() XkmFindTOCEntry() XkmReadFileSection() XkmReadFileSectionName() InitExtInput() xf86CheckButton() xf86SwitchCoreDevice() RamDacSetGamma() RamDacRestoreDACValues() xf86Bpp xf86ConfigPix24 xf86MouseCflags[] xf86SupportedMouseTypes[] xf86NumMouseTypes xf86ChangeBusIndex() xf86EntityEnter() xf86EntityLeave() xf86WrapperInit() xf86RingBell() xf86findOptionBoolean() xf86debugListOptions() LoadSubModuleLocal() LoaderSymbolLocal() getInt10Rec() xf86CurrentScreen xf86ReallocatePciResources() xf86NewSerialNumber() xf86RandRSetInitialMode() fbCompositeSolidMask_nx1xn fbCompositeSolidMask_nx8888x0565C fbCompositeSolidMask_nx8888x8888C fbCompositeSolidMask_nx8x0565 fbCompositeSolidMask_nx8x0888 fbCompositeSolidMask_nx8x8888 fbCompositeSrc_0565x0565 fbCompositeSrc_8888x0565 fbCompositeSrc_8888x0888 fbCompositeSrc_8888x8888 fbCompositeSrcAdd_1000x1000 fbCompositeSrcAdd_8000x8000 fbCompositeSrcAdd_8888x8888 fbGeneration fbIn fbOver fbOver24 fbOverlayGeneration fbRasterizeEdges fbRestoreAreas fbSaveAreas composeFunctions VBEBuildVbeModeList() VBECalcVbeModeIndex() TIramdac3030CalculateMNPForClock() shadowBufPtr shadowFindBuf() miRRGetScreenInfo() RRSetScreenConfig() RRModePruneUnused() PixmanImageFromPicture() extern int miPointerGetMotionEvents() miClipPicture() miRasterizeTriangle() fbPush1toN() fbInitializeBackingStore() ddxBeforeReset() SetupSprite() InitSprite() DGADeliverEvent() SPECIAL CASES o defined as _X_INTERNAL xf86NewInputDevice() o defined as static fbGCPrivateKey fbOverlayScreenPrivateKey fbScreenPrivateKey fbWinPrivateKey o defined in libXfont.so, but declared in xorg/dixfont.h GetGlyphs() QueryGlyphExtents() QueryTextExtents() ParseGlyphCachingMode() InitGlyphCaching() SetGlyphCachingMode()
This commit is contained in:
parent
ffb484f7ef
commit
d6cbd4511e
281 changed files with 1681 additions and 1673 deletions
24
Xext/geext.c
24
Xext/geext.c
|
|
@ -39,16 +39,16 @@
|
|||
|
||||
#define rClient(obj) (clients[CLIENT_ID((obj)->resource)])
|
||||
|
||||
int GEEventBase;
|
||||
int GEErrorBase;
|
||||
_X_EXPORT int GEEventBase;
|
||||
_X_EXPORT int GEErrorBase;
|
||||
static int GEClientPrivateKeyIndex;
|
||||
DevPrivateKey GEClientPrivateKey = &GEClientPrivateKeyIndex;
|
||||
int GEEventType; /* The opcode for all GenericEvents will have. */
|
||||
_X_EXPORT DevPrivateKey GEClientPrivateKey = &GEClientPrivateKeyIndex;
|
||||
_X_EXPORT int GEEventType; /* The opcode for all GenericEvents will have. */
|
||||
|
||||
int RT_GECLIENT = 0;
|
||||
|
||||
|
||||
GEExtension GEExtensions[MAXEXTENSIONS];
|
||||
_X_EXPORT GEExtension GEExtensions[MAXEXTENSIONS];
|
||||
|
||||
/* Major available requests */
|
||||
static const int version_requests[] = {
|
||||
|
|
@ -101,7 +101,7 @@ ProcGEQueryVersion(ClientPtr client)
|
|||
return(client->noClientException);
|
||||
}
|
||||
|
||||
int (*ProcGEVector[GENumberRequests])(ClientPtr) = {
|
||||
_X_EXPORT int (*ProcGEVector[GENumberRequests])(ClientPtr) = {
|
||||
/* Version 1.0 */
|
||||
ProcGEQueryVersion
|
||||
};
|
||||
|
|
@ -122,7 +122,7 @@ SProcGEQueryVersion(ClientPtr client)
|
|||
return(*ProcGEVector[stuff->ReqType])(client);
|
||||
}
|
||||
|
||||
int (*SProcGEVector[GENumberRequests])(ClientPtr) = {
|
||||
_X_EXPORT int (*SProcGEVector[GENumberRequests])(ClientPtr) = {
|
||||
/* Version 1.0 */
|
||||
SProcGEQueryVersion
|
||||
};
|
||||
|
|
@ -258,7 +258,7 @@ GEClientGone(WindowPtr pWin, XID id)
|
|||
* Since other extensions may rely on XGE (XInput does already), it is a good
|
||||
* idea to init XGE first, before any other extension.
|
||||
*/
|
||||
void
|
||||
_X_EXPORT void
|
||||
GEExtensionInit(void)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
|
@ -300,7 +300,7 @@ GEExtensionInit(void)
|
|||
* @param ev_fill Called for an event before delivery. The extension now has
|
||||
* the chance to fill in necessary fields for the event.
|
||||
*/
|
||||
void
|
||||
_X_EXPORT void
|
||||
GERegisterExtension(int extension,
|
||||
void (*ev_swap)(xGenericEvent* from, xGenericEvent* to),
|
||||
void (*ev_fill)(xGenericEvent* ev, DeviceIntPtr pDev,
|
||||
|
|
@ -318,7 +318,7 @@ GERegisterExtension(int extension,
|
|||
/* Sets type and extension field for a generic event. This is just an
|
||||
* auxiliary function, extensions could do it manually too.
|
||||
*/
|
||||
void
|
||||
_X_EXPORT void
|
||||
GEInitEvent(xGenericEvent* ev, int extension)
|
||||
{
|
||||
ev->type = GenericEvent;
|
||||
|
|
@ -356,7 +356,7 @@ GERecalculateWinMask(WindowPtr pWin)
|
|||
}
|
||||
|
||||
/* Set generic event mask for given window. */
|
||||
void
|
||||
_X_EXPORT void
|
||||
GEWindowSetMask(ClientPtr pClient, DeviceIntPtr pDev,
|
||||
WindowPtr pWin, int extension, Mask mask)
|
||||
{
|
||||
|
|
@ -443,7 +443,7 @@ GEWindowSetMask(ClientPtr pClient, DeviceIntPtr pDev,
|
|||
* @param extension Extension ID
|
||||
* @param mask Event mask
|
||||
*/
|
||||
BOOL
|
||||
_X_EXPORT BOOL
|
||||
GEDeviceMaskIsSet(WindowPtr pWin, DeviceIntPtr pDev,
|
||||
int extension, Mask mask)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ typedef struct _ShapeEvent {
|
|||
*
|
||||
****************/
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
ShapeExtensionInit(void)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
|
@ -238,7 +238,7 @@ RegionOperate (client, pWin, kind, destRgnp, srcRgn, op, xoff, yoff, create)
|
|||
return Success;
|
||||
}
|
||||
|
||||
RegionPtr
|
||||
_X_EXPORT RegionPtr
|
||||
CreateBoundingShape (pWin)
|
||||
WindowPtr pWin;
|
||||
{
|
||||
|
|
@ -251,7 +251,7 @@ CreateBoundingShape (pWin)
|
|||
return REGION_CREATE(pWin->drawable.pScreen, &extents, 1);
|
||||
}
|
||||
|
||||
RegionPtr
|
||||
_X_EXPORT RegionPtr
|
||||
CreateClipShape (pWin)
|
||||
WindowPtr pWin;
|
||||
{
|
||||
|
|
@ -895,7 +895,7 @@ ProcShapeSelectInput (client)
|
|||
* deliver the event
|
||||
*/
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
SendShapeNotify (pWin, which)
|
||||
WindowPtr pWin;
|
||||
int which;
|
||||
|
|
|
|||
|
|
@ -1349,7 +1349,7 @@ static int (*XvProcVector[xvNumRequests])(ClientPtr) = {
|
|||
ProcXvShmPutImage,
|
||||
};
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
ProcXvDispatch(ClientPtr client)
|
||||
{
|
||||
REQUEST(xReq);
|
||||
|
|
@ -1673,7 +1673,7 @@ static int (*SXvProcVector[xvNumRequests])(ClientPtr) = {
|
|||
SProcXvShmPutImage,
|
||||
};
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
SProcXvDispatch(ClientPtr client)
|
||||
{
|
||||
REQUEST(xReq);
|
||||
|
|
|
|||
|
|
@ -107,20 +107,20 @@ SOFTWARE.
|
|||
|
||||
static int XvScreenKeyIndex;
|
||||
static DevPrivateKey XvScreenKey = &XvScreenKeyIndex;
|
||||
unsigned long XvExtensionGeneration = 0;
|
||||
unsigned long XvScreenGeneration = 0;
|
||||
unsigned long XvResourceGeneration = 0;
|
||||
_X_EXPORT unsigned long XvExtensionGeneration = 0;
|
||||
_X_EXPORT unsigned long XvScreenGeneration = 0;
|
||||
_X_EXPORT unsigned long XvResourceGeneration = 0;
|
||||
|
||||
int XvReqCode;
|
||||
int XvEventBase;
|
||||
int XvErrorBase;
|
||||
_X_EXPORT int XvReqCode;
|
||||
_X_EXPORT int XvEventBase;
|
||||
_X_EXPORT int XvErrorBase;
|
||||
|
||||
unsigned long XvRTPort;
|
||||
unsigned long XvRTEncoding;
|
||||
unsigned long XvRTGrab;
|
||||
unsigned long XvRTVideoNotify;
|
||||
unsigned long XvRTVideoNotifyList;
|
||||
unsigned long XvRTPortNotify;
|
||||
_X_EXPORT unsigned long XvRTPort;
|
||||
_X_EXPORT unsigned long XvRTEncoding;
|
||||
_X_EXPORT unsigned long XvRTGrab;
|
||||
_X_EXPORT unsigned long XvRTVideoNotify;
|
||||
_X_EXPORT unsigned long XvRTVideoNotifyList;
|
||||
_X_EXPORT unsigned long XvRTPortNotify;
|
||||
|
||||
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ static int XvdiSendVideoNotify(XvPortPtr, DrawablePtr, int);
|
|||
**
|
||||
*/
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
XvExtensionInit(void)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
|
@ -445,7 +445,7 @@ XvDestroyWindow(WindowPtr pWin)
|
|||
stopped in a port for reasons that the di layer had no control over; note
|
||||
that it doesn't call back into the dd layer */
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiVideoStopped(XvPortPtr pPort, int reason)
|
||||
{
|
||||
|
||||
|
|
@ -553,7 +553,7 @@ int reason;
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiSendPortNotify(
|
||||
XvPortPtr pPort,
|
||||
Atom attribute,
|
||||
|
|
@ -593,7 +593,7 @@ XvdiSendPortNotify(
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiPutVideo(
|
||||
ClientPtr client,
|
||||
DrawablePtr pDraw,
|
||||
|
|
@ -646,7 +646,7 @@ XvdiPutVideo(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiPutStill(
|
||||
ClientPtr client,
|
||||
DrawablePtr pDraw,
|
||||
|
|
@ -684,7 +684,7 @@ XvdiPutStill(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiPutImage(
|
||||
ClientPtr client,
|
||||
DrawablePtr pDraw,
|
||||
|
|
@ -723,7 +723,7 @@ XvdiPutImage(
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiGetVideo(
|
||||
ClientPtr client,
|
||||
DrawablePtr pDraw,
|
||||
|
|
@ -776,7 +776,7 @@ XvdiGetVideo(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiGetStill(
|
||||
ClientPtr client,
|
||||
DrawablePtr pDraw,
|
||||
|
|
@ -814,7 +814,7 @@ XvdiGetStill(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiGrabPort(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
@ -871,7 +871,7 @@ XvdiGrabPort(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiUngrabPort(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
@ -905,7 +905,7 @@ XvdiUngrabPort(
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiSelectVideoNotify(
|
||||
ClientPtr client,
|
||||
DrawablePtr pDraw,
|
||||
|
|
@ -983,7 +983,7 @@ XvdiSelectVideoNotify(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiSelectPortNotify(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
@ -1036,7 +1036,7 @@ XvdiSelectPortNotify(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiStopVideo(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
@ -1073,7 +1073,7 @@ XvdiStopVideo(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiPreemptVideo(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
@ -1097,7 +1097,7 @@ XvdiPreemptVideo(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiMatchPort(
|
||||
XvPortPtr pPort,
|
||||
DrawablePtr pDraw
|
||||
|
|
@ -1130,7 +1130,7 @@ XvdiMatchPort(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiSetPortAttribute(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
@ -1145,7 +1145,7 @@ XvdiSetPortAttribute(
|
|||
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvdiGetPortAttribute(
|
||||
ClientPtr client,
|
||||
XvPortPtr pPort,
|
||||
|
|
|
|||
|
|
@ -664,7 +664,7 @@ SProcXvMCDispatch (ClientPtr client)
|
|||
return BadImplementation;
|
||||
}
|
||||
|
||||
void
|
||||
_X_EXPORT void
|
||||
XvMCExtensionInit(void)
|
||||
{
|
||||
ExtensionEntry *extEntry;
|
||||
|
|
@ -705,7 +705,7 @@ XvMCCloseScreen (int i, ScreenPtr pScreen)
|
|||
}
|
||||
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
XvMCScreenInit(ScreenPtr pScreen, int num, XvMCAdaptorPtr pAdapt)
|
||||
{
|
||||
XvMCScreenPtr pScreenPriv;
|
||||
|
|
@ -731,7 +731,7 @@ XvMCScreenInit(ScreenPtr pScreen, int num, XvMCAdaptorPtr pAdapt)
|
|||
return Success;
|
||||
}
|
||||
|
||||
XvImagePtr XvMCFindXvImage(XvPortPtr pPort, CARD32 id)
|
||||
_X_EXPORT XvImagePtr XvMCFindXvImage(XvPortPtr pPort, CARD32 id)
|
||||
{
|
||||
XvImagePtr pImage = NULL;
|
||||
ScreenPtr pScreen = pPort->pAdaptor->pScreen;
|
||||
|
|
@ -763,7 +763,7 @@ XvImagePtr XvMCFindXvImage(XvPortPtr pPort, CARD32 id)
|
|||
return pImage;
|
||||
}
|
||||
|
||||
int
|
||||
_X_EXPORT int
|
||||
xf86XvMCRegisterDRInfo(ScreenPtr pScreen, char *name,
|
||||
char *busID, int major, int minor,
|
||||
int patchLevel)
|
||||
|
|
|
|||
Loading…
Reference in a new issue