fb: Added missing files
This commit is contained in:
parent
74dde04eb8
commit
3cbb434e7a
123
fb/fbcmap_mi.c
Normal file
123
fb/fbcmap_mi.c
Normal file
|
@ -0,0 +1,123 @@
|
|||
/************************************************************
|
||||
Copyright 1987 by Sun Microsystems, Inc. Mountain View, CA.
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this
|
||||
software and its documentation for any purpose and without
|
||||
fee is hereby granted, provided that the above copyright no-
|
||||
tice appear in all copies and that both that copyright no-
|
||||
tice and this permission notice appear in supporting docu-
|
||||
mentation, and that the names of Sun or X Consortium
|
||||
not be used in advertising or publicity pertaining to
|
||||
distribution of the software without specific prior
|
||||
written permission. Sun and X Consortium make no
|
||||
representations about the suitability of this software for
|
||||
any purpose. It is provided "as is" without any express or
|
||||
implied warranty.
|
||||
|
||||
SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
||||
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-
|
||||
NESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE LI-
|
||||
ABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
||||
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
|
||||
THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
********************************************************/
|
||||
|
||||
|
||||
/**
|
||||
* This version of fbcmap.c is implemented in terms of mi functions.
|
||||
* These functions used to be in fbcmap.c and depended upon the symbol
|
||||
* XFree86Server being defined.
|
||||
*/
|
||||
|
||||
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <X11/X.h>
|
||||
#include "fb.h"
|
||||
#include "micmap.h"
|
||||
|
||||
int
|
||||
fbListInstalledColormaps(ScreenPtr pScreen, Colormap *pmaps)
|
||||
{
|
||||
return miListInstalledColormaps(pScreen, pmaps);
|
||||
}
|
||||
|
||||
void
|
||||
fbInstallColormap(ColormapPtr pmap)
|
||||
{
|
||||
miInstallColormap(pmap);
|
||||
}
|
||||
|
||||
void
|
||||
fbUninstallColormap(ColormapPtr pmap)
|
||||
{
|
||||
miUninstallColormap(pmap);
|
||||
}
|
||||
|
||||
void
|
||||
fbResolveColor(unsigned short *pred,
|
||||
unsigned short *pgreen,
|
||||
unsigned short *pblue,
|
||||
VisualPtr pVisual)
|
||||
{
|
||||
miResolveColor(pred, pgreen, pblue, pVisual);
|
||||
}
|
||||
|
||||
Bool
|
||||
fbInitializeColormap(ColormapPtr pmap)
|
||||
{
|
||||
return miInitializeColormap(pmap);
|
||||
}
|
||||
|
||||
int
|
||||
fbExpandDirectColors (ColormapPtr pmap,
|
||||
int ndef,
|
||||
xColorItem *indefs,
|
||||
xColorItem *outdefs)
|
||||
{
|
||||
return miExpandDirectColors(pmap, ndef, indefs, outdefs);
|
||||
}
|
||||
|
||||
Bool
|
||||
fbCreateDefColormap(ScreenPtr pScreen)
|
||||
{
|
||||
return miCreateDefColormap(pScreen);
|
||||
}
|
||||
|
||||
void
|
||||
fbClearVisualTypes(void)
|
||||
{
|
||||
miClearVisualTypes();
|
||||
}
|
||||
|
||||
Bool
|
||||
fbSetVisualTypes (int depth, int visuals, int bitsPerRGB)
|
||||
{
|
||||
return miSetVisualTypes(depth, visuals, bitsPerRGB, -1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Given a list of formats for a screen, create a list
|
||||
* of visuals and depths for the screen which coorespond to
|
||||
* the set which can be used with this version of fb.
|
||||
*/
|
||||
Bool
|
||||
fbInitVisuals (VisualPtr *visualp,
|
||||
DepthPtr *depthp,
|
||||
int *nvisualp,
|
||||
int *ndepthp,
|
||||
int *rootDepthp,
|
||||
VisualID *defaultVisp,
|
||||
unsigned long sizes,
|
||||
int bitsPerRGB)
|
||||
{
|
||||
return miInitVisuals(visualp, depthp, nvisualp, ndepthp, rootDepthp,
|
||||
defaultVisp, sizes, bitsPerRGB, -1);
|
||||
}
|
201
fb/wfbrename.h
Normal file
201
fb/wfbrename.h
Normal file
|
@ -0,0 +1,201 @@
|
|||
#define fb16Lane wfb16Lane
|
||||
#define fb24_32CopyMtoN wfb24_32CopyMtoN
|
||||
#define fb24_32CreateScreenResources wfb24_32CreateScreenResources
|
||||
#define fb24_32GetImage wfb24_32GetImage
|
||||
#define fb24_32GetSpans wfb24_32GetSpans
|
||||
#define fb24_32ModifyPixmapHeader wfb24_32ModifyPixmapHeader
|
||||
#define fb24_32PutZImage wfb24_32PutZImage
|
||||
#define fb24_32ReformatTile wfb24_32ReformatTile
|
||||
#define fb24_32SetSpans wfb24_32SetSpans
|
||||
#define fb32Lane wfb32Lane
|
||||
#define fb8Lane wfb8Lane
|
||||
#define fbAddTraps wfbAddTraps
|
||||
#define fbAddTriangles wfbAddTriangles
|
||||
#define fbAllocatePrivates wfbAllocatePrivates
|
||||
#define fbArc16 wfbArc16
|
||||
#define fbArc24 wfbArc24
|
||||
#define fbArc32 wfbArc32
|
||||
#define fbArc8 wfbArc8
|
||||
#define fbBlt wfbBlt
|
||||
#define fbBlt24 wfbBlt24
|
||||
#define fbBltOne wfbBltOne
|
||||
#define fbBltOne24 wfbBltOne24
|
||||
#define fbBltPlane wfbBltPlane
|
||||
#define fbBltStip wfbBltStip
|
||||
#define fbBres wfbBres
|
||||
#define fbBresDash wfbBresDash
|
||||
#define fbBresDash16 wfbBresDash16
|
||||
#define fbBresDash24 wfbBresDash24
|
||||
#define fbBresDash32 wfbBresDash32
|
||||
#define fbBresDash8 wfbBresDash8
|
||||
#define fbBresFill wfbBresFill
|
||||
#define fbBresFillDash wfbBresFillDash
|
||||
#define fbBresSolid wfbBresSolid
|
||||
#define fbBresSolid16 wfbBresSolid16
|
||||
#define fbBresSolid24 wfbBresSolid24
|
||||
#define fbBresSolid32 wfbBresSolid32
|
||||
#define fbBresSolid8 wfbBresSolid8
|
||||
#define fbChangeWindowAttributes wfbChangeWindowAttributes
|
||||
#define fbClearVisualTypes wfbClearVisualTypes
|
||||
#define fbCloseScreen wfbCloseScreen
|
||||
#define fbComposite wfbComposite
|
||||
#define fbCompositeGeneral wfbCompositeGeneral
|
||||
#define fbCompositeSolidMask_nx1xn wfbCompositeSolidMask_nx1xn
|
||||
#define fbCompositeSolidMask_nx8888x0565C wfbCompositeSolidMask_nx8888x0565C
|
||||
#define fbCompositeSolidMask_nx8888x8888C wfbCompositeSolidMask_nx8888x8888C
|
||||
#define fbCompositeSolidMask_nx8x0565 wfbCompositeSolidMask_nx8x0565
|
||||
#define fbCompositeSolidMask_nx8x0888 wfbCompositeSolidMask_nx8x0888
|
||||
#define fbCompositeSolidMask_nx8x8888 wfbCompositeSolidMask_nx8x8888
|
||||
#define fbCompositeSrc_0565x0565 wfbCompositeSrc_0565x0565
|
||||
#define fbCompositeSrc_8888x0565 wfbCompositeSrc_8888x0565
|
||||
#define fbCompositeSrc_8888x0888 wfbCompositeSrc_8888x0888
|
||||
#define fbCompositeSrc_8888x8888 wfbCompositeSrc_8888x8888
|
||||
#define fbCompositeSrcAdd_1000x1000 wfbCompositeSrcAdd_1000x1000
|
||||
#define fbCompositeSrcAdd_8000x8000 wfbCompositeSrcAdd_8000x8000
|
||||
#define fbCompositeSrcAdd_8888x8888 wfbCompositeSrcAdd_8888x8888
|
||||
#define fbCopy1toN wfbCopy1toN
|
||||
#define fbCopyArea wfbCopyArea
|
||||
#define fbCopyNto1 wfbCopyNto1
|
||||
#define fbCopyNtoN wfbCopyNtoN
|
||||
#define fbCopyPlane wfbCopyPlane
|
||||
#define fbCopyRegion wfbCopyRegion
|
||||
#define fbCopyWindow wfbCopyWindow
|
||||
#define fbCopyWindowProc wfbCopyWindowProc
|
||||
#define fbCreateDefColormap wfbCreateDefColormap
|
||||
#define fbCreateGC wfbCreateGC
|
||||
#define fbCreatePixmap wfbCreatePixmap
|
||||
#define fbCreatePixmapBpp wfbCreatePixmapBpp
|
||||
#define fbCreateWindow wfbCreateWindow
|
||||
#define fbDestroyPixmap wfbDestroyPixmap
|
||||
#define fbDestroyWindow wfbDestroyWindow
|
||||
#define fbDoCopy wfbDoCopy
|
||||
#define fbDots wfbDots
|
||||
#define fbDots16 wfbDots16
|
||||
#define fbDots24 wfbDots24
|
||||
#define fbDots32 wfbDots32
|
||||
#define fbDots8 wfbDots8
|
||||
#define fbEvenStipple wfbEvenStipple
|
||||
#define fbEvenTile wfbEvenTile
|
||||
#define fbExpandDirectColors wfbExpandDirectColors
|
||||
#define fbFill wfbFill
|
||||
#define fbFillRegionSolid wfbFillRegionSolid
|
||||
#define fbFillRegionTiled wfbFillRegionTiled
|
||||
#define fbFillSpans wfbFillSpans
|
||||
#define fbFixCoordModePrevious wfbFixCoordModePrevious
|
||||
#define fbGCFuncs wfbGCFuncs
|
||||
#define fbGCOps wfbGCOps
|
||||
#define fbGCPrivateIndex wfbGCPrivateIndex
|
||||
#define fbGeneration wfbGeneration
|
||||
#define fbGetGCPrivateIndex wfbGetGCPrivateIndex
|
||||
#define fbGetImage wfbGetImage
|
||||
#define fbGetScreenPrivateIndex wfbGetScreenPrivateIndex
|
||||
#define fbGetSpans wfbGetSpans
|
||||
#define _fbGetWindowPixmap _wfbGetWindowPixmap
|
||||
#define fbGetWinPrivateIndex wfbGetWinPrivateIndex
|
||||
#define fbGlyph16 wfbGlyph16
|
||||
#define fbGlyph24 wfbGlyph24
|
||||
#define fbGlyph32 wfbGlyph32
|
||||
#define fbGlyph8 wfbGlyph8
|
||||
#define fbGlyphIn wfbGlyphIn
|
||||
#define fbHasVisualTypes wfbHasVisualTypes
|
||||
#define fbImageGlyphBlt wfbImageGlyphBlt
|
||||
#define fbIn wfbIn
|
||||
#define fbInitializeColormap wfbInitializeColormap
|
||||
#define fbInitVisuals wfbInitVisuals
|
||||
#define fbInstallColormap wfbInstallColormap
|
||||
#define fbLaneTable wfbLaneTable
|
||||
#define fbListInstalledColormaps wfbListInstalledColormaps
|
||||
#define fbMapWindow wfbMapWindow
|
||||
#define FbMergeRopBits wFbMergeRopBits
|
||||
#define fbOddStipple wfbOddStipple
|
||||
#define fbOddTile wfbOddTile
|
||||
#define fbOver wfbOver
|
||||
#define fbOver24 wfbOver24
|
||||
#define fbOverlayCloseScreen wfbOverlayCloseScreen
|
||||
#define fbOverlayCopyWindow wfbOverlayCopyWindow
|
||||
#define fbOverlayCreateScreenResources wfbOverlayCreateScreenResources
|
||||
#define fbOverlayCreateWindow wfbOverlayCreateWindow
|
||||
#define fbOverlayFinishScreenInit wfbOverlayFinishScreenInit
|
||||
#define fbOverlayGeneration wfbOverlayGeneration
|
||||
#define fbOverlayGetScreenPrivateIndex wfbOverlayGetScreenPrivateIndex
|
||||
#define fbOverlayPaintKey wfbOverlayPaintKey
|
||||
#define fbOverlayPaintWindow wfbOverlayPaintWindow
|
||||
#define fbOverlayScreenPrivateIndex wfbOverlayScreenPrivateIndex
|
||||
#define fbOverlaySetupScreen wfbOverlaySetupScreen
|
||||
#define fbOverlayUpdateLayerRegion wfbOverlayUpdateLayerRegion
|
||||
#define fbOverlayWindowExposures wfbOverlayWindowExposures
|
||||
#define fbOverlayWindowLayer wfbOverlayWindowLayer
|
||||
#define fbPadPixmap wfbPadPixmap
|
||||
#define fbPaintWindow wfbPaintWindow
|
||||
#define fbPictureInit wfbPictureInit
|
||||
#define fbPixmapToRegion wfbPixmapToRegion
|
||||
#define fbPolyArc wfbPolyArc
|
||||
#define fbPolyFillRect wfbPolyFillRect
|
||||
#define fbPolyGlyphBlt wfbPolyGlyphBlt
|
||||
#define fbPolyLine wfbPolyLine
|
||||
#define fbPolyline16 wfbPolyline16
|
||||
#define fbPolyline24 wfbPolyline24
|
||||
#define fbPolyline32 wfbPolyline32
|
||||
#define fbPolyline8 wfbPolyline8
|
||||
#define fbPolyPoint wfbPolyPoint
|
||||
#define fbPolySegment wfbPolySegment
|
||||
#define fbPolySegment16 wfbPolySegment16
|
||||
#define fbPolySegment24 wfbPolySegment24
|
||||
#define fbPolySegment32 wfbPolySegment32
|
||||
#define fbPolySegment8 wfbPolySegment8
|
||||
#define fbPositionWindow wfbPositionWindow
|
||||
#define fbPushFill wfbPushFill
|
||||
#define fbPushImage wfbPushImage
|
||||
#define fbPushPattern wfbPushPattern
|
||||
#define fbPushPixels wfbPushPixels
|
||||
#define fbPutImage wfbPutImage
|
||||
#define fbPutXYImage wfbPutXYImage
|
||||
#define fbPutZImage wfbPutZImage
|
||||
#define fbQueryBestSize wfbQueryBestSize
|
||||
#define fbRasterizeEdges wfbRasterizeEdges
|
||||
#define fbRasterizeTrapezoid wfbRasterizeTrapezoid
|
||||
#define fbRealizeFont wfbRealizeFont
|
||||
#define fbReduceRasterOp wfbReduceRasterOp
|
||||
#define fbReplicatePixel wfbReplicatePixel
|
||||
#define fbResolveColor wfbResolveColor
|
||||
#define fbRestoreAreas wfbRestoreAreas
|
||||
#define fbSaveAreas wfbSaveAreas
|
||||
#define fbScreenPrivateIndex wfbScreenPrivateIndex
|
||||
#define fbSegment wfbSegment
|
||||
#define fbSelectBres wfbSelectBres
|
||||
#define fbSetSpans wfbSetSpans
|
||||
#define fbSetupScreen wfbSetupScreen
|
||||
#define fbSetVisualTypes wfbSetVisualTypes
|
||||
#define fbSetVisualTypesAndMasks wfbSetVisualTypesAndMasks
|
||||
#define _fbSetWindowPixmap _wfbSetWindowPixmap
|
||||
#define fbSolid wfbSolid
|
||||
#define fbSolid24 wfbSolid24
|
||||
#define fbSolidBoxClipped wfbSolidBoxClipped
|
||||
#define fbStipple wfbStipple
|
||||
#define fbStipple1Bits wfbStipple1Bits
|
||||
#define fbStipple24Bits wfbStipple24Bits
|
||||
#define fbStipple2Bits wfbStipple2Bits
|
||||
#define fbStipple4Bits wfbStipple4Bits
|
||||
#define fbStipple8Bits wfbStipple8Bits
|
||||
#define fbStippleTable wfbStippleTable
|
||||
#define fbTile wfbTile
|
||||
#define fbTransparentSpan wfbTransparentSpan
|
||||
#define fbUninstallColormap wfbUninstallColormap
|
||||
#define fbUnmapWindow wfbUnmapWindow
|
||||
#define fbUnrealizeFont wfbUnrealizeFont
|
||||
#define fbValidateGC wfbValidateGC
|
||||
#define fbWalkCompositeRegion wfbWalkCompositeRegion
|
||||
#define fbWinPrivateIndex wfbWinPrivateIndex
|
||||
#define fbZeroLine wfbZeroLine
|
||||
#define fbZeroSegment wfbZeroSegment
|
||||
#define free_pixman_pict wfb_free_pixman_pict
|
||||
#define image_from_pict wfb_image_from_pict
|
||||
#define xxScrPrivateIndex wfbxxScrPrivateIndex
|
||||
#define xxGCPrivateIndex wfbxxGCPrivateIndex
|
||||
#define xxColormapPrivateIndex wfbxxColormapPrivateIndex
|
||||
#define xxGeneration wfbxxGeneration
|
||||
#define xxPrintVisuals wfbxxPrintVisuals
|
||||
#define xxGCFuncs wfbxxGCFuncs
|
||||
#define xxGCOps wfbxxGCOps
|
||||
#define xxSetup wfbxxSetup
|
||||
#define composeFunctions wfbComposeFunctions
|
Loading…
Reference in New Issue
Block a user