Hi,
Can you clarify a few things please..
I tried running the application again
The error i m facing is not constant.
Sometimes, i do get the HTML screen. That means it is creating a wl shell.
So when i launch weston, 3 out of 10 i get html page. But for the other 7
times, i get a blank screen.
So what i see is some instability..
When i had tried to launch the screen without weston, there is no problem
in the launch.
Thanks,
Sathish
------------------------------
On Mon 28 Jul, 2014 12:50 AM BST Tanibata, Nobuhiko (ADITJ/SWG) wrote:
>Hi,
>
>
>
>> there is a ivi_shell similar to desktop_shell that is used..
>Yes. But it shall be discussed in Tizne IVI al well.
>
>
>
>> IVISurfaceCreator.
>
>Try it by hand. And please check if your application create wl_shell correctly.
>
>I think HTML5 framework only support xdg-shell.. So IVIsurfaceCreator can not
>find any wl_shell, I assume.
>
>
>
>BR,
>
>Nobuhiko Tanibata
>
>
>
>
>
>
>
>From: IVI [mailto:[email protected]] On Behalf Of karthik karthik
>Sent: Saturday, July 26, 2014 8:43 PM
>To: [email protected]
>Subject: Re: Questions on weston-ivi-shell
>
>
>
>Hi,
>
>Thanks for the reply,
>
>I have a few doubts. Can you clarify them for me.
>
>1) "Additionally, supporting wl_shell on ivi-shell is temporary."..
>
>Does this mean the following.
>
>Currently, wl_shell, the default shell in wayland/weston is supported on
>tizen.. But outside of tizen, there is a ivi_shell similar to desktop_shell
>that is used..
>
>Can you point me to some documentation on wl_shell so that I can understand it
>better ??
>
>2) I am trying to modify weston-ivi-shell, a bit. Instead of launching
>application binaries, I want to launch HTML5 web apps.
>
>I took the ICO Homescreen as example and launching the apps using tizen
>application api's namely "aul_app_launch".
>
>When I launch these applications, I am facing issues in IVISurfaceCreator..
>
>When I run the program, the api returns a success on launch..
>
>What I dont get to see application on the display each time..
>
>If I look at the log, I could see this print statement printed 10 times..
>
> printf("IVISurfaceCreator: Search of native handle was ended.\n"
> " But no surface was created.\n"
> " Retry get_native_handle.\n");
>
>Is there a reason why this is happening.. Can you help me with this..
>
>Thanks,
>Sathish
>
>
>
>
>
>
>
>
>
>On Wednesday, 23 July 2014 7:21 AM, "Tanibata, Nobuhiko (ADITJ/SWG)"
><[email protected]> wrote:
>
>
>
>Hi,
>
>
>
>I will update the following info to wiki as well. Additionally, supporting
>wl_shell on ivi-shell is temporary.
>
>
>
>If application supports ivi_application.create_surface, you don’t have to use
>IVISurfaceCreater to map wl_surface to Global ID.
>
>If you want to show application only supports wl_shell, IVISurfaceCreater is
>useful tool.
>
>
>
> a) Launch application using system calls. The application on launch, will
> render the graphics on the wayland surface.
>
> Steps 1 and 2 mentioned above will done in the application itself.
>
>
>
>IVISurfaceCreator --help
>
>Usage: IVISurfaceCreator <Process ID> <Window Title> <IVI-Surface ID>
>
>
>
>IVISurfaceCreator is a Tool to map wl_surface to GlobalID: <IVI-Surface ID>.
>“Window Title” is set by using wl_shell_surface::set_title.
>
>E.g. Weston-flower names its title as “Flower”. If you set NULL to the
>parameter, IVIsurfaceCreator will map the oldest wl_surface to the ID.
>
>As usual, Weston client example create only one wl_surface in its process. The
>title is not so important parameter.
>
>
>
>After that, you can use <IVI-Surface ID> to control the wl_surface by using
>ivi layout APIs.
>
>
>
>If you want to get notification when an application create wl_shell_surface,
>you can use the following event in ivi_application.xml, extension event for
>TIZEN IVI only.
>
><event name="wl_shell_info">
>
> <arg name="pid" type="int"/>
>
> <arg name="title" type="string" allow-null="true"/>
>
></event>
>
>
>
>BR,
>
>Nobuhiko
>
>
>
>From: IVI [mailto:[email protected]] On Behalf Of karthik karthik
>Sent: Wednesday, July 23, 2014 1:56 AM
>To: [email protected]
>Subject: Questions on weston-ivi-shell
>
>
>
>Hi,
>
>
>
> In the process of trying to understand layer management, I had understood
> the following. Need some help to check whether I am right with these
> understanding.
>
>
>
>Steps :-
>
>
>
>To put an image file on to a layer :-
>
>
>
>1) Use wl_compositor_create_surface to create a wayland surface.
>
>2) Write the image data on to the wayland surface.
>
>3) Use ivi_application_surface_create api to tie the wayland surface with the
>Global ID.
>
>4) Now to add it to a Layer,
>
> a) Use the global ID to extract the surface using the API
> weston_layout_getSurfacefromID.
>
> b) The resultant surface is added to the layer using the API
> weston_layout_addSurfacetoLayer.
>
>
>
>To put an application on to a layer :-
>
>
>
> a) Launch application using system calls. The application on launch, will
> render the graphics on the wayland surface.
>
> Steps 1 and 2 mentioned above will done in the application itself.
> b) Launch IVISurfaceCreator. The Global ID is passed via arguments to the
> IVISurfaceCreator.
> c) IVISurfaceCreator calls the ivi_application_surface_create api's to tie
> the wayland surface with the Global ID.
> d) Now to add it to a layer, it is similar to step 4 mentioned above..
>
>Is this understanding correct ??
>
>Thanks,
>
>
>
>
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi