AFAIK Wayland is quite portable. It uses Unix domain sockets.
Kernel should expose KMS/DRM interfaces.
By convention Wayland-based environments to handle hardware accelerated rendering use GBM (Mesa's way to handle graphics memory) and EGL as binding. Compositors often use OpenGL ES (with binding by EGL) and clients renders through desktop OpenGL (also binded by EGL) or mobile variant: OpenGL ES.
GBM probably is going to be replaced, in medium or long-term, by new Unix graphics (and compute) memory API, which is in designing phase.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
|