[Pixman] [PATCH 1/2] test: Make stress-test more likely to actually composite something

2012-07-01 Thread Søren Sandmann
From: Søren Sandmann Pedersen s...@redhat.com stress-test current almost never composites anything because the clip rectangles and transformations are such that either _pixman_compute_composite_region32() or analyze_extent() will return FALSE. Fix this by: - making log_rand() return smaller

Re: [Pixman] [PATCH 1/5] mmx: add scaled bilinear src_8888_8888

2012-07-01 Thread Matt Turner
On Sun, Jul 1, 2012 at 12:56 PM, Søren Sandmann sandm...@cs.au.dk wrote: Matt Turner matts...@gmail.com writes: +SIMPLE_BILINEAR_FAST_PATH (SRC, a8r8g8b8, a8r8g8b8, mmx__ ), +SIMPLE_BILINEAR_FAST_PATH (SRC, a8r8g8b8, x8r8g8b8,

Re: [Pixman] [PATCH] Add scaled nearest repeat fast paths

2012-07-01 Thread Søren Sandmann
Jeff Muizelaar jmuizel...@mozilla.com writes: Siarhei wrote this patch and we've been using it in the Mozilla tree since May. Before this patch it was often faster to scale and repeat in two passes because each pass used a fast path vs. the slow path that the single pass approach takes.

[Pixman] [PATCH] Use a compile-time constant for the K constraint in the MMX detection.

2012-07-01 Thread Søren Sandman
From: Søren Sandmann Pedersen s...@redhat.com When compiling with -O0, gcc doesn't understand that in signed char x = 0; ... asm (..., : K (x)); x is constant. Fix this by using an immediate constant instead of a variable. --- configure.ac |3 +-- 1 file changed,

Re: [Pixman] [PATCH] Use a compile-time constant for the K constraint in the MMX detection.

2012-07-01 Thread Matt Turner
On Sun, Jul 1, 2012 at 5:03 PM, Søren Sandman sandm...@cs.au.dk wrote: From: Søren Sandmann Pedersen s...@redhat.com When compiling with -O0, gcc doesn't understand that in signed char x = 0; ... asm (..., : K (x)); x is constant. Fix this by using an immediate