[Pixman] [PATCH] Store a2b2g2r2 pixel through the WRITE macro

2010-08-29 Thread Søren Sandmann
From: Søren Sandmann Pedersen Otherwise, accessor functions won't work. --- pixman/pixman-access.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pixman/pixman-access.c b/pixman/pixman-access.c index 56de711..f1ce0ba 100644 --- a/pixman/pixman-access.c +++ b/pi

Re: [Pixman] [PATCH] Use windows.h directly for mingw32 build

2010-08-29 Thread Soeren Sandmann
Maarten Bosmans writes: > This patch adresses the issue discussed in > http://lists.freedesktop.org/archives/pixman/2010-April/000163.html > > There were only two clashing identifiers. The first one is IN, which > obviously causes problems in Pixman for lines like > PIXMAN_STD_FAST_PATH (IN

Re: [Pixman] Valgrind-clean pixman

2010-08-29 Thread Soeren Sandmann
Siarhei Siamashka writes: > > We probably want to implement DllMain on win32 to allocate/free TLS anyway. > > Yes, I think it makes sense to give this a try. The constructor attribute is > supported since at least gcc 2.95, and it seems to be fine in clang 2.7 too. > There's always a risk that

Re: [Pixman] Compiling for iOS

2010-08-29 Thread Luca Barbato
On 08/29/2010 05:52 PM, Gerald Hansford wrote: > ./configure --host=arm-apple-darwin > CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 > CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 > LD=/Developer/Platforms/iPhon

Re: [Pixman] Compiling for iOS

2010-08-29 Thread Gerald Hansford
Hello - thank you both for your replies. I have tried both of these options: ./configure --host=arm-apple-darwin which builds, but creates a libpixman-1.a which is for I386, and I have also tried: ./configure --host=arm-apple-darwin CFLAGS="-arch armv6" which results in configure: error: in `/

Re: [Pixman] [ssse3]Optimization for fetch_scanline_x8r8g8b8

2010-08-29 Thread Siarhei Siamashka
On Sunday 29 August 2010 12:25:47 Xu, Samuel wrote: > Hi, Siarhei Siamashka: > Q:---" What problems do you have without "merge" mechanism?" > A: Of course there isn't correctness issue w/o "merge". > Currently, sse2_fast_paths/mmx_fast_paths/c_fast_paths...are excluded each > other, although some c

Re: [Pixman] [ssse3]Optimization for fetch_scanline_x8r8g8b8

2010-08-29 Thread Xu, Samuel
Hi, Siarhei Siamashka: Q:---" What problems do you have without "merge" mechanism?" A: Of course there isn't correctness issue w/o "merge". Currently, sse2_fast_paths/mmx_fast_paths/c_fast_paths...are excluded each other, although some checking forms delegate chain. While after delegate chain for

Re: [Pixman] Valgrind-clean pixman

2010-08-29 Thread Siarhei Siamashka
On Saturday 28 August 2010 12:21:52 Andrea Canciani wrote: > On Fri, Aug 27, 2010 at 3:58 PM, Siarhei Siamashka > > Having something like pixman_init()/pixman_cleanup() functions could > > solve all the problems, but it's an API change. Other solutions (using > > atexit(), using mutexes or atomic o