Re: [Pixman] Source clipping: how-to and tests

2015-03-03 Thread Petr Kobalíček
Hi Pekka, Can't be this solved by creating a subimage based on the input image and the viewport? This way you can basically use the same pipeline. I'm not sure, however, if I fully understand the issue. Cheers, Petr On Tue, Mar 3, 2015 at 8:49 AM, Pekka Paalanen ppaala...@gmail.com wrote: On

[Pixman] [PATCH 1/5] armv6: Fix typo in preload macro

2015-03-03 Thread Ben Avison
Missing lsl meant that cases with a 32-bit source and/or mask, and an 8-bit destination, the code would not assemble. --- pixman/pixman-arm-simd-asm.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pixman/pixman-arm-simd-asm.h b/pixman/pixman-arm-simd-asm.h index

[Pixman] [PATCH 2/5] test: Move format and operator string functions to utils.[ch]

2015-03-03 Thread Ben Avison
This permits format_from_string(), list_formats(), list_operators() and operator_from_string() to be used from tests other than check-formats. --- test/check-formats.c | 192 - test/utils.c | 193

[Pixman] [PATCH 3/5] test: Macroise name-number operator and format lookups

2015-03-03 Thread Ben Avison
This reduces code size and eliminates the possibility of cut-and-paste errors when extending the enums. It also highlighted a mismatch between the set of formats accepted by format_name() and format_from_string(). For now I have left the mismatch in place. --- test/utils.c | 359

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

2015-03-03 Thread Ben Avison
--- test/Makefile.sources |1 + test/affine-bench.c | 330 + 2 files changed, 331 insertions(+), 0 deletions(-) create mode 100644 test/affine-bench.c diff --git a/test/Makefile.sources b/test/Makefile.sources index c20c34b..8b0e855 100644

Re: [Pixman] Source clipping: how-to and tests

2015-03-03 Thread Pekka Paalanen
On Tue, 3 Mar 2015 13:47:22 +0100 Petr Kobalíček kobalicek.p...@gmail.com wrote: Hi Pekka, Can't be this solved by creating a subimage based on the input image and the viewport? This way you can basically use the same pipeline. I'm not sure, however, if I fully understand the issue. Hi,