Re: [PATCH weston v2] ivi-layout: implement surface clipping

2015-08-26 Thread Pekka Paalanen
On Mon, 24 Aug 2015 17:34:09 -0700 Bryce Harrington wrote: > On Mon, Aug 24, 2015 at 01:21:21PM +0300, Pekka Paalanen wrote: > > On Mon, 24 Aug 2015 10:24:15 +0900 > > Nobuhiko Tanibata wrote: > > > > > From: Nobuhiko Tanibata > > > > > > View clip region is set in surface-local coordinates.

Re: [PATCH weston v2] ivi-layout: implement surface clipping

2015-08-24 Thread Bryce Harrington
On Mon, Aug 24, 2015 at 01:21:21PM +0300, Pekka Paalanen wrote: > On Mon, 24 Aug 2015 10:24:15 +0900 > Nobuhiko Tanibata wrote: > > > From: Nobuhiko Tanibata > > > > View clip region is set in surface-local coordinates. To compute that > > region, the ivi-layer destination rectangle in the glob

Re: [PATCH weston v2] ivi-layout: implement surface clipping

2015-08-24 Thread Pekka Paalanen
On Mon, 24 Aug 2015 10:24:15 +0900 Nobuhiko Tanibata wrote: > From: Nobuhiko Tanibata > > View clip region is set in surface-local coordinates. To compute that > region, the ivi-layer destination rectangle in the global coordinates > are transformed back into the surface-local coordinates. > >

[PATCH weston v2] ivi-layout: implement surface clipping

2015-08-23 Thread Nobuhiko Tanibata
From: Nobuhiko Tanibata View clip region is set in surface-local coordinates. To compute that region, the ivi-layer destination rectangle in the global coordinates are transformed back into the surface-local coordinates. The transformation is computed by first forming the transformation matric f