Re: [Pixman] Pixman on iOS

2011-03-07 Thread Andrea Canciani
On Mon, Mar 7, 2011 at 8:09 PM, cu wrote: >> >>> I'm actually more worried that if this build for iPhone ends up being >>> a one shot experiment without any maintainer to keep it alive, then it >>> is going to bitrot soon. IMHO adding support for more marginal >>> platforms (in cairo/pixman contex

Re: [Pixman] Pixman on iOS

2011-03-07 Thread cu
> >> I'm actually more worried that if this build for iPhone ends up being >> a one shot experiment without any maintainer to keep it alive, then it >> is going to bitrot soon. IMHO adding support for more marginal >> platforms (in cairo/pixman context) is not something that is clearly >> beneficia

[Pixman] [PATCH 2/2] test: Do endian swapping of the source and destination images.

2011-03-07 Thread Søren Sandmann
From: Søren Sandmann Pedersen Otherwise the test fails on big endian. Fix for bug 34767, reported by Siarhei Siamashka. --- test/composite-traps-test.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/composite-traps-test.c b/test/composite-traps-test.c index 2985

[Pixman] [PATCH 1/2] test: In image_endian_swap() use pixman_image_get_format() to get the bpp.

2011-03-07 Thread Søren Sandmann
From: Søren Sandmann Pedersen There is no reason to pass in the bpp as an argument; it can be gotten directly from the image. --- test/affine-test.c |6 +++--- test/blitters-test.c|4 ++-- test/composite-traps-test.c |2 +- test/scaling-test.c |6 +++---

Re: [Pixman] Pixman on iOS

2011-03-07 Thread Luca Barbato
On 03/07/2011 03:19 PM, Siarhei Siamashka wrote: >> https://github.com/yuvi/gas-preprocessor > > Thanks for the link, it's clearly interesting. Unfortunately this > script seems to be choking on 'pixman-arm-neon-asm.S', so it might > need to be improved a bit. I see =| > I'm actually more worrie

Re: [Pixman] Pixman on iOS

2011-03-07 Thread Siarhei Siamashka
On Mon, Mar 7, 2011 at 4:19 PM, Siarhei Siamashka wrote: > my old script is still available here: > http://cgit.freedesktop.org/~siamashka/pixman/commit/?h=objdump2s&id=7eab8ae70780974bddff4b623549647f536011ca And now also attached just in case for the archival purposes. -- Best regards, Siarhe

Re: [Pixman] Pixman on iOS

2011-03-07 Thread Siarhei Siamashka
On Sun, Mar 6, 2011 at 2:55 PM, Luca Barbato wrote: > On 03/06/2011 11:27 AM, Siarhei Siamashka wrote: >> On Sun, Mar 6, 2011 at 5:28 AM, cu wrote: >>> I am starting to look (very carefully) into building pixman and, one day >>> may be, cairo on iphone/ipad/iOS. >>> >>> So far I've got to the poi

[Pixman] [PATCH 3/3] ARM: assembly optimized nearest scaled 'src_8888_8888'

2011-03-07 Thread Siarhei Siamashka
From: Siarhei Siamashka Benchmark on ARM Cortex-A8 r1p3 @500MHz, 32-bit LPDDR @166MHz: Microbenchmark (scaling 2000x2000 image with scale factor close to 1x): before: op=1, src=2002, dst=2002, speed=44.36 MPix/s after: op=1, src=2002, dst=2002, speed=39.79 MPix/s Benchmark

[Pixman] [PATCH 2/3] ARM: common macro for nearest scaling fast paths

2011-03-07 Thread Siarhei Siamashka
From: Siarhei Siamashka The code of nearest scaled 'src_0565_0565' function was generalized and moved to a common macro, so that it can be reused for other fast paths. --- pixman/pixman-arm-simd-asm.S | 60 + 1 files changed, 36 insertions(+), 24 deletio

[Pixman] [PATCH 1/3] ARM: use prefetch in nearest scaled 'src_0565_0565'

2011-03-07 Thread Siarhei Siamashka
From: Siarhei Siamashka Benchmark on ARM Cortex-A8 r1p3 @500MHz, 32-bit LPDDR @166MHz: Microbenchmark (scaling 2000x2000 image with scale factor close to 1x): before: op=1, src=10020565, dst=10020565, speed=75.02 MPix/s after: op=1, src=10020565, dst=10020565, speed=73.63 MPix/s Benchmark

[Pixman] [PATCH 0/3] Enable software prefetch for nearest scaling on ARM

2011-03-07 Thread Siarhei Siamashka
-nearest-prefetch-20110307 Siarhei Siamashka (3): ARM: use prefetch in nearest scaled 'src_0565_0565' ARM: common macro for nearest scaling fast paths ARM: assembly optimized nearest scaled 'src__' pixman/pixman-arm-simd-asm.S | 66 ++