summaryrefslogtreecommitdiff
path: root/test/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09test: verify that gradients do not crash pixmanAndrea Canciani1-0/+2
Test gradients under particular conditions (no stops, all the stops at the same offset) to check that pixman does not misbehave.
2010-05-13test: added OpenMP support for better utilization of multiple CPU coresSiarhei Siamashka1-0/+3
Some of the tests are quite heavy CPU users and may benefit from using multiple CPU cores, so the programs from 'test' directory are now built with OpenMP support. OpenMP is easy to use, portable and also takes care of making a decision about how many threads to spawn.
2010-04-22Remove alphamap from the GTK+ part of tests/Makefile.amSøren Sandmann Pedersen1-2/+1
It doesn't use GTK+ and it was already listed in the non-GTK+ part.
2010-02-24Add a1-trap-testSøren Sandmann Pedersen1-0/+2
When a trapezoid sample point is exactly on a polygon edge, the rule is that it is considered inside the trapezoid if the edge is a top or left edge, but outside for bottom and right edges. This program tests that for a1 trapezoids.
2010-02-19Test pixman_region32_init_from_image in region-testAlexander Larsson1-1/+3
2010-01-17test: Add new alphamap test program.Søren Sandmann Pedersen1-1/+6
This program demonstrates three bugs relating to alpha maps: - When fetching from an alpha map into 32 bit intermediates, we use the fetcher from the image, and not the one from the alpha map. - For 64 bit intermediates we call fetch_pixel_generic_lossy_32() which then calls fetch_pixel_raw_64, which is NULL because alpha images are never validated. - The alpha map should be used *in place* of any existing alpha channel, but we are actually multiplying it onto the image.
2009-12-16Reorder tests so that they fastest ones run first.Søren Sandmann Pedersen1-5/+5
2009-12-16Build tests and run non-GTK+ ones on `make check`Marvin Schmidt1-2/+4
Setting TESTS will run the tests on `make check` Bug 25131
2009-11-17test: In scaling-test use the crc32 from utils.cSøren Sandmann Pedersen1-1/+3
2009-11-17test: Move CRC32 code from blitters-test to new files utils.[ch]Søren Sandmann Pedersen1-1/+3
2009-11-17test: Rename utils.[ch] to gtk-utils.[ch]Søren Sandmann Pedersen1-8/+9
2009-09-13[test] Add composite test from rendercheckChris Wilson1-0/+2
Iterate over all destination formats for dst, src and composite and compare the result of all oprators with a selection of colours.
2009-08-08Test program for stressing the use of different formats and operatorsSiarhei Siamashka1-0/+2
The code and overall method is mostly based on scaling-test. This one focuses on trying to stress as many different color formats and types of composition operations as possible. This is an initial implementation which may need more tuning. Also not all color format and operator combinations are actually used. When cpu specific optimizations are disabled, this test provides identical deterministic results on x86, PPC and ARM. Script blitters-test-bisect.rb now works in non-stop mode, until it finds any problem. This allows to run it for example overnight in order to test a lot more variants of pixman calls and increase chances of detecting problems in pixman. Just like with scaling-test, running blitters-test binary alone with no command line arguments runs a small predefined number of tests and compares checksum with a reference value for quick verification.
2009-07-21Add test case for bug 22844.Søren Sandmann Pedersen1-0/+2
2009-07-09Fix a couple of problems with the tests when HAVE_GTK is not defined.Søren Sandmann Pedersen1-2/+2
- Make sure the non-gtk+ test programs are added to noinst_PROGRAMS when HAVE_GTK is not set. - Don't include glib.h in oob-test.c
2009-06-24Add test case for out-of-bounds memory access.Søren Sandmann Pedersen1-0/+2
2009-06-23Add convolution-test.c programSøren Sandmann Pedersen1-0/+4
2009-06-23Add screen-test.c test programSøren Sandmann Pedersen1-0/+4
2009-05-21Fix alpha map computation in pixman_compute_composite_region()Søren Sandmann Pedersen1-0/+4
According to the RENDER spec, the origin of the alpha map is interpreted relative to the origin of the drawable of the image, not the origin of the drawable of the alpha map. This commit fixes that and adds an alpha-test.c test program. The only use of alpha maps I have been able to find is in Qt and they don't use a non-zero alpha origin.
2009-05-13Add test that shows difference in clipping with transformed vs untransformedSøren Sandmann Pedersen1-0/+4
2009-05-04Mention utils.h in test/Makefile.am so that make dist will pick it upSøren Sandmann Pedersen1-4/+4
Pointed out by Julien Cristau.
2009-05-04Move all the GTK+ test code into its own file, utils.cSøren Sandmann Pedersen1-2/+9
2009-04-24Add trap-crasher.c test programSøren Sandmann Pedersen1-1/+3
Based off of Pavel Kankovsky's test case in bug 16560.
2009-04-04Add a new trap-test test program.Søren Sandmann Pedersen1-11/+25
Also some tweaks to the build system in the test directory to make it build non-gtk+-using application when use of gtk+ is disabled.
2009-03-31Image scaling regression test scriptSiarhei Siamashka1-0/+2
This test script can help in finding regressions in image scaling fastpath implementations. It uses test program compiled with and without fastpath code and can compare results of execution for different pseudorandom compositing operations involving scaling. Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
2008-09-06Fix bug in pixman_image_is_opaque()Søren Sandmann Pedersen1-1/+3
Non-repeating gradient images would be reported as opaque. Also add new test program to test source clipping.
2008-06-09Add infinite loop testSøren Sandmann1-0/+2
2008-03-28Fix test build when srcdir != builddir.Aaron Plattner1-1/+1
The tests were including pixman.h, but pixman.h couldn't find pixman-version.h because it was in $(top_builddir)/pixman rather than $(top_srcdir)/pixman.
2007-09-07New test for image fetching.José Fonseca1-2/+4
2007-08-06Change the library name to pixman-1Søren Sandmann Pedersen1-2/+2
Set the soname to something based on the library version.
2007-05-15Don't build GTK+ test programs if GTK+ is not availableSoren Sandmann Pedersen1-6/+5
2007-05-09Remove AM_MAINTAINER_MODE ; add new gradient-testSøren Sandmann1-3/+9
2007-05-08Add a simple test program; fix linking problemsSoren Sandmann Pedersen1-0/+8