unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daiki Ueno <ueno@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: porting to Wayland
Date: Sun, 13 Jul 2014 18:56:43 +0900	[thread overview]
Message-ID: <87d2d97fac.fsf-ueno@gnu.org> (raw)
In-Reply-To: <53C24B44.3000304@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Sun, 13 Jul 2014 11:03:00 +0200")

Hi Jan,

Thanks for the comment.  Glad to hear from the right person.

Jan Djärv <jan.h.d@swipnet.se> writes:

> I have updated the YAMAMOTO Mitsuharu patch:
> http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00390.html

I missed it, thanks for the pointer.

> It does not add another window system, rather expands the xterm.c code.
> I was expecting that Gtk3+ and Cairo together would let us re-enable
> double buffering in Gtk and thus get that for free.  Unfortunately
> this did not work, as Gtk needs to do its drawing in the event loop,
> like the NS port needs to do as mentioned in #17124.

Yeah, it would be ideal that the single stack (Gtk3+ and Cairo) supports
all the underlying display system.

> I will probably check this in if I get round to writing all those
> ChangeLog entries and fix the image things.  There is actually not
> much user benefit from using Cairo, except Mitsuharus printing
> extension.  For Wayland, there is XWayland.

> Using Cairo is actually slower than using X, sometimes visible
> so. Making Cairo draw the same way we draw in X may be a suboptimal
> way to use Cairo.

However, on Wayland, I feel rendering through XWayland rather slower
than using Cairo directly.  Even the 'M-x butterfly' animation is not
very smooth (few glyphs are visible before being cleared).  Maybe I
should have measured the speed before coding.

Anyway, my intention was to understand more about the redisplay stuff,
not to propose code for merge, so I'm already rewarded :-)

Regards,
-- 
Daiki Ueno



  reply	other threads:[~2014-07-13  9:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2d97fac.fsf-ueno@gnu.org \
    --to=ueno@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).