Re: [Pixman] pixman on iOS

2015-04-23 Thread Ben Avison
On Fri, 24 Apr 2015 00:02:53 +0100, cu wrote: I'll bring up an old topic as the issue came up again. I have been using an old version of Pixman (0.24 I believe) with manual assembly optimizations that someone posted here. It's been a couple of years since it was posted. That version compiles on

Re: [Pixman] pixman on iOS

2015-04-23 Thread cu
I'll bring up an old topic as the issue came up again. I have been using an old version of Pixman (0.24 I believe) with manual assembly optimizations that someone posted here. It's been a couple of years since it was posted. That version compiles on armv7 and is fairly fast. As of June Apple requi

Re: [Pixman] [PATCH v3] test: Add a new benchmarker targeting affine operations

2015-04-23 Thread Ben Avison
On Thu, 23 Apr 2015 13:10:10 +0100, Pekka Paalanen wrote: Affine-bench differs from lowlevel-blt-bench in the following: - does not test different sized operations fitting to specific caches, destination is always 1920x1080 - allows defining the affine transformation parameters - carefully co

Re: [Pixman] [PATCH 5/5] test: Add a new benchmarker targeting affine operations

2015-04-23 Thread Ben Avison
On Thu, 23 Apr 2015 17:12:59 +0100, I wrote: I imagine most of the time, you'll have a source image of fixed size, and you'll either have a target destination size (in which case your task is to calculate the transform matrix coefficients) or you'll have a target scaling factor (in which case you

Re: [Pixman] [PATCH 5/5] test: Add a new benchmarker targeting affine operations

2015-04-23 Thread Ben Avison
On Thu, 23 Apr 2015 12:46:56 +0100, Pekka Paalanen wrote: On Wed, 15 Apr 2015 17:03:43 +0100 "Ben Avison" wrote: For nearest-neighbour scaling, the nth pixel of a source or mask image is considered to cover the space (n, n+1]. Yes, that's inclusive at the upper end and exclusive at the lowe

[Pixman] [PATCH v3] test: Add a new benchmarker targeting affine operations

2015-04-23 Thread Pekka Paalanen
From: Ben Avison Affine-bench is written by following the example of lowlevel-blt-bench. Affine-bench differs from lowlevel-blt-bench in the following: - does not test different sized operations fitting to specific caches, destination is always 1920x1080 - allows defining the affine transforma

Re: [Pixman] [PATCH 5/5] test: Add a new benchmarker targeting affine operations

2015-04-23 Thread Pekka Paalanen
On Wed, 15 Apr 2015 17:03:43 +0100 "Ben Avison" wrote: > On Wed, 15 Apr 2015 10:39:54 +0100, > Pekka Paalanen wrote: > > > On Tue, 14 Apr 2015 19:00:58 +0100 > > "Ben Avison" wrote: > > > >> Assume the reasonable case that you want to plot the whole of > >> an image of size x,y at a size m,n.