venturevilla.blogg.se

Wayland compositor
Wayland compositor




wayland compositor

My opinion is that this protocol is tailored for GNOME needs. That’s why we have a protocol extension for desktop called xdg-shell. So Wayland’s core protocol is not enough to even create desktop applications. The point of having Wayland’s core protocol as minimal as possible is to allow the usage of Wayland in places other than desktop like embedded systems and VR. That means that applications that depend on certain functionality defined in one of the protocol extensions will not work on all compositors. All compositors are expected to support the core protocol, and they may not support other protocol extensions. The main protocol was called Wayland Core protocol, and other protocols are called protocol extensions. They decided to make the protocol as minimal as possible, and compositors shall create new protocols for their specific use cases if they desire to offer more functionality not included in the main protocol. When Wayland developers started defining the protocol, they had to decide what functionalities to include in the protocol. So the protocol must include all necessary basics in a way that doesn’t limit developers to a few usecases. Take CSS as an example, if it weren’t available in the web protocols, all websites would have looked the same and boring. Returning to the website’s example, if the protocol doesn’t define necessary functions, it will limit the web developers. That also means that the functions defined in the protocol decide what applications (aka clients) can do & what they can’t do.

wayland compositor

So you don’t create websites for specific browsers. It’s like the world wide web protocols, where any website can work on any browser as much as the browser is completely supporting the web protocols.

wayland compositor

Any client application programmed to use this protocol can work on any display server(or compositor) that fully supports this protocol. Instead, Wayland defines a protocol for creating display servers. That means there is no Wayland display server that clients need to talk to. Wayland is a display server system based on the idea of protocols.






Wayland compositor