fb: pict: unexport fbTriangles()

Not used by drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-05 20:25:28 +02:00
parent 12cb13d1fa
commit b0e7326f6d
3 changed files with 7 additions and 7 deletions

View File

@ -47,13 +47,6 @@ extern _X_EXPORT void
fbAddTraps(PicturePtr pPicture,
INT16 xOff, INT16 yOff, int ntrap, xTrap * 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
fbGlyphs(CARD8 op,
PicturePtr pSrc,

View File

@ -20,4 +20,9 @@ void fbTrapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc,
int ntrap, xTrapezoid *traps);
_X_EXPORT /* only for glamor module, not supposed to be used by external drivers */
void fbTriangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc,
int ntris, xTriangle *tris);
#endif /* XORG_FBPICT_PRIV_H */

View File

@ -25,7 +25,9 @@
* Zhigang Gong <zhigang.gong@gmail.com>
*
*/
#include <dix-config.h>
#include "fb/fbpict_priv.h"
#include "glamor_priv.h"
void