about weston

Alberich de megres alberich2k5 at gmail.com
Sun Apr 1 12:37:10 PDT 2012


Hi Guys,

I was trying to understand how weston rpc works, and more specifically
how it asks for painting.
Checking the source i saw more or less this call stack for sending a
window_sync:

wl_display_sync
|->wl_proxy_marshal
   |->wl_closure_send
       |->wl_connection_write

on the server side, the object demarshaling is done by vmarshal
function, which some calls later invokes ffi_call

But I could not understand, the object is sended entirely? or just the
function-parameters pointers to be invoked remotelly?
if is this last case, how weston access the client memory space?

thanks!!
Alberick


More information about the wayland-devel mailing list