Another obsolete "fact" about Wayland which hasn't been true since 2015. Which is all the anti-Wayland propegandists seem to be able to come up with.
This was addressed by the linux-dmabuf protocol extension (which also works on *BSD, despite the name). The mesa route has been deprecated for years.
I do believe that the parent comment was unfair; it is possible to implement a compositor without libwayland —
but I do think that there is some truth in that the C structures are the de-facto protocol from the client-side. For example graphics drivers
seem to expect wl_display and wl_surface [1] rather than, say expecting the object id.
It’s not as though this is different under X though and isn’t a criticism of Wayland.
[1] https://www.khronos.org/registry/vulkan/specs/1.2-extensions...
> isn’t a criticism of Wayland.
Indeed, my comment is merely observing that wayland is both a protocol and a code base for all practical purposes, I'm trying to leave the criticism to other people ;)
It is for all practical intents not possible to implement a useful wayland compositor without relying on libwayland, because mesa links to libwayland and expects to be passed pointers to data structures defined in libwayland.