ae7f71a8b3
Composite's automatic redirection is a more general mechanism than the ad-hoc BS machinery, so it's much prettier to implement the one in terms of the other. Composite now wraps ChangeWindowAttributes and activates automatic redirection for windows with backing store requested. The old backing store infrastructure is completely gutted: ABI-visible structures retain the function pointers, but they never get called, and all the open-coded conditionals throughout the DIX layer to implement BS are gone. Note that this is still not a strictly complete implementation of backing store, since Composite will throw the bits away on unmap and therefore WhenMapped and Always hints are equivalent.
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
noinst_LTLIBRARIES = libafb.la
|
|
|
|
AM_CFLAGS = $(DIX_CFLAGS)
|
|
|
|
libafb_gen_sources = afbbltC.c afbbltX.c afbbltCI.c afbbltO.c afbbltG.c afbtileC.c afbtileG.c afbseg.c
|
|
|
|
DISTCLEANFILES = $(libafb_gen_sources)
|
|
|
|
libafb_la_SOURCES = afbgc.c afbwindow.c afbfont.c afbfillrct.c afbpntwin.c afbpixmap.c \
|
|
afbimage.c afbline.c afbbres.c afbhrzvert.c afbbresd.c afbpushpxl.c afbply1rct.c \
|
|
afbzerarc.c afbfillarc.c afbfillsp.c afbsetsp.c afbscrinit.c afbplygblt.c \
|
|
afbclip.c afbgetsp.c afbpolypnt.c afbbitblt.c afbcmap.c afbimggblt.c afbpntarea.c \
|
|
afbmisc.c afbtegblt.c $(libafb_gen_sources)
|
|
|
|
INCLUDES = -I$(top_srcdir)/mfb -I$(top_srcdir)/hw/xfree86/os-support
|
|
|
|
EXTRA_DIST = afbline.c afbblt.c afbtile.c README Xdaniver.doc
|
|
|
|
afbseg.c:
|
|
echo "#define POLYSEGMENT" > $@
|
|
echo "#include \"$(srcdir)/afbline.c\"" >> $@
|
|
|
|
afbbltC.c:
|
|
echo "#define MROP Mcopy" > $@
|
|
echo "#include \"$(srcdir)/afbblt.c\"" >> $@
|
|
|
|
afbbltX.c:
|
|
echo "#define MROP Mxor" > $@
|
|
echo "#include \"$(srcdir)/afbblt.c\"" >> $@
|
|
|
|
afbbltCI.c:
|
|
echo "#define MROP McopyInverted" > $@
|
|
echo "#include \"$(srcdir)/afbblt.c\"" >> $@
|
|
|
|
afbbltO.c:
|
|
echo "#define MROP Mor" > $@
|
|
echo "#include \"$(srcdir)/afbblt.c\"" >> $@
|
|
|
|
afbbltG.c:
|
|
echo "#define MROP 0" > $@
|
|
echo "#include \"$(srcdir)/afbblt.c\"" >> $@
|
|
|
|
afbtileC.c:
|
|
echo "#define MROP Mcopy" > $@
|
|
echo "#include \"$(srcdir)/afbtile.c\"" >> $@
|
|
|
|
afbtileG.c:
|
|
echo "#define MROP 0" > $@
|
|
echo "#include \"$(srcdir)/afbtile.c\"" >> $@
|
|
|
|
sdk_HEADERS = afb.h
|