[ Xorg vs Wayland Thread ] "Improve the crap" versus "Create a new Crap" ?
by openbsd98324 from LinuxQuestions.org on (#6H02W)
Hello
xorg vs wayland:
Why Wayland is better?
There are lots of differences between X and Wayland. Probably the biggest one from the graphics side is that Wayland doesn't do any drawing.
X has two drawing APIs. One of these is a part of the core X11 protocol, which is ancient, useless, and nobody uses. The other is the XRender extension which provides modern composite operations, among other things such as gradients. This is what Cairo, for example, uses. X also has font drawing APIs.
Wayland has no drawing APIs. A Wayland client gets a DRM buffer handle, which is basically a pointer to some graphics memory; Wayland doesn't know or care how the client draws to that buffer. In X terms this means that all applications get direct rendering - drawing requests don't need to go through the server.
The only rendering Wayland does is to copy the client's buffers onto the screen.
In terms of benefits, Wayland is a lot less complex than X which should make it easier to maintain
Not so much...
xorg vs wayland:
Why Wayland is better?
There are lots of differences between X and Wayland. Probably the biggest one from the graphics side is that Wayland doesn't do any drawing.
X has two drawing APIs. One of these is a part of the core X11 protocol, which is ancient, useless, and nobody uses. The other is the XRender extension which provides modern composite operations, among other things such as gradients. This is what Cairo, for example, uses. X also has font drawing APIs.
Wayland has no drawing APIs. A Wayland client gets a DRM buffer handle, which is basically a pointer to some graphics memory; Wayland doesn't know or care how the client draws to that buffer. In X terms this means that all applications get direct rendering - drawing requests don't need to go through the server.
The only rendering Wayland does is to copy the client's buffers onto the screen.
In terms of benefits, Wayland is a lot less complex than X which should make it easier to maintain
Not so much...