Commit Graph

2394 Commits

Author SHA1 Message Date
Søren Sandmann Pedersen
19d6669aac Pre-release version bump 2009-05-22 12:07:55 -04:00
Jonathan Morton
67addb4b38 Initialize the ARM SIMD fast path array. 2009-05-22 12:01:26 -04:00
Jonathan Morton
2f17323597 Fix compile error caused by e42fae9e83 2009-05-22 08:25:26 -07:00
Søren Sandmann Pedersen
85b390cadf Fix alpha map computation in pixman_compute_composite_region()
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-21 18:25:57 -04:00
Jonathan Morton
cb4085bdb5 Avoid malloc() by allocating a fixed set of boxes on the stack 2009-05-21 07:16:34 -04:00
Søren Sandmann Pedersen
5424d0245b Fix build on ppc. Pointed out by Chris Ball 2009-05-21 05:07:19 -04:00
Søren Sandmann Pedersen
14cd45dc4a Make SSE2 fast paths static and remove them from the header file 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
0f1a212bf2 Make MMX fast paths static and remove them from the header file 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
87f18154c1 Notes on component alpha 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
ac2299693f Note about glyphs polygons 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
c093ee8a41 Notes on output kernels 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
90ae09f2e4 Further notes on the rendering pipeline 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
fa274ffc61 Some roadmap notes 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
ba1dcec76a Describe alpha map in the pipeline 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
3fdefd683b Notes on the rendering pipeline 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
e07a4c6e8c Move C fast paths to their own file pixman-fast-path.c 2009-05-16 15:14:36 -04:00
Søren Sandmann Pedersen
e42fae9e83 Move the arch specific fast path tables into their arch files 2009-05-16 15:13:35 -04:00
Søren Sandmann Pedersen
93900a591c Move CPU detection code to its own file 2009-05-16 15:13:35 -04:00
Søren Sandmann Pedersen
e6e6f63502 Move conical gradient code to pixman-conical-gradient.c and delete pixman-source.c 2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
47abb3c765 Move the radial gradient code form pixman-source.c into pixman-radial-gradient.c 2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
a10b0e7e13 Duplicate some code that was shared between radial and conical gradients.
It is going to live in separate files.
2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
9a867fa231 Move the linear gradient code from pixman-source.c into pixman-linear-gradient.c 2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
ade664ced3 Rename pixmanFetchSourcePict to pixmanFetchGradient
Move the solid fill parts into pixman-solid-fill.c
2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
8267d8d38f Add a generic 64 bit fetcher and use it for gradients and transformed images 2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
ecaaef2f50 Move the gradient walker code to its own file 2009-05-16 15:12:36 -04:00
Søren Sandmann Pedersen
51d972ecd8 Replace pixman_image_get_fetchers() with pixman_image_get_scanline_{32,64} 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
b7f113200e Set up scanline getters for bits images 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
b496d566dc Set up scanline getters for source pictures 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
c62f2a14f4 Store get_scanline() functions in the image struct 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
0b497b33fe Add stubs for property_changed virtual functions 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
7bb615f6ba Split pixel images into pixman-bits-image.c 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
53bae97c7e Split conical gradient images into pixman-conical-gradient.c 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
c43c362893 Split radial gradient images into pixman-radial-gradient.c 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
76418e388e Split linear gradient images into pixman-linear-gradient.c 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
58de62bfad Split solid fill images into pixman-solid-fill.c 2009-05-16 15:12:35 -04:00
Søren Sandmann Pedersen
aa234489b0 Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman 2009-05-16 12:51:05 -04:00
Søren Sandmann Pedersen
010e28653f Don't read potentially uninitialized data in pixman_CombineMaskU()
This is mainly to quiet valgrind. The data in question would only be
uninitialized when the corresponding mask pixel was zero, so the end
result is zero in any case.
2009-05-16 11:50:44 -04:00
Loïc Minier
822cd47562 Fix fd check after auxv file open() [Bug 21749]
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-05-15 16:19:36 +02:00
Søren Sandmann Pedersen
58e08374e1 Don't call hyphenated git commands as they don't exist anymore 2009-05-15 07:47:59 -04:00
Søren Sandmann Pedersen
b365547e7d Post-release version bump 2009-05-15 07:47:22 -04:00
Søren Sandmann Pedersen
564ecfe8e9 Pre-release version bump 2009-05-15 06:57:59 -04:00
Adam Jackson
e483af47db Fix overflows during trap rasterization. [Bug 16560].
Avoid overflows when rasterizing traps that fall entirely in the space
between the final sample row and the end of the coordinate system, or
in the space between the beginning of the coordinate system and the
first sample row. Such traps don't contain any sample points, so the
top and bottom of the edges can safely be moved to the beginning/end.
2009-05-15 06:33:00 -04:00
Søren Sandmann Pedersen
7a9bfa1461 Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/pixman 2009-05-13 13:10:01 -04:00
Søren Sandmann Pedersen
81b94d7258 Add test that shows difference in clipping with transformed vs untransformed 2009-05-13 13:09:45 -04:00
Søren Sandmann Pedersen
e17fc72e95 Remove unused CombineMask64 type 2009-05-13 06:17:55 -04:00
Søren Sandmann Pedersen
a1bc6bf159 Merge branch 'master' into refactor 2009-05-13 05:58:36 -04:00
Søren Sandmann Pedersen
e74a2847dd Fix divide-by-zero crash 2009-05-09 08:34:12 -04:00
Jonathan Morton
a95c39c7d5 Test USE_GCC_INLINE_ASM instead of USE_NEON_INLINE_ASM.
The former is now Autoconf enabled, and does what it says on the tin.
2009-05-07 11:03:45 -04:00
Siarhei Siamashka
62af131a5a Fixed rendering bug for source alpha == 0 in OVER fastpath functions
Handling of the case when source alpha is zero was keeping destination
pixel unmodified. But this is different from how generic path behaves.
For example fbOver(0x00200483, 0x9CAC7E9F) == 0x9CCC82FF and the
destination pixel changes from 0x9CAC7E9F to 0x9CCC82FF in spite
of having zero alpha.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
2009-05-06 21:15:40 -04:00
Jeff Muizelaar
a589afa3a7 Enable NEON assembly when we can build it
This adds detection for ARM NEON build support as well as gnu assembler
syntax detection from Jonathan Morton.
2009-05-06 13:30:29 -04:00