Re: [PATCH weston v2] ivi-layout: Initialize surface source rectange to 1x1

2016-05-31 Thread Pekka Paalanen
On Tue, 31 May 2016 09:13:13 + "Potrola, MateuszX" wrote: > Hi, > > > Even more so, because as far as I can see, to actually see the badly sized > > surface > > you have to do this in ivi-layout API: > > 1. add the surface to a layer > > 2. set visibility true > > 3. commit_changes > > 4. s

RE: [PATCH weston v2] ivi-layout: Initialize surface source rectange to 1x1

2016-05-31 Thread Potrola, MateuszX
Hi, > Even more so, because as far as I can see, to actually see the badly sized > surface > you have to do this in ivi-layout API: > 1. add the surface to a layer > 2. set visibility true > 3. commit_changes > 4. set source rectangle > 5. commit_changes > > At step 3, the surface will be shown.

Re: [PATCH weston v2] ivi-layout: Initialize surface source rectange to 1x1

2016-05-20 Thread Pekka Paalanen
On Wed, 18 May 2016 12:22:06 +0100 mateuszx.potr...@intel.com wrote: > From: Mateusz Polrola > > If surface will be set to visible before its source rectangle will > be defined it will be displayed in its orginal size. Hi, how does it happen that you set visibility but not the source rectangle

[PATCH weston v2] ivi-layout: Initialize surface source rectange to 1x1

2016-05-18 Thread mateuszx . potrola
From: Mateusz Polrola If surface will be set to visible before its source rectangle will be defined it will be displayed in its orginal size. This is because initial setting of destination rectangle to 1x1 is not causing surface resize and because source rectangle is 0x0 appropiate transformation