ilm_surfaceSetDestinationRectangle behavior with wayland-ivi-extension 1.4.0

Vikas Patil vikasmpatil at gmail.com
Mon Jan 18 03:13:12 EST 2016


I thought that damage is for compositor. Could you suggest how should
I debug this?

Best Regards,
Vikas

On Fri, Jan 15, 2016 at 4:01 PM, Frederico Cadete
<frederico.cadete at awtce.be> wrote:
> On Thu, Jan 14, 2016 at 03:59:18PM +0530, Vikas Patil wrote:
>> Hi,
>>
>> Attached here the wayland protocol log and there I see damage
>> request's y is not correct for surface. It should be 72 instead 0 I
>> think. Any pointer why could this be?
>
> I believe it is correct to be 0. The ivi-controller APIs you
> are using will change how the buffer will be composited (if the
> top 72 pixels are hidden, or if it's scaled, etc.).
> The client does not necessarily have to know this is happening :). It can
> still draw and damage all the buffer, then it's the compositor's job to
> scale it.
>
> Regards,
> Frederico
>>
>> Best Regards,
>> Vikas
>>
>> On Wed, Jan 13, 2016 at 5:55 PM, Vikas Patil <vikasmpatil at gmail.com> wrote:
>> > Hi Ucan,
>> >
>> > I am using weston 1.8.0.
>> >
>> > weston.ini
>> >
>> > [core]
>> > shell=ivi-shell.so
>> >
>> > [ivi-shell]
>> > ivi-module=ivi-controller.so,ivi-input-controller.so
>> >
>> > cursor-theme=default
>> > cursor-size=32
>> >
>> > [input-method]
>> > path=/usr/lib/weston/weston-keyboard
>> >
>> > Attached here the weston log.
>> >
>> >
>> > Regards,
>> > Vikas
>> >
>> > On Wed, Jan 13, 2016 at 5:50 PM, Ucan, Emre (ADITG/SW1)
>> > <eucan at de.adit-jv.com> wrote:
>> >> Hi Vikas,
>> >>
>> >> Which weston version are you using ?
>> >>
>> >> Can you send weston startup log and your weston.ini ?
>> >>
>> >> Best regards
>> >>
>> >> Emre Ucan
>> >> Software Group I (ADITG/SW1)
>> >>
>> >> Tel. +49 5121 49 6937
>> >>
>> >>> -----Original Message-----
>> >>> From: genivi-ivi-layer-management-bounces at lists.genivi.org [mailto:genivi-
>> >>> ivi-layer-management-bounces at lists.genivi.org] On Behalf Of Vikas Patil
>> >>> Sent: Mittwoch, 13. Januar 2016 12:39
>> >>> To: genivi-ivi-layer-management at lists.genivi.org; James Thomas; Frederico
>> >>> Cadete; Friedrich, Eugen (ADITG/SW1); Tanibata, Nobuhiko (ADITJ/SWG)
>> >>> Subject: ilm_surfaceSetDestinationRectangle behavior with wayland-ivi-
>> >>> extension 1.4.0
>> >>>
>> >>> Dear All,
>> >>>
>> >>> I am trying with setting full screen surface to (x= 0, y=0) , (width = 800, height
>> >>> = 480)  to (x =0, y = 72), (width = 800, height = 408) using
>> >>> ilm_surfaceSetDestinationRectangle. However with this surface doesn't
>> >>> seem to re-position as expected (start from x =0, y = 72), instead it shows
>> >>> starting from approximately x = 0, y = 142. But when I touch the screen it
>> >>> seem to update it with correct re-position.
>> >>>
>> >>>
>> >>> Could you suggest what might be going wrong here? Why it is getting
>> >>> updated correctly  when I touch the screen? Any inputs would be very
>> >>> helpful.
>> >>>
>> >>> LayerManagerControl get scene shows correct data but not on the display.
>> >>>
>> >>> surface 61 (0x3d)
>> >>>         ---------------------------------------
>> >>>         - created by pid:       588
>> >>>         - original size:      x=800, y=408
>> >>>         - destination region: x=0, y=72, w=800, h=408
>> >>>         - source region:      x=0, y=72, w=800, h=408
>> >>>         - orientation:        0 (up is top)
>> >>>         - opacity:            1
>> >>>         - visibility:         1
>> >>>         - pixel format:       0 (R-8)
>> >>>         - native surface:     0
>> >>>         - counters:           frame=0, draw=0, update=0
>> >>>         - on layer:           1000(0x3e8)
>> >>>
>> >>>
>> >>>
>> >>> root at orinoco-9939-a1:~# LayerManagerControl analyze surface 61 failed to
>> >>> get surface context in ilmControl failed to get surface context in ilmControl
>> >>> failed to get surface context in ilmControl failed to get surface context in
>> >>> ilmControl failed to get surface context in ilmControl
>> >>> Surface existance         | OK      |
>> >>> Surface on layer          | OK      |
>> >>> Layer on screen           | OK      |
>> >>> Surface Visibility        | OK      |
>> >>> Layer Visibility          | OK      |
>> >>> Surface Opacity           | OK      |
>> >>> Layer Opacity             | OK      |
>> >>> Surface dest width        | OK      |
>> >>> Surface source width      | OK      |
>> >>> Surface original width    | OK      |
>> >>> Surface dest height       | OK      |
>> >>> Surface source height     | OK      |
>> >>> Surface original height   | OK      |
>> >>> Layer dest width          | OK      |
>> >>> Layer source width        | OK      |
>> >>> Layer original width      | OK      |
>> >>> Layer dest height         | OK      |
>> >>> Layer source height       | OK      |
>> >>> Layer original source     | OK      |
>> >>> Surface inside Layer      | OK      |
>> >>> Occlusion                 | PROBLEM | Surface 61 is partially occluded
>> >>> by surface 62
>> >>> Occlusion                 | PROBLEM | Surface 61 is partially occluded
>> >>> by surface 63
>> >>> Occlusion                 | PROBLEM | Surface 61 is partially occluded
>> >>> by surface 64
>> >>> Update Counter            | PROBLEM | Surface 61 update counter is 0,
>> >>> no content was added to the surface since its creation
>> >>> Shared native             | WARNING | Surface 61 shares native that
>> >>> has ID 0 with surface 60
>> >>> Shared native             | WARNING | Surface 61 shares native that
>> >>> has ID 0 with surface 62
>> >>> Shared native             | WARNING | Surface 61 shares native that
>> >>> has ID 0 with surface 63
>> >>> Shared native             | WARNING | Surface 61 shares native that
>> >>> has ID 0 with surface 64
>> >>>
>> >>>
>> >>> Thanks & Regards,
>> >>> Vikas
>> >>> _______________________________________________
>> >>> genivi-ivi-layer-management mailing list genivi-ivi-layer-
>> >>> management at lists.genivi.org
>> >>> https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management
>
>
>> _______________________________________________
>> genivi-ivi-layer-management mailing list
>> genivi-ivi-layer-management at lists.genivi.org
>> https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management
>



More information about the genivi-ivi-layer-management mailing list