Commit Graph

2394 Commits

Author SHA1 Message Date
Søren Sandmann Pedersen
bd1cc87da3 Get rid of toplevel argument to implementation constructors.
It was always NULL anyway.
2009-06-02 16:51:28 -04:00
Søren Sandmann Pedersen
8d523bd9f3 Make sure the whole delegate chain has the correct toplevel 2009-06-02 07:47:29 -04:00
Søren Sandmann Pedersen
812a993843 Post-release version bump 2009-05-30 22:23:27 -04:00
Søren Sandmann Pedersen
3bad5eefd0 Pre-release version bump.
Also delete non-existant header files from pixman/Makefile.am
2009-05-30 22:09:11 -04:00
Søren Sandmann Pedersen
e3dba0f61a Create a vmx pixman_implementation_t 2009-05-30 21:54:28 -04:00
Luca Barbato
0c92309a8a Update vmxCombine*U to the new interface
Make the functions use different codepaths depending on mask being non
NULL. It could be speed up a bit more but should work as before
speedwise. Conformance checked with cairo tests.
2009-05-30 20:15:58 -04:00
Siarhei Siamashka
21034db1da Scaling test updated to provide better coverage for problematic cases
Now scaling test should reliably detect problems in new scaling code.
Maximum image size reduced to improve performance (more tests can be
run per second) and also simplify detected errors analysis.
2009-05-29 22:23:22 -04:00
Søren Sandmann Pedersen
53ce883825 In pixman-sse2.c test for non-zero source, not just non-zero source alpha. 2009-05-29 22:21:37 -04:00
Søren Sandmann Pedersen
da9f3266fd In the mmx implementation, check for source == 0 rather than alpha == 0.
Otherwise we compute the incorrect value when the source has zero in
the alpha channel, but non-zero in the color channels.
2009-05-29 21:20:20 -04:00
Jonathan Morton
f889ad9f36 Fixup the arm-simd and arm-neon implementations. 2009-05-29 13:38:45 -07:00
Magnus Kessler
d6dfafd958 pixman: define pixman_have_{mmx,sse2} on 64-bit Linux
The refactoring of pixman removed pixman-sse2.h and pixman-mmx.h in commit
41a9a17e03
(http://cgit.freedesktop.org/pixman/commit/?id=41a9a17e0308f2075bb1bd59c4411e43a67d49ec).
On 64-bit Linux this breaks linking of new programs as well as execution of
existing programs with the following errors:

../pixman/.libs/libpixman-1.so: undefined reference to `pixman_have_mmx'
../pixman/.libs/libpixman-1.so: undefined reference to `pixman_have_sse2'

This patch fixes the issue for me by re-introducing the definitions for these
functions. It might be preferable, though, to create proper trivial static
inline functions instead.

Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
2009-05-28 12:08:15 -04:00
Søren Sandmann Pedersen
3d93070db8 Really fix PPC build.
Add a pixman_composeFunctions variable to pixman-vmx.c.
2009-05-27 21:58:52 -04:00
Søren Sandmann Pedersen
3f5c2936c6 Add back pixman_composeFunctions since vmx is not ported to implementations yet 2009-05-27 21:15:18 -04:00
Søren Sandmann Pedersen
6f93d36915 In _pixman_implementation_fill() don't call the delegate; call the actual implementation 2009-05-23 12:12:42 -04:00
Søren Sandmann Pedersen
a5a249613b Call the toplevel implementation for combining 2009-05-23 12:12:42 -04:00
Søren Sandmann Pedersen
e5c367120a Set up combiner functions for an implementation directly in combine.inc.
Previously it would go through two big tables, and the general
implementation would select the correct one dynmcailly.
2009-05-23 12:12:42 -04:00
Søren Sandmann Pedersen
fb272d1464 Consolidate the general implementation into one function 2009-05-23 12:12:27 -04:00
Søren Sandmann Pedersen
6a22abd899 Move the argument struct into pixman_image_composite_rect 2009-05-23 12:05:02 -04:00
Søren Sandmann Pedersen
4983f6b26c Make a couple of functions static 2009-05-23 12:05:02 -04:00
Søren Sandmann Pedersen
41a9a17e03 Delete pixman-sse2.h and pixman-mmx.h 2009-05-23 12:05:02 -04:00
Søren Sandmann Pedersen
5dc9671b25 Make the fast_path implementation run the c_fast_paths 2009-05-23 12:05:02 -04:00
Søren Sandmann Pedersen
364e218ad6 Split fill implementations out in the implementations 2009-05-23 12:05:02 -04:00
Søren Sandmann Pedersen
24e73d69ee Add alignment workaround to sse2 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
1369b0b9d4 Add a general_blt() that just returns FALSE 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
9955b15169 Move sse2 and mmx blt implementations to their respective files 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
46f0707481 Move gcc alignment workaround to pixman-sse2.c 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
53150f4fca Set up SSE2 combiners 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
63c1ab0313 Make pixman_implementation call the right combiner 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
c8a2c336a7 Use the implementation's combiner's 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
cb236a85df Move SSE2 variable initializations to pixman_implementations_create_sse2 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
03fa1bcb9a Move mmx fast path code to pixman-mmx.c 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
6e13149f99 Move sse2 fast path running to the sse2 implementation 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
cb8608bba4 Change pixman_lookup_fast_path() to actually run the fast path
Then just return in the general implementation if we ran a fast path.
2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
bee5549f6b Add _pixman_choose_implementation 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
713fb29576 Remove fast path lookup code from pixman-general 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
f5837da6e2 Beginning of sse2 implementation 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
9a25f0fb67 Copy fast path lookup code into pixman-utils.c 2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
248ef3ec24 Initial fast path implementation
Move fbSrcScaleNearest() here, and move
_pixman_walk_composite_region() to pixman-utils.c
2009-05-23 12:05:01 -04:00
Søren Sandmann Pedersen
2c64b2a648 Change prototypes for compositing functions to use 32 bit integers 2009-05-23 12:05:00 -04:00
Søren Sandmann Pedersen
d6345a69fb Add component alpha combiners in pixman-implementation.c 2009-05-23 12:05:00 -04:00
Søren Sandmann Pedersen
918f763a91 Beginning of MMX implementation 2009-05-23 12:05:00 -04:00
Søren Sandmann Pedersen
4b8f440d49 Move entire C implementation into pixman-general.c 2009-05-23 12:04:51 -04:00
Søren Sandmann Pedersen
12726de921 Add beginning of general implementation 2009-05-23 11:51:28 -04:00
Søren Sandmann Pedersen
d2faa63aee Formatting 2009-05-23 11:51:28 -04:00
Søren Sandmann Pedersen
a17e27c2b4 Beginning of pluggable implementations 2009-05-23 11:51:28 -04:00
Søren Sandmann Pedersen
25509f4b0b Move fbStoreExternalAlpha{,64} into pixman-bits-image.c 2009-05-23 11:41:34 -04:00
Søren Sandmann Pedersen
d74ad7c0fe Add new store_scanline_{32,64} in bits_image_t
Also move fbStore and fbStore64 into pixman-bits-image.c
2009-05-23 11:40:22 -04:00
Søren Sandmann Pedersen
74f837b1a2 Post-release version bump 2009-05-23 11:33:21 -04:00
Jeff Muizelaar
a282b640be NEON: Remove some unneeded casts
There are some unnecessary (void*) casts. Eliminate some of them. Doesn't
change the generated code.
2009-05-22 12:13:57 -07:00
Jeff Muizelaar
ff866e70e3 Fix uses of dst_keep 2009-05-22 11:56:44 -07:00