mirror of
https://salsa.debian.org/xorg-team/lib/pixman
synced 2025-09-06 12:25:16 +00:00

There used to be a bug in the X server where it would rely on out-of-bounds accesses when it was asked to composite with a window as the source. It would create a pixman image pointing to some bogus position in memory, but then set a clip region to the position where the actual bits were. Due to a bug in old versions of pixman, where it would not clip against the image bounds when a clip region was set, this would actually work. So when the pixman bug was fixed, a workaround was added to allow certain out-of-bound accesses. However, the 1.6 X server is so old now that we can remove this workaround. This does mean that if you update pixman to 0.22 or later, you will need to use a 1.7 X server or later.
108 lines
2.4 KiB
Makefile
108 lines
2.4 KiB
Makefile
AM_CFLAGS = @OPENMP_CFLAGS@
|
|
AM_LDFLAGS = @OPENMP_CFLAGS@
|
|
|
|
TEST_LDADD = $(top_builddir)/pixman/libpixman-1.la
|
|
INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman
|
|
|
|
TESTPROGRAMS = \
|
|
a1-trap-test \
|
|
region-test \
|
|
region-translate-test \
|
|
fetch-test \
|
|
oob-test \
|
|
gradient-crash-test \
|
|
trap-crasher \
|
|
alpha-loop \
|
|
scaling-crash-test \
|
|
alphamap \
|
|
blitters-test \
|
|
scaling-test \
|
|
affine-test \
|
|
composite
|
|
|
|
a1_trap_test_LDADD = $(TEST_LDADD)
|
|
fetch_test_LDADD = $(TEST_LDADD)
|
|
gradient_crash_test_LDADD = $(TEST_LDADD)
|
|
trap_crasher_LDADD = $(TEST_LDADD)
|
|
oob_test_LDADD = $(TEST_LDADD)
|
|
scaling_crash_test_LDADD = $(TEST_LDADD)
|
|
region_translate_test_LDADD = $(TEST_LDADD)
|
|
|
|
region_test_LDADD = $(TEST_LDADD)
|
|
region_test_SOURCES = region-test.c utils.c utils.h
|
|
|
|
blitters_test_LDADD = $(TEST_LDADD)
|
|
blitters_test_SOURCES = blitters-test.c utils.c utils.h
|
|
|
|
scaling_test_LDADD = $(TEST_LDADD)
|
|
scaling_test_SOURCES = scaling-test.c utils.c utils.h
|
|
|
|
affine_test_LDADD = $(TEST_LDADD)
|
|
affine_test_SOURCES = affine-test.c utils.c utils.h
|
|
|
|
alphamap_LDADD = $(TEST_LDADD)
|
|
alphamap_SOURCES = alphamap.c utils.c utils.h
|
|
|
|
alpha_loop_LDADD = $(TEST_LDADD)
|
|
alpha_loop_SOURCES = alpha-loop.c utils.c utils.h
|
|
|
|
composite_LDADD = $(TEST_LDADD)
|
|
composite_SOURCES = composite.c utils.c utils.h
|
|
|
|
# GTK using test programs
|
|
|
|
if HAVE_GTK
|
|
|
|
GTK_LDADD = $(TEST_LDADD) $(GTK_LIBS)
|
|
GTK_UTILS = gtk-utils.c gtk-utils.h
|
|
|
|
TESTPROGRAMS_GTK = \
|
|
clip-test \
|
|
clip-in \
|
|
composite-test \
|
|
gradient-test \
|
|
alpha-test \
|
|
screen-test \
|
|
convolution-test \
|
|
trap-test
|
|
|
|
INCLUDES += $(GTK_CFLAGS)
|
|
|
|
gradient_test_LDADD = $(GTK_LDADD)
|
|
gradient_test_SOURCES = gradient-test.c $(GTK_UTILS)
|
|
|
|
alpha_test_LDADD = $(GTK_LDADD)
|
|
alpha_test_SOURCES = alpha-test.c $(GTK_UTILS)
|
|
|
|
composite_test_LDADD = $(GTK_LDADD)
|
|
composite_test_SOURCES = composite-test.c $(GTK_UTILS)
|
|
|
|
clip_test_LDADD = $(GTK_LDADD)
|
|
clip_test_SOURCES = clip-test.c $(GTK_UTILS)
|
|
|
|
clip_in_LDADD = $(GTK_LDADD)
|
|
clip_in_SOURCES = clip-in.c $(GTK_UTILS)
|
|
|
|
trap_test_LDADD = $(GTK_LDADD)
|
|
trap_test_SOURCES = trap-test.c $(GTK_UTILS)
|
|
|
|
screen_test_LDADD = $(GTK_LDADD)
|
|
screen_test_SOURCES = screen-test.c $(GTK_UTILS)
|
|
|
|
convolution_test_LDADD = $(GTK_LDADD)
|
|
convolution_test_SOURCES = convolution-test.c $(GTK_UTILS)
|
|
|
|
endif
|
|
|
|
# Benchmarks
|
|
|
|
BENCHMARKS = \
|
|
lowlevel-blt-bench
|
|
|
|
lowlevel_blt_bench_SOURCES = lowlevel-blt-bench.c utils.c utils.h
|
|
lowlevel_blt_bench_LDADD = $(TEST_LDADD)
|
|
|
|
noinst_PROGRAMS = $(TESTPROGRAMS) $(TESTPROGRAMS_GTK) $(BENCHMARKS)
|
|
|
|
TESTS = $(TESTPROGRAMS)
|