New to Wayland, Need suggestion on a starting point

Srivardhan sri.hebbar at samsung.com
Mon May 5 01:23:05 PDT 2014


Thanks pq, Jason. This was very helpful. 

 

Hi pq,

 

The Wayland protocol dumper is interesting. Pardon me if am asking stupid questions. I was wondering how I could implement it. I compiled Weston on my Ubuntu 21.04 and executed it. Below are my understanding, correct me if am wrong.

 

1.       Weston uses the functions in the libwayland-server and libwayland-client and creates a compositor and client.

2.       All the Wayland library functions which are used to create compositor is in src/wayland-server.c and all the Wayland library functions which are used to create client is in src/wayland-client.c

3.       In both wayland-server.c and wayland-client.c wl_clorsure_print() is used to print logs to stderr. The functions call wl_closure_print to print logs and then call socket functions to send the message.

 

By this understanding, what I was thinking was, in the src/connection.c, if we create a debug socket and then write the messages to it too. The wayland-trace program can listen to that socket and then print the logs. What do you think? 

 

Thank-you,

Hebbar

 

 

From: wayland-devel [mailto:wayland-devel-bounces at lists.freedesktop.org] On Behalf Of Jason Ekstrand
Sent: Friday, May 02, 2014 7:27 PM
To: Pekka Paalanen
Cc: Srivardhan; wayland-devel at lists.freedesktop.org
Subject: Re: New to Wayland, Need suggestion on a starting point

 

You could also go after this one:

https://bugs.freedesktop.org/show_bug.cgi?id=77769

It shouldn't be too bad if you just follow along with what's done for mouse support.

--Jason Ekstrand

 

On Fri, May 2, 2014 at 7:08 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:

On Fri, 02 May 2014 17:11:34 +0530
Srivardhan <sri.hebbar at samsung.com> wrote:

> Hi All,
>
>
>
> My name is Srivardhan Hebbar, and I'm active developer since 2008, working
> for Samsung now.
>
>
>
> I am newbie FOSS developer and new to the world of Wayland.  I want to
> contribute to this project and want to start with few simpler contributions
> to understand the code better.
>
>
>
> I have looked into Wayland and Weston modules to some extent. Have been able
> to build and execute test cases.
>
>
>
> It would be very helpful for me if I can get some
> suggestions/recommendations on which is a simpler module to start with.

Hi,

here are some pointers:
http://lists.freedesktop.org/archives/wayland-devel/2014-April/thread.html#14220
http://lists.freedesktop.org/archives/wayland-devel/2014-April/014121.html


Thanks,
pq
_______________________________________________
wayland-devel mailing list
wayland-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140505/48844bb4/attachment.html>


More information about the wayland-devel mailing list