xserver-multidpi/hw/xfree86/fbdevhw/fbdevhwstub.c
Paulo Cesar Pereira de Andrade d6cbd4511e 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()
2008-11-29 23:56:06 -02:00

197 lines
3.1 KiB
C

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "xf86.h"
#include "xf86cmap.h"
#include "fbdevhw.h"
/* Stubs for the static server on platforms that don't support fbdev */
_X_EXPORT Bool
fbdevHWGetRec(ScrnInfoPtr pScrn)
{
return FALSE;
}
_X_EXPORT void
fbdevHWFreeRec(ScrnInfoPtr pScrn)
{
}
_X_EXPORT Bool
fbdevHWProbe(struct pci_device *pPci, char *device, char **namep)
{
return FALSE;
}
_X_EXPORT Bool
fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci, char *device)
{
xf86Msg(X_ERROR, "fbdevhw is not available on this platform\n");
return FALSE;
}
_X_EXPORT char*
fbdevHWGetName(ScrnInfoPtr pScrn)
{
return NULL;
}
_X_EXPORT int
fbdevHWGetDepth(ScrnInfoPtr pScrn, int *fbbpp)
{
return -1;
}
_X_EXPORT int
fbdevHWGetLineLength(ScrnInfoPtr pScrn)
{
return -1; /* Should cause something spectacular... */
}
_X_EXPORT int
fbdevHWGetType(ScrnInfoPtr pScrn)
{
return -1;
}
_X_EXPORT int
fbdevHWGetVidmem(ScrnInfoPtr pScrn)
{
return -1;
}
_X_EXPORT void
fbdevHWSetVideoModes(ScrnInfoPtr pScrn)
{
}
DisplayModePtr
fbdevHWGetBuildinMode(ScrnInfoPtr pScrn)
{
return NULL;
}
_X_EXPORT void
fbdevHWUseBuildinMode(ScrnInfoPtr pScrn)
{
}
_X_EXPORT void*
fbdevHWMapVidmem(ScrnInfoPtr pScrn)
{
return NULL;
}
_X_EXPORT int
fbdevHWLinearOffset(ScrnInfoPtr pScrn)
{
return 0;
}
_X_EXPORT Bool
fbdevHWUnmapVidmem(ScrnInfoPtr pScrn)
{
return FALSE;
}
_X_EXPORT void*
fbdevHWMapMMIO(ScrnInfoPtr pScrn)
{
return NULL;
}
_X_EXPORT Bool
fbdevHWUnmapMMIO(ScrnInfoPtr pScrn)
{
return FALSE;
}
_X_EXPORT Bool
fbdevHWModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
{
return FALSE;
}
_X_EXPORT void
fbdevHWSave(ScrnInfoPtr pScrn)
{
}
_X_EXPORT void
fbdevHWRestore(ScrnInfoPtr pScrn)
{
}
_X_EXPORT void
fbdevHWLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
LOCO *colors, VisualPtr pVisual)
{
}
_X_EXPORT ModeStatus
fbdevHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags)
{
return MODE_ERROR;
}
_X_EXPORT Bool
fbdevHWSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
{
return FALSE;
}
_X_EXPORT void
fbdevHWAdjustFrame(int scrnIndex, int x, int y, int flags)
{
}
_X_EXPORT Bool
fbdevHWEnterVT(int scrnIndex, int flags)
{
return FALSE;
}
_X_EXPORT void
fbdevHWLeaveVT(int scrnIndex, int flags)
{
}
_X_EXPORT void
fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mode, int flags)
{
}
_X_EXPORT Bool
fbdevHWSaveScreen(ScreenPtr pScreen, int mode)
{
return FALSE;
}
_X_EXPORT xf86SwitchModeProc *
fbdevHWSwitchModeWeak(void) { return fbdevHWSwitchMode; }
_X_EXPORT xf86AdjustFrameProc *
fbdevHWAdjustFrameWeak(void) { return fbdevHWAdjustFrame; }
_X_EXPORT xf86EnterVTProc *
fbdevHWEnterVTWeak(void) { return fbdevHWEnterVT; }
_X_EXPORT xf86LeaveVTProc *
fbdevHWLeaveVTWeak(void) { return fbdevHWLeaveVT; }
_X_EXPORT xf86ValidModeProc *
fbdevHWValidModeWeak(void) { return fbdevHWValidMode; }
_X_EXPORT xf86DPMSSetProc *
fbdevHWDPMSSetWeak(void) { return fbdevHWDPMSSet; }
_X_EXPORT xf86LoadPaletteProc *
fbdevHWLoadPaletteWeak(void) { return fbdevHWLoadPalette; }
_X_EXPORT SaveScreenProcPtr
fbdevHWSaveScreenWeak(void) { return fbdevHWSaveScreen; }