Wayland - Beyond X (The H)
Wayland - Beyond X (The H)
Posted Feb 14, 2012 17:04 UTC (Tue) by farnz (subscriber, #17727)In reply to: Wayland - Beyond X (The H) by dlang
Parent article: Wayland - Beyond X (The H)
You really should read the Wayland protocol description before commenting on what needs to be in there. The sum total support for rendering in Wayland 0.85 is:
- A mechanism to set up a shared buffer between the compositor and the client.
- A mechanism to tie the contents of that shared buffer to an on-screen surface, possibly offset from the origin of the surface.
- A mechanism to indicate to the compositor that a region of the shared buffer backing a surface has changed contents, and that the compositor should update the surface as presented to the user.
- A mechanism for the compositor to use to tell the client that a new frame has been presented to the user, and thus it's worth creating new content.
Nothing in that precludes efficient remote operation - indeed, the damage events and buffer to surface attachment make a VNC-like protocol very easy to implement for any arbitrary Wayland client, including efficient support for scrolling.
The current plan, as laid out by the Wayland developers, though, is to expect the higher level toolkits (GTK+, Qt etc) to handle efficient remoting; they have much more detailed semantic views of what the user is trying to achieve, and (in theory at least) can do a much better job of minimising data transferred without compromising user experience.