xserver-multidpi/hw/xfree86/xaa/Makefile.am
Eric Anholt e4d11e58ce Remove the PaintWindow optimization.
This was an attempt to avoid scratch gc creation and validation for paintwin
because that was expensive.  This is not the case in current servers, and the
danger of failure to implement it correctly (as seen in all previous
implementations) is high enough to justify removing it.  No performance
difference detected with x11perf -create -move -resize -circulate on Xvfb.
Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-09-13 00:08:53 +00:00

73 lines
2.8 KiB
Makefile

LSB_FIRST = l-xaaBitmap.c l-xaaStipple.c l-xaaTEGlyph.c
LSB_3_FIRST = l3-xaaBitmap.c l3-xaaStipple.c
MSB_FIRST = m-xaaBitmap.c m-xaaStipple.c m-xaaTEGlyph.c
MSB_3_FIRST = m3-xaaBitmap.c m3-xaaStipple.c
LSB_FIXED = lf-xaaBitmap.c lf-xaaStipple.c lf-xaaTEGlyph.c
LSB_3_FIXED = lf3-xaaBitmap.c lf3-xaaStipple.c
MSB_FIXED = mf-xaaBitmap.c mf-xaaStipple.c mf-xaaTEGlyph.c
MSB_3_FIXED = mf3-xaaBitmap.c mf3-xaaStipple.c
POLYSEG = s-xaaLine.c s-xaaDashLine.c
libxaa_la_LDFLAGS = -avoid-version
libxaa_la_LIBADD = $(top_builddir)/miext/cw/libcw.la
module_LTLIBRARIES = libxaa.la
libxaa_la_SOURCES = xaaInit.c xaaGC.c xaaInitAccel.c xaaFallback.c \
xaaBitBlt.c xaaCpyArea.c xaaGCmisc.c xaaCpyWin.c \
xaaCpyPlane.c xaaFillRect.c xaaTEText.c xaaNonTEText.c \
xaaPCache.c xaaSpans.c xaaROP.c xaaImage.c xaaWrapper.c \
xaaRect.c xaaLineMisc.c xaaBitOrder.c \
xaaFillPoly.c xaaWideLine.c xaaTables.c xaaFillArc.c \
xaaLine.c xaaDashLine.c xaaOverlay.c xaaOffscreen.c \
xaaOverlayDF.c xaaStateChange.c xaaPict.c $(POLYSEG) \
$(LSB_FIRST) $(MSB_FIRST) $(LSB_FIXED) $(MSB_FIXED) \
$(LSB_3_FIRST) $(MSB_3_FIRST) $(LSB_3_FIXED) $(MSB_3_FIXED)
${POLYSEG}:
echo "#define POLYSEGMENT" > $@
echo '#include "$(srcdir)/${@:s-%=%}"' >> $@
${LSB_FIRST}:
echo "#define LSBFIRST" > $@
echo '#include "$(srcdir)/${@:l-%=%}"' >> $@
${LSB_3_FIRST}:
echo "#define LSBFIRST" > $@
echo "#define TRIPLE_BITS" >> $@
echo '#include "$(srcdir)/${@:l3-%=%}"' >> $@
${LSB_FIXED}:
echo "#define LSBFIRST" > $@
echo "#define FIXEDBASE" >> $@
echo '#include "$(srcdir)/${@:lf-%=%}"' >> $@
${LSB_3_FIXED}:
echo "#define LSBFIRST" > $@
echo "#define TRIPLE_BITS" >> $@
echo "#define FIXEDBASE" >> $@
echo '#include "$(srcdir)/${@:lf3-%=%}"' >> $@
${MSB_FIRST}:
echo "#define MSBFIRST" > $@
echo '#include "$(srcdir)/${@:m-%=%}"' >> $@
${MSB_3_FIRST}:
echo "#define MSBFIRST" > $@
echo "#define TRIPLE_BITS" >> $@
echo '#include "$(srcdir)/${@:m3-%=%}"' >> $@
${MSB_FIXED}:
echo "#define MSBFIRST" > $@
echo "#define FIXEDBASE" >> $@
echo '#include "$(srcdir)/${@:mf-%=%}"' >> $@
${MSB_3_FIXED}:
echo "#define MSBFIRST" > $@
echo "#define TRIPLE_BITS" >> $@
echo "#define FIXEDBASE" >> $@
echo '#include "$(srcdir)/${@:mf3-%=%}"' >> $@
DISTCLEANFILES = $(POLYSEG) \
$(LSB_FIRST) $(LSB_FIXED) $(MSB_FIRST) $(MSB_FIXED) \
$(LSB_3_FIRST) $(LSB_3_FIXED) $(MSB_3_FIRST) $(MSB_3_FIXED)
sdk_HEADERS = xaa.h xaalocal.h xaarop.h xaaWrapper.h
EXTRA_DIST = xaacexp.h xaawrap.h xaaLine.c xaaDashLine.c \
xaaStipple.c xaaTEGlyph.c xaaNonTEGlyph.c xaaBitmap.c \
xaaTEGlyphBlt.S XAA.HOWTO
INCLUDES = $(XORG_INCS)
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)