Re: [Pixman] [PATCH 7/7] Add bswap() macros and use them

2010-04-24 Thread Jeff Muizelaar
On 24-Apr-10, at 4:48 PM, Søren Sandmann wrote: diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h index d5767af..c4f5064 100644 --- a/pixman/pixman-private.h +++ b/pixman/pixman-private.h @@ -686,6 +686,24 @@ pixman_region16_copy_from_region32 (pixman_region16_t *dst, +/* Byte s

Re: [Pixman] [cairo] pixman 0.18 MinGW SSE2 error

2010-04-24 Thread Soeren Sandmann
Soeren Sandmann writes: > Sven Goericke writes: > > > Ok, i tried with optimization disabled, still no luck. You'll find > > logs from configure, make and gdb attached to this mail. > > > > I also tried to remove the block from "configure.ac" After running > > autoreconf i need to modify the c

[Pixman] [PATCH 7/7] Add bswap() macros and use them

2010-04-24 Thread Søren Sandmann
From: Benjamin Otte Code taken from Cairo. --- configure.ac|1 + pixman/pixman-access.c | 35 +-- pixman/pixman-private.h | 18 ++ 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/configure.ac b/configure.ac ind

[Pixman] [PATCH 6/7] Add support for 8bpp to pixman_fill_sse2()

2010-04-24 Thread Søren Sandmann
From: Søren Sandmann Pedersen --- pixman/pixman-sse2.c | 39 ++- 1 files changed, 34 insertions(+), 5 deletions(-) diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c index 3f474d7..d5349d7 100644 --- a/pixman/pixman-sse2.c +++ b/pixman/pixman-sse2.c @

[Pixman] [PATCH 5/7] sse2: Add sse2_composite_over_reverse_n_8888

2010-04-24 Thread Søren Sandmann
From: Søren Sandmann Pedersen This is a small speed-up for the poppler benchmark: Before: [ # ] backend test min(s) median(s) stddev. count [ 0]image poppler4.4434.474 0.31%6/6 After: [ # ] backend test

[Pixman] [PATCH 4/7] Don't consider indexed formats opaque.

2010-04-24 Thread Søren Sandmann
From: Søren Sandmann Pedersen The indexed formats have 0 bits of alpha, but can't be considered opaque because there may be non-opaque colors in the palette. --- pixman/pixman-image.c |6 -- test/blitters-test.c |2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/p

[Pixman] [PATCH 3/7] Add an over_8888_8888_8888 sse2 fast path.

2010-04-24 Thread Søren Sandmann
From: Søren Sandmann Pedersen --- pixman/pixman-sse2.c | 168 ++ 1 files changed, 168 insertions(+), 0 deletions(-) diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c index 946e7ba..09da14d 100644 --- a/pixman/pixman-sse2.c +++ b/pixman/pix

[Pixman] [PATCH 2/7] Add pixman_region{,32}_intersect_rect()

2010-04-24 Thread Søren Sandmann
From: Søren Sandmann Pedersen --- pixman/pixman-region.c | 18 ++ pixman/pixman.h| 13 - 2 files changed, 30 insertions(+), 1 deletions(-) diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c index a6a4005..3ea88a0 100644 --- a/pixman/pixman-regio

[Pixman] [PATCH 1/7] Rename fast_composite_src_8888_x888 to fast_composite_src_memcpy()

2010-04-24 Thread Søren Sandmann
From: Søren Sandmann Pedersen Then generalize it and use it for SRC copying between various identical formats. --- pixman/pixman-fast-path.c | 60 1 files changed, 38 insertions(+), 22 deletions(-) diff --git a/pixman/pixman-fast-path.c b/pixman/pi

[Pixman] Misc patches

2010-04-24 Thread Søren Sandmann
This is a series of asssorted patches that I've had lying around for a while. Here's what's in it: - Use memcpy() for SRC compositing in various cases. There was already a memcpy() based fast path, but it was only used for SRC__x888. There is no reason not to used for all copying betwee