unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* porting to Wayland
@ 2014-07-13  0:12 Daiki Ueno
  2014-07-13  9:03 ` Jan Djärv
  0 siblings, 1 reply; 21+ messages in thread
From: Daiki Ueno @ 2014-07-13  0:12 UTC (permalink / raw)
  To: emacs-devel

Hi,

As a learning project, I'm trying to port Emacs to the Wayland display
server[1].  Now the very basic redisplay code started working, although
it's still buggy (it even doesn't start without -Q):

Video: http://du-a.org/~ueno/junk/emacs-wl.webm
Code: https://github.com/ueno/emacs/tree/wip/wl

Rendering in Wayland is entirely done by the client, and the server
simply reveals the part of buffer sent from the client.  So, the main
task is to replace all the Xlib-based rendering stuff with the
buffer-based rendering using cairo.

I originally thought it could be done as an "add-on" to the current X
toolkit support.  As GTK3 already has the Wayland backend, it should be
able to embed the Emacs surface.  However, after looking at the code
(xterm.c/xfns.c), I realized that large part of it relies on Xlib and
seems too hard (for me) to experiment, without breaking the existing
code.  So, my initial attempt is to add it as another "window system"
(like NS or W32).

Currently it's missing:

- proper color handling
- images
- some text decoration (underline, overline, overstrike)
- toolkit stuff (window decoration, menubar, toolbar, scrollbar)

and many more.  Perhaps anybody here already considered/tried this?

Regards,

Footnotes: 
[1]  http://wayland.freedesktop.org

-- 
Daiki Ueno



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-11-26  5:53 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-13  0:12 porting to Wayland Daiki Ueno
2014-07-13  9:03 ` Jan Djärv
2014-07-13  9:56   ` Daiki Ueno
2014-07-14  6:21     ` Jan Djärv
2014-11-12 15:50   ` Lars Magne Ingebrigtsen
2014-11-12 15:59     ` Lars Magne Ingebrigtsen
2014-11-12 17:01     ` Jan D.
2014-11-12 17:05       ` Lars Magne Ingebrigtsen
2014-11-12 18:25         ` Achim Gratz
2014-11-12 18:45         ` Jan D.
2014-11-13  1:58           ` Daiki Ueno
2014-11-13  9:08             ` Jan D.
2014-11-23 16:56               ` Jan Djärv
2014-11-24  0:07                 ` Lars Magne Ingebrigtsen
2014-11-24  5:56                   ` Jan D.
2014-11-25  7:49                 ` Daiki Ueno
2014-11-25  8:01                   ` Jan D.
2014-11-25 14:30                 ` Stefan Monnier
2014-11-25 17:30                   ` Jan D.
2014-11-26  2:01                     ` Stefan Monnier
2014-11-26  5:53                       ` generating ChangeLogs automatically (was: porting to Wayland) Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).