wayland intro
play

Wayland intro with i18n hacks Presented by Peng Wu Red Hat - PowerPoint PPT Presentation

Wayland intro with i18n hacks Presented by Peng Wu Red Hat License statement goes here. See https://fedoraproject.org/wiki/Licensing#Content_Licenses for acceptable licenses. T oday's T opics 1. X Window Background 2. Wayland intro 3.


  1. Wayland intro with i18n hacks Presented by Peng Wu Red Hat License statement goes here. See https://fedoraproject.org/wiki/Licensing#Content_Licenses for acceptable licenses.

  2. T oday's T opics 1. X Window Background 2. Wayland intro 3. Wayland with input method frameworks 4. Wayland i18n hacks 5. Summary

  3. X Window Background

  4. X Window History X originated at the MIT in 1984 Since then, never touched the core protocol

  5. Why not X? parts of the core protocol seldom used today X11 core graphics functionality seldom used XIM protocol bypassed by input method frameworks, such as ibus, scim, fcitx.

  6. Client Rendering Steps clients render locally clients tell the X server what they've drawn the server asks the WM to display it the window manager decides what to draw and where the X server displays what the WM rendered So, the window manager is the new X server

  7. Wayland intro

  8. Wayland dissected Wayland - Wayland Compositor Infrastructure Weston - The Weston Wayland Compositor libinput - input device management and event handling library

  9. Wayland intro RPC mechanism designed for window system Utility functions for client/server development Generate codes from XML protocol definition some client/server codes for communicating with the display server. Define the core wayland protocol in protocol/wayland.xml

  10. Weston display server The Reference Wayland Compositor Reference Implementation Support additionally protocols in weston/protocol Maybe we could call these as extensions? For input method support See text.xml and input-method.xml

  11. Client Rendering Steps clients render locally clients tell the server what they've drawn the server decides what to draw and where So, Wayland just cut out the middle man

  12. Wayland Pros it's tractable 'every frame is perfect' a set of pixels that should be shown in a window coherently at one time

  13. solely frame-based client says, 'display this' server displays it job done.

  14. Wayland with input method frameworks

  15. ibus intro Bus-Centric Architecture It has an ibus-daemon, which manages all clients. all engines, panel, config modules & clients are clients of ibus-daemon. iBus is based on dbus IPC protocol.

  16. ibus architecture ibus panel UI Application (GTK+) ibus engine pinyin Application ibus (QT) daemon ibus engine anthy ibus XIM Server ibus config

  17. ibus with X XIM protocol is old, and have many problems. Many GUI ToolKits implement own IMModules Gtk+ - GtkIMContext QT – QinputContext The XIM is by-passed by default configuration.

  18. Proposed architecture Wayland Gtk+ App ibus daemon D-BUS

  19. Advantages Every daemon serves one aspect of functionality. weston for display dbus for RPC ibus for input Gtk+ Apps talks to the specific daemon only when needed. Why not by-pass display server again? ;-)

  20. Wayland i18n hacks

  21. weston terminal hacks fixes dual-width glyph spaces problem learned it from vte widget Fixes cursor problem with vim, emacs respect the virtual terminal spec

  22. Summary Wayland is wonderful more works on Wayland i18n supports input methods font rendering

  23. Questions ? Contact: example@fedoraproject.org License statement goes here. See https://fedoraproject.org/wiki/Licensing#Content_Licenses for acceptable licenses.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend