Commit Graph

19 Commits

Author SHA1 Message Date
Søren Sandmann Pedersen
4df925bb28 Change composite test to use a rainbow gradient as source.
Also make the destination a yellow patch. This makes the output a bit
more comparable to the image in the PDF specification.
2009-07-16 09:45:32 -04:00
Søren Sandmann Pedersen
79d397003f Delete leftover use of PIXMAN_OP_FLASH_SUBTRACT 2009-06-23 16:23:26 -04:00
Søren Sandmann Pedersen
16873f6d1b Make the composite test window bigger by default.
Also rearrange the squares to better match typical aspect ratios.
2009-06-23 14:42:37 -04:00
Carlos Garcia Campos
cdae71ee85 [TEST] Update composite-test to test more operators 2009-06-23 14:42:36 -04:00
Søren Sandmann Pedersen
8b2e08d494 Get rid of separate combineU and combineC types 2009-05-04 18:55:06 -04:00
Søren Sandmann Pedersen
e047f605e2 Move all the GTK+ test code into its own file, utils.c 2009-05-04 18:34:54 -04:00
Søren Sandmann Pedersen
47dabe1d02 Fix pixbuf_from_argb32() to take premultiplied alpha into account 2009-04-04 06:04:42 -04:00
Søren Sandmann
028993aacb Set accessors for the destination image in composite-test.c 2007-08-24 16:49:29 -04:00
Søren Sandmann
d466cf1d2f Add various accessors; remove composite_rect 2007-06-12 14:24:40 -04:00
Soren Sandmann Pedersen
74b76ad9fe Fix wrong type in composite-test.c 2007-05-17 10:19:29 -04:00
Søren Sandmann
db3c13c8fe Add macro magic in pixman-private.h to allow reading and writing to
happen through functions. Use them in pixman-compose.c; also delete
unnecessary READ and WRITE macros that always operate on host memory.
Add accessor functions to composite-test.c
2007-05-16 19:35:55 -04:00
Soren Sandmann Pedersen
57d6894ab0 Add an image argument to all the store functions
Some tweaks to composite-test.c
2007-05-16 11:13:11 -04:00
Soren Sandmann Pedersen
195100527f Various formatting fixes
Rename pixman_image_composite() to pixman_image_composite_rect()
2007-05-15 16:40:40 -04:00
Søren Sandmann
0ebb7e31db Remove AM_MAINTAINER_MODE ; add new gradient-test 2007-05-09 18:10:30 -04:00
Soren Sandmann Pedersen
dd670c29bf Fix various stupid mistakes, such as inverted return_if_fail() tests
and only allocating space for a pointer instead of an image.
2007-05-09 14:20:57 -04:00
Soren Sandmann Pedersen
8bdb8b1d93 Export pixman_gradient_stop; get rid of *error argument from init functions.
Add return_if_fail macros to pixman-private.h
2007-05-09 09:47:33 -04:00
Soren Sandmann Pedersen
4ea0d78209 Change to use malloced image instead of stack allocated 2007-05-09 08:20:43 -04:00
Soren Sandmann Pedersen
e36c6a5eb4 Make the test program test something useful.
Also add a check that the public image struct is big enough to contain the
private union.
2007-05-08 13:19:51 -04:00
Soren Sandmann Pedersen
4bd9ebc83d Add a simple test program; fix linking problems 2007-05-08 10:48:27 -04:00