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

Pekka Paalanen ppaalanen at gmail.com
Mon Aug 24 03:21:21 PDT 2015

On Mon, 24 Aug 2015 10:24:15 +0900
Nobuhiko Tanibata <nobuhiko_tanibata at xddp.denso.co.jp> wrote:

> From: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
> 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 for the forward mappings, and then inverting it. The inverse
> matric is used to transform the destination rectangles to the
> surface-local coordinate system. The intersection of the rectangles is
> the view clip mask.
> Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
> Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
> Changes for v2
>  - fix whitespaces
>  - rebase on master branch
>  ivi-shell/ivi-layout.c | 147 +++++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 141 insertions(+), 6 deletions(-)

Hi all,

I think this can land for the 1.9-beta, so I will be pushing these on, say,
Wednesday if no-one objects. This includes "hmi-controller: fix the
laucher layer width" and "hmi-controller: fix wrong width and height
are set to a layer of workspace." too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150824/b27dd8e2/attachment.sig>

More information about the wayland-devel mailing list