summaryrefslogtreecommitdiff
path: root/test/clear-source.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a new compositor architectureChris Wilson2011-09-121-1/+1
| | | | | | | | | | | | | | | | | | Having spent the last dev cycle looking at how we could specialize the compositors for various backends, we once again look for the commonalities in order to reduce the duplication. In part this is motivated by the idea that spans is a good interface for both the existent GL backend and pixman, and so they deserve a dedicated compositor. xcb/xlib target an identical rendering system and so they should be using the same compositor, and it should be possible to run that same compositor locally against pixman to generate reference tests. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> P.S. This brings massive upheaval (read breakage) I've tried delaying in order to fix as many things as possible but now this one patch does far, far, far too much. Apologies in advance for breaking your favourite backend, but trust me in that the end result will be much better. :)
* test: Cleanup macrosAndrea Canciani2011-03-171-1/+0
| | | | | | | | The ARRAY_LENGTH macro is used by many tests, although sometimes it is named ARRAY_SIZE. Define it just once in cairo-test.h and reuse it. In a similar way, MAX() and MIN() are currently defined in some specific tests, while they could be reused.
* Update my copyright notices to preferred versionBenjamin Otte2010-06-081-17/+18
| | | | No more copyright headers containing my name.
* test/clear-source: Free source after use.Chris Wilson2010-03-231-16/+22
|
* [test] Add new test checking is_clear is handled properlyBenjamin Otte2010-01-221-0/+163
This test does various operations with a clear source surface with various content types. The idea is to make sure optimizations done when surface->is_clear == TRUE only happen in the proper cases.