본문 바로가기
OS 운영체제/LINUX

Wayland (Display Server와 Client 사이 통신 프로토콜)

by yororing 2024. 4. 23.

01 Wayland란

1. 정의

  • communication protocol that specifies the communication b/w a Display Server and its clients, as well as a C library implementation of that protocol
  • 즉 Display Server와 Client가 통신할 수 있게 하는 프로토콜, 데스크탑 환경을 구현하기 위한 프로토콜 (C 언어 사용)
  • a Display Server using the Wayland protocol is called a Wayland compositor, b/c it additionally performs the task of a compositing Window Manager (WM)
  • the language (protocol) that applications can use to talk to a Display Server in order to make themselves visible and get input from the user (a person)
    • A Wayland server is called a "compositor"
    • Applications are Wayland clients
  • Wayland also refers to a system architecture
    • It is not just a server-client relationship b/w a compositor and applications.
    • There is no single common Wayland server like Xorg is for X11, but every graphical environment brings with it one of many compositor implementations.
    • Window management and the end user experience are often tied to the compositor rather than swappable components.
  • A core part of Wayland architecture is libwayland
    • libwayland: an inter-process communication library that translates a protocol definition in XML to a C language API
    • This library does not implement Wayland, it merely encodes and decodes Wayland messages.
    • The actual implementations are in the various compositor and application toolkit projects.

 

참조

  1. Wayland란 https://en.wikipedia.org/wiki/Wayland_(protocol)
  2. Wayland란 https://wayland.freedesktop.org/
  3. https://www.kernelpanic.kr/5
  4.