Re: X and wayland api

2014-07-02 Thread Bill Spitzak
The code in Weston provides examples for clients. Look at simple-shm, simple-egl, and the "toy toolkit" which is mostly in window.h and window.c. On 07/02/2014 03:57 AM, Pooja Thakoor wrote: I want to shift from X to Wayland programming. Can someone provide me with the wayland api calls that ar

Re: X and wayland api

2014-07-02 Thread Jasper St. Pierre
Wayland is not a 1:1 mapping of the X APIs. We can't send you such a list, because the programming models are different. On Wed, Jul 2, 2014 at 6:57 AM, Pooja Thakoor wrote: > I want to shift from X to Wayland programming. Can someone provide me with > the wayland api calls that are similar to

X and wayland api

2014-07-02 Thread Pooja Thakoor
I want to shift from X to Wayland programming. Can someone provide me with the wayland api calls that are similar to X calls. eg. wl_display_connect() in wayland and XOpenDisplay() in X is used to create client connection to display ___ wayland-devel mai