[PATCH wayland 0/5] add api to inspect the compositor state

Bryce Harrington bryce at osg.samsung.com
Wed Mar 30 00:13:14 UTC 2016


On Mon, Mar 07, 2016 at 06:31:30PM +0100, Giulio Camuffo wrote:
> This patches add several new functions to:
> - get the list of current clients for a wl_display
> - get notified of new clients
> - get the list of resources for a wl_client
> - get notified of new resources for a client
> - get the interface of a resource
> 
> I'm working on a tool to inspect the internal state of a compositor, and this new
> functions allow it to, once it has retrieved the wl_display, show all the protocol
> objects that are active.
> I would also like to add a wl_resource *wl_resource_get_parent() to get the
> tree of resources but i'm not sure what the best way to achieve that would be,
> so for now i believe these patches stand on their own and they can be pushed
> once R-b-ed. 

Just from a technical review perspective, the set looks ok to me.

Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

> Giulio Camuffo (4):
>   Add API to retrieve the interface of a wl_resource
>   Add API to get the list of connected clients
>   Add a resource creation signal
>   Add API to retrieve and iterate over the resources list of a client
> 
> Sungjae Park (1):
>   server: add listener API for new clients
> 
>  src/wayland-server-core.h |  32 ++++++++++++
>  src/wayland-server.c      | 129 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 161 insertions(+)
> 
> -- 
> 2.7.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list