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

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,

[Pixman] Source clipping: how-to and tests

2015-03-02 Thread Pekka Paalanen
Hi, I've been trying to use source clipping in Weston's Pixman-renderer, and I found something that seems strange. The scenario is that I have: - source clip in source image coordinates - transformation (matrix) - destination clip in destination coordinates - potentially a mask (to apply global

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

2015-03-02 Thread Siarhei Siamashka
On Mon, 2 Mar 2015 14:47:01 +0200 Pekka Paalanen ppaala...@gmail.com wrote: Hi, I've been trying to use source clipping in Weston's Pixman-renderer, and I found something that seems strange. The scenario is that I have: - source clip in source image coordinates - transformation (matrix)