fb: Hide glyph implementation details
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e572bcc7f4
commit
266cd552bd
10
fb/fb.h
10
fb/fb.h
|
@ -750,13 +750,6 @@ fbArc24(FbBits * dst,
|
|||
int dstBpp, xArc * arc, int dx, int dy, FbBits and, FbBits xor);
|
||||
|
||||
extern _X_EXPORT void
|
||||
|
||||
fbGlyph24(FbBits * dstLine,
|
||||
FbStride dstStride,
|
||||
int dstBpp, FbStip * stipple, FbBits fg, int height, int shift);
|
||||
|
||||
extern _X_EXPORT void
|
||||
|
||||
fbPolyline24(DrawablePtr pDrawable,
|
||||
GCPtr pGC, int mode, int npt, DDXPointPtr ptsOrig);
|
||||
|
||||
|
@ -1045,9 +1038,6 @@ fbGetSpans(DrawablePtr pDrawable,
|
|||
* fbglyph.c
|
||||
*/
|
||||
|
||||
extern _X_EXPORT Bool
|
||||
fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height);
|
||||
|
||||
extern _X_EXPORT void
|
||||
|
||||
fbPolyGlyphBlt(DrawablePtr pDrawable,
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <X11/fonts/fontstruct.h>
|
||||
#include "dixfontstr.h"
|
||||
|
||||
Bool
|
||||
static Bool
|
||||
fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height)
|
||||
{
|
||||
BoxRec box;
|
||||
|
@ -116,7 +116,7 @@ fbGlyphIn(RegionPtr pRegion, int x, int y, int width, int height)
|
|||
#define CASE(a,b,c,d) (a | (b << 1) | (c << 2) | (d << 3))
|
||||
#endif
|
||||
|
||||
void
|
||||
static void
|
||||
fbGlyph24(FbBits * dstBits,
|
||||
FbStride dstStride,
|
||||
int dstBpp, FbStip * stipple, FbBits fg, int x, int height)
|
||||
|
|
|
@ -82,7 +82,7 @@ fbDestroyGlyphCache(void)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
fbUnrealizeGlyph(ScreenPtr pScreen,
|
||||
GlyphPtr pGlyph)
|
||||
{
|
||||
|
|
|
@ -71,10 +71,6 @@ fbTriangles(CARD8 op,
|
|||
PictFormatPtr maskFormat,
|
||||
INT16 xSrc, INT16 ySrc, int ntris, xTriangle * tris);
|
||||
|
||||
extern _X_EXPORT void
|
||||
fbUnrealizeGlyph(ScreenPtr pScreen,
|
||||
GlyphPtr pGlyph);
|
||||
|
||||
extern _X_EXPORT void
|
||||
fbGlyphs(CARD8 op,
|
||||
PicturePtr pSrc,
|
||||
|
|
|
@ -74,7 +74,6 @@
|
|||
#define fbGlyph24 wfbGlyph24
|
||||
#define fbGlyph32 wfbGlyph32
|
||||
#define fbGlyph8 wfbGlyph8
|
||||
#define fbGlyphIn wfbGlyphIn
|
||||
#define fbHasVisualTypes wfbHasVisualTypes
|
||||
#define fbImageGlyphBlt wfbImageGlyphBlt
|
||||
#define fbIn wfbIn
|
||||
|
|
Loading…
Reference in New Issue