fb: Publish fbGlyphs and fbUnrealizeGlyph
authorKeith Packard <keithp@keithp.com>
Wed, 2 Apr 2014 04:15:41 +0000 (21:15 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 20:07:51 +0000 (13:07 -0700)
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>
fb/fbpict.c
fb/fbpict.h

index b503858..c2ee8a5 100644 (file)
@@ -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,
index 110f32d..8b0f59f 100644 (file)
@@ -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_ */