diff options
author | Keith Packard <keithp@keithp.com> | 2014-04-01 21:15:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-03 13:07:51 -0700 |
commit | 3c2c59eed3c68c0e5a93c38cf01eedad015e3157 (patch) | |
tree | 4144a187f7c3eb0cf8918d961d24437c6d7ed9d2 | |
parent | 9dffcda804b2609f0b319d35dd47fd401d4fafce (diff) |
fb: Publish fbGlyphs and fbUnrealizeGlyph
This lets other code jump directly into the fb code for fallbacks
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | fb/fbpict.c | 4 | ||||
-rw-r--r-- | fb/fbpict.h | 15 |
2 files changed, 16 insertions, 3 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c index b50385805..c2ee8a552 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -82,7 +82,7 @@ fbDestroyGlyphCache(void) } } -static void +void fbUnrealizeGlyph(ScreenPtr pScreen, GlyphPtr pGlyph) { @@ -90,7 +90,7 @@ fbUnrealizeGlyph(ScreenPtr pScreen, pixman_glyph_cache_remove (glyphCache, pGlyph, NULL); } -static void +void fbGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, diff --git a/fb/fbpict.h b/fb/fbpict.h index 110f32dfe..8b0f59f7a 100644 --- a/fb/fbpict.h +++ b/fb/fbpict.h @@ -65,11 +65,24 @@ fbTrapezoids(CARD8 op, INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid * traps); extern _X_EXPORT void - fbTriangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst, 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, + PicturePtr pDst, + PictFormatPtr maskFormat, + INT16 xSrc, + INT16 ySrc, int nlist, + GlyphListPtr list, + GlyphPtr *glyphs); + #endif /* _FBPICT_H_ */ |