[PATCH 01/16] fb: Publish fbGlyphs and fbUnrealizeGlyph

Keith Packard keithp at keithp.com
Tue Apr 1 21:15:41 PDT 2014


This lets other code jump directly into the fb code for fallbacks

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 fb/fbpict.c |  4 ++--
 fb/fbpict.h | 15 ++++++++++++++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/fb/fbpict.c b/fb/fbpict.c
index b503858..c2ee8a5 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 110f32d..8b0f59f 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_ */
-- 
1.9.0



More information about the xorg-devel mailing list