I had this lying around for some time but realized I never really announced it on the ML, so here it is!
https://github.com/udevbe/westfield So what is it? Westfield is wayland protocol xml parser and generator for Javascript, much like what libwayland is for C. It's nearly fully compatible on the wire with the existing libwayland implementation, with the exception of strings (no null terminator) and the absence of file descriptors (for obvious reasons). It utilize a websocket to do it's communication. Supported bindings: For now all client side code is generated in Javascript for Javascript using NodeJS. Server side generation is available for Java. Support for C and other languages should be trivial, given the close wire compatibility to libwayland. However core concepts like the build in object 'display' are not available. Instead you get 'Connection' (root entry point) and 'Registry' (same usage and functionality as libwayland). Usages: Using Westfield, a browser could run a wayland compositor implemented with html5 webgl/canvas which receives it's buffer objects from a back-end through WebRTC's datachannel/videochannel. Cheers, Erik
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
