Re: [Pixman] [cairo] Floating point API in Pixman

2010-08-16 Thread Soeren Sandmann
Krzysztof Kosiński writes: > So what is the bottom line? Should we have two versions of all code, > one using float and one using pixman_fixed_t, or is replacing > pixman_fixed_t with float sufficient? As far as I am concerned, using floating point is fine. I have not heard otherwise from anybod

Re: [Pixman] [cairo] Supersampling - 2nd attempt

2010-08-16 Thread Bill Spitzak
Krzysztof Kosiński wrote: 2010/8/16 Bill Spitzak : The problem I am having is that this does not match how filtering of transforms is done in any image processing software I am familiar with. This is how all software I am familiar with works, this replaces the three steps you show above:

Re: [Pixman] [cairo] Supersampling - 2nd attempt

2010-08-16 Thread Krzysztof Kosiński
2010/8/16 Bill Spitzak : > The problem I am having is that this does not match how filtering of > transforms is done in any image processing software I am familiar with. > > This is how all software I am familiar with works, this replaces the three > steps you show above: > >        - Figure out th

Re: [Pixman] [ssse3]Optimization for fetch_scanline_x8r8g8b8

2010-08-16 Thread Siarhei Siamashka
On Monday 16 August 2010 11:24:44 Xu, Samuel wrote: > Thanks for kindly comments! It is very nice that bug#20709 also emphasize > similar performance issue. Well, having bugs unresolved for such a long time is not so nice. Also see some more comments below. > So, let's discuss how to make

Re: [Pixman] [cairo] Supersampling - 2nd attempt

2010-08-16 Thread Bill Spitzak
Soeren Sandmann wrote: - interpolate to define the image on a continuous domain - transform - resample The problem I am having is that this does not match how filtering of transforms is done in any image processing software I am familiar with. This is how all softw

Re: [Pixman] [cairo] Floating point API in Pixman

2010-08-16 Thread Krzysztof Kosiński
So what is the bottom line? Should we have two versions of all code, one using float and one using pixman_fixed_t, or is replacing pixman_fixed_t with float sufficient? How much slower is softfloat - a factor of 5, 15 or 500? Another thing we have to take into account is that new versions of Cair

Re: [Pixman] [cairo] Floating point API in Pixman

2010-08-16 Thread Jonathan Morton
On Thu, 2010-08-12 at 17:12 +0200, Jean-Claude Repetto wrote: > Only high-end ARM processors of the most recent family (ARM-11) have a > FPU. Even that is not an accurate statement: FPU co-processor cores are available all the way back to at least ARMv3 (ARM6 family) which is virtually prehistori

[Pixman] [PATCH] Only try to compute the FAST_SAMPLES_COVER_CLIP for bits images

2010-08-16 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen It doesn't make sense in other cases, and the computation would make use of image->bits.{width,height} which lead to uninitialized memory accesses when the image wasn't of type BITS. --- pixman/pixman.c | 17 ++--- 1 files changed, 10 insertions(+), 7

[Pixman] [ANNOUNCE] Stable pixman release 0.18.4 now available

2010-08-16 Thread Soeren Sandmann
A new pixman release 0.18.4 is now available. This is a stable release which contains bug fixes since 0.18.2. NOTE: There is a known memory leak in this release when pixman is used in multi-threaded programs on Windows. This bug is present in 0.18.0 and 0.18.2 as well. If you know how to fix it, p

Re: [Pixman] [ssse3]Optimization for fetch_scanline_x8r8g8b8

2010-08-16 Thread Xu, Samuel
Hi, Siamashka: Thanks for kindly comments! It is very nice that bug#20709 also emphasize similar performance issue. So, let's discuss how to make this patch better. Here is some answers from me, and Ma Ling will update comments on 32/64 bit question and assemble details : 1) For