Søren Sandmann
4355cc5c57
Add pixman-trap with the trapezoid rasterization code from the X server.
...
Add two different trapezoid types that X makes use of.
2007-05-23 16:40:48 -04:00
Soren Sandmann Pedersen
35f99a530d
Make sure gradient-test.c builds when srcdir != buildir. Patch from
...
Julien Cristau <jcristau@debian.org>.
2007-05-23 16:09:49 -04:00
Søren Sandmann
d5e8a7b8bd
Fix bug in rasterizeEdges() where the stride was treated as if in
...
bytes, when it was in uint32_t's. Formatting fixes. Delete misleading
comment from pixman-private.h
2007-05-23 15:39:03 -04:00
Soren Sandmann Pedersen
ee37469d6a
Fix function name
2007-05-23 12:18:09 -04:00
Soren Sandmann Pedersen
727b77983b
Add more edge functions
2007-05-22 13:39:25 -04:00
Soren Sandmann Pedersen
4600c6823e
Add implementation of edge rasterization
2007-05-22 12:52:52 -04:00
Soren Sandmann Pedersen
1413bb7a5d
Add edge data types
2007-05-22 11:58:46 -04:00
Søren Sandmann
e32b240145
Detect endianness
2007-05-22 10:00:46 -04:00
Søren Sandmann
e5cf135170
Include string.h in pixman-pict.c
2007-05-22 09:54:19 -04:00
Søren Sandmann
097de78d13
Check for getisax() support
2007-05-22 09:51:54 -04:00
Søren Sandmann
37f90ba0b2
Check for MMX in the build system
2007-05-22 09:49:23 -04:00
Søren Sandmann
56623268a7
Update TODO
2007-05-22 00:04:39 -04:00
Søren Sandmann
ed184ebb7c
Make the mmx code compile
2007-05-22 00:03:31 -04:00
Søren Sandmann
2db377de61
Add pixman-mmx.[ch] and move macros around to make it compile.
...
Not yet hooked up.
2007-05-21 23:46:24 -04:00
Soren Sandmann Pedersen
ce506999e6
Use the general code if the images have read/write functions
2007-05-21 20:03:37 -04:00
Soren Sandmann Pedersen
a54096d554
Update TODO
2007-05-21 17:51:41 -04:00
Soren Sandmann Pedersen
ccef70a685
Fix bug in fbCompositeGetSolid() where a format was compared to a format type
2007-05-21 15:03:41 -04:00
Soren Sandmann Pedersen
154c4dd978
Make pixman_image_composite() take a region parameter; comment out non-implemented functions from the switch of doom
2007-05-21 14:27:40 -04:00
Søren Sandmann
4518de9fec
Add slightly changed copy of miComputeCompositeRegion() to pixman-pict.c
2007-05-21 10:00:05 -04:00
Søren Sandmann
4df446bb73
Move mod and div macros to pixman-private.h
2007-05-19 17:19:39 -04:00
Søren Sandmann
bcb4c8f021
Add fbComposeGetStart() macro
2007-05-19 17:13:02 -04:00
Søren Sandmann
e9e326eafe
Add fbComposeGetSolid() macro
2007-05-19 17:05:23 -04:00
Søren Sandmann
456ebbbb27
Add implementation of can_get_solid()
2007-05-19 16:44:40 -04:00
Søren Sandmann
eabc2f48f0
Various formatting/style tweaks
2007-05-19 16:40:10 -04:00
Søren Sandmann
bdb307ac4a
Add macro FUNC that expands to __PRETTY_FUNCTION__ or __func__
...
depending on the compiler.
2007-05-19 15:53:37 -04:00
Søren Sandmann
4c15a7838e
Include limits.h in pixman-compose.c; patch from Alan Coopersmith
2007-05-19 12:04:21 -04:00
Soren Sandmann Pedersen
595ca53c09
Add pixman-pict.c which is a version of fbpict.c. It compiles, but
...
isn't hooked up to anything.
2007-05-18 15:21:51 -04:00
Soren Sandmann Pedersen
e132898045
Make pixman_image_set_indexed() not copy its argument
2007-05-18 13:38:26 -04:00
Soren Sandmann Pedersen
e12ca669af
Free the indexed table when the image is freed
2007-05-18 12:04:16 -04:00
Soren Sandmann Pedersen
ff2e0e9636
Add new function pixman_image_set_indexed()
2007-05-18 11:54:01 -04:00
Soren Sandmann Pedersen
74b76ad9fe
Fix wrong type in composite-test.c
2007-05-17 10:19:29 -04:00
Soren Sandmann Pedersen
d25d77852d
Add a TODO file. Indent pixman-compose.c
2007-05-17 09:12:09 -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
0cfb66104c
Add an image argument to all the fetch functions
2007-05-16 11:07:54 -04:00
Soren Sandmann Pedersen
a49e425933
Move some macros from pixman-compose.c to pixman-private.h
2007-05-16 11:03:09 -04:00
Soren Sandmann Pedersen
24f8cfce32
Add API to have accessor functions on pixman
2007-05-16 10:56:08 -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
Soren Sandmann Pedersen
97a4ce541c
Fix typo in pixman.h
2007-05-15 12:15:46 -04:00
Soren Sandmann Pedersen
322659703d
Replace hack to get standard integer types with #if/#elif construction
2007-05-15 12:13:01 -04:00
Soren Sandmann Pedersen
ffbb4a6b1f
Don't build GTK+ test programs if GTK+ is not available
2007-05-15 11:08:24 -04:00
Søren Sandmann
b8d223d683
Export pixman_region_reset
2007-05-12 19:24:42 -04:00
Søren Sandmann
38c4ac5a1d
Export a pixman_region_selfcheck
2007-05-12 17:58:50 -04:00
Søren Sandmann
f226c2b4f2
Export pixman_region_equal()
2007-05-12 17:55:48 -04:00
Søren Sandmann
ecf9d36f6a
Add new pixman_region_set_static_pointers
2007-05-12 17:32:43 -04:00
Soren Sandmann Pedersen
ffab431291
Make the region data struct public
2007-05-10 22:15:57 -04:00
Soren Sandmann Pedersen
e126ef0911
Make the pixman_transform_point_3d() function public
2007-05-10 16:14:40 -04:00
Soren Sandmann Pedersen
f267e4dce7
Change the names of a few functions to prevent them from clashing with the X names
2007-05-10 16:08:12 -04:00
Søren Sandmann
c976db9658
Use a radial gradient in the gradien-test
2007-05-10 10:13:54 -04:00
Søren Sandmann
7ad923eb6f
Make sure 64 bit fixed point types are signed
2007-05-10 09:30:17 -04:00