From ace9bb8babfd9898010249e96eb89a8d974c33ee Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 20 Mar 2014 18:09:59 +0000 Subject: Use compat-api.h for glyphs We are duplicating this logic in vivante_unaccel_render.c - remove this and use the compat-api.h provided version. Signed-off-by: Russell King --- src/vivante_unaccel_render.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vivante_unaccel_render.c b/src/vivante_unaccel_render.c index 42aaa4a..ad4d5cf 100644 --- a/src/vivante_unaccel_render.c +++ b/src/vivante_unaccel_render.c @@ -11,6 +11,7 @@ #include "config.h" #endif +#include "compat-api.h" #include "fb.h" #include "fbpict.h" #include "mipict.h" @@ -79,10 +80,6 @@ static void GlyphExtents(int nlist, GlyphListPtr list, GlyphPtr *glyphs, } #define NeedsComponent(f) (PICT_FORMAT_A(f) != 0 && PICT_FORMAT_RGB(f) != 0) -#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR -#define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum] -#define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p -#endif void vivante_unaccel_Glyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlist, -- cgit v1.2.3