Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-22 Thread Soeren Sandmann
Siarhei Siamashka siarhei.siamas...@gmail.com writes: Regarding the (b) part, probably as a side effect of current implementation, right now it is possible to do some operations with images having non-premultiplied alpha: src_img = pixman_image_create_bits ( PIXMAN_x8b8g8r8,

Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-17 Thread Siarhei Siamashka
On Friday 11 February 2011 12:30:33 Soeren Sandmann wrote: If I had a time machine, I would go back and make - among others - these two changes to Render: [...] (2) The RGB channels of Alpha-only images would be considered to be the same as the alpha channel, and not 0 as they are now.

Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-17 Thread Bill Spitzak
Siarhei Siamashka wrote: On Friday 11 February 2011 12:30:33 Soeren Sandmann wrote: If I had a time machine, I would go back and make - among others - these two changes to Render: [...] (2) The RGB channels of Alpha-only images would be considered to be the same as the alpha channel,

Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-17 Thread Siarhei Siamashka
On Thursday 17 February 2011 20:41:28 Bill Spitzak wrote: Siarhei Siamashka wrote: On Friday 11 February 2011 12:30:33 Soeren Sandmann wrote: If I had a time machine, I would go back and make - among others - these two changes to Render: [...] (2) The RGB channels of Alpha-only

Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-12 Thread Soeren Sandmann
Bill Spitzak spit...@gmail.com writes: Soeren Sandmann wrote: (1) The equation would be (src OP dst) LERP_mask dst and not (src IN mask) OP dst (2) The RGB channels of Alpha-only images would be considered to be the same as the alpha channel, and not 0 as they

Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-12 Thread Andrea Canciani
On Fri, Feb 11, 2011 at 11:30 AM, Soeren Sandmann sandm...@cs.au.dk wrote: Chris Wilson ch...@chris-wilson.co.uk writes: But at the moment, about the only thing I truly want to add to the API is a LERP operator. Cairo has a slightly different definition for [clip-] masked operators where

Re: [Pixman] [cairo] pixman: New ARM NEON optimizations

2011-02-11 Thread Bill Spitzak
Soeren Sandmann wrote: (1) The equation would be (src OP dst) LERP_mask dst and not (src IN mask) OP dst (2) The RGB channels of Alpha-only images would be considered to be the same as the alpha channel, and not 0 as they are now. For example, a 0xb9 pixel in