setting surface id by waylandsink in ivi shell

郑家伟 betojowe at gmail.com
Wed Dec 6 21:55:20 EST 2017


Hi,

I search string "wl-shell-emulator" in weston-master,
wayland-ivi-extension-master, gstreamer-1.8.3, not found.
I fail to repo sync the AGL master code myself, so not search this.
can you tell me where the wl-shell-emulator imeplementation are and which
files to change


2017-12-07 9:34 GMT+08:00 Mizuno, Wataru (ADITJ/SWG) <wmizuno at jp.adit-jv.com
>:

> Hi,
>
> I found the patch in URL you attached.
> The ivi-surface ID is specified following function.
>
>         platform->ivi_surface =  ivi_application_surface_
> create(platform->ivi_application, id_ivisurf, platform->main_surface);
>
> You can set surface ID in wl_shell_emulator like this.
> The "id_ivisurf" is surface ID and the "platform->main_surface" is
> wl_surface.
>
> For wl_surface you need to assign waylandsink's surface as Emre-san said.
>
> Best regards,
>
> Wataru Mizuno
> ADITJ / SWG
>
> +81-(0)566-56-0946
>
> -----Original Message-----
> From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-
> management-bounces at lists.genivi.org] On Behalf Of ?家?
> Sent: Thursday, December 7, 2017 9:57 AM
> To: Ucan, Emre (ADITG/ESB)
> Cc: genivi-ivi-layer-management at lists.genivi.org
> Subject: Re: setting surface id by waylandsink in ivi shell
>
> Hi,
>
> On other platform, I found that QT_IVI_SURFACE_ID and "
> https://github.com/Freescale/gstreamer-imx/issues/115" can specify ivi
> surface id.
> But my application running on Qualcomm platform, if not have simple method
> to specify id, I don't know how to do.
> Have to modify wl_shell_emulator implemetation to specific id? can you
> provide reference patch to do it?
>
> Thanks for reply.
>
> 2017-12-06 19:43 GMT+08:00 Ucan, Emre (ADITG/ESB) <eucan at de.adit-jv.com>:
>
> > Hi,
> >
> > Wl-shell-emulator generates IDs for wl_shell clients. You have to
> > modify wl_shell_emulator to have a specific ID. You need also a way to
> > recognize waylandsink surface.
> >
> > Best regards
> >
> > Emre Ucan
> > Engineering Software Base (ADITG/ESB)
> >
> > Tel. +49 5121 49 6937
> >
> > > -----Original Message-----
> > > From: genivi-ivi-layer-management
> > > [mailto:genivi-ivi-layer-management-
> > > bounces at lists.genivi.org] On Behalf Of Friedrich, Eugen (ADITG/ESB)
> > > Sent: Mittwoch, 6. Dezember 2017 12:27
> > > To: 郑家伟; genivi-ivi-layer-management at lists.genivi.org
> > > Subject: RE: setting surface id by waylandsink in ivi shell
> > >
> > > Hi,
> > >
> > > This is an application task to assign the ivi surface id to the
> > > wayland
> > surface,
> > > seems like you waylandsink implementation is doing it for you, maybe
> > > depending on the PID + some calculations, You could implement
> > > additional parameter to waylandsink which would receive the ID.
> > >
> > >
> > >
> > > Best regards
> > >
> > > Eugen Friedrich
> > > Engineering Software Base (ADITG/ESB)
> > >
> > > Tel. +49 5121 49 6921
> > >
> > > > -----Original Message-----
> > > > From: genivi-ivi-layer-management
> > > > [mailto:genivi-ivi-layer-management-
> > > > bounces at lists.genivi.org] On Behalf Of ???
> > > > Sent: Mittwoch, 6. Dezember 2017 12:09
> > > > To: genivi-ivi-layer-management at lists.genivi.org
> > > > Subject: setting surface id by waylandsink in ivi shell
> > > >
> > > > I am new to wayland. I am using GSreamer 1.8.3 and weston 1.9.0. I
> > > > was
> > > able
> > > > to play video by waylandsink in ivi shell that used the following
> > pipeline
> > > > "gst-launch-1.0 filesrc location=/home/root/Pitbull_h264_1080p.mp4 !
> > > > decodebin ! videoconvert ! waylandsink"
> > > > when I check the surface,find the surface id is dynamic, but my
> > > requirement
> > > > is how to set a fixed surface id, then can control the surface by id.
> > > > thank you!
> > > >
> > > >
> > > > My weston.ini:
> > > >
> > > > [core]
> > > > shell=ivi-shell.so
> > > >
> > > > [ivi-shell]
> > > > ivi-module=ivi-controller.so,wl-shell-emulator.so
> > > > ivi-input-module=ivi-input-controller.so
> > > > _______________________________________________
> > > > genivi-ivi-layer-management mailing list
> > > > genivi-ivi-layer-management at lists.genivi.org
> > > > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-managem
> > > > ent
> > > _______________________________________________
> > > genivi-ivi-layer-management mailing list
> > > genivi-ivi-layer-management at lists.genivi.org
> > > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-managemen
> > > t
> >
> _______________________________________________
> genivi-ivi-layer-management mailing list genivi-ivi-layer-management@
> lists.genivi.org
> https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management
>



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