[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: flicker-free double-buffered Emacs under X11
From: |
Paul Eggert |
Subject: |
Re: RFC: flicker-free double-buffered Emacs under X11 |
Date: |
Thu, 27 Oct 2016 15:18:38 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Thanks for working on this.
I tried building with that patch, and had problems because your email
client munged the patch. I cleaned it up by hand and arrived at the
attached patch instead. (It needs a better commit message of course.)
Maybe next time you could attach the output of git-format-patch.
Although the resulting system builds under Fedora 24 x86-64 with GTK, I
can't tell any difference in flickering. I don't see much flicker
without the patch, or with it. (I am using X, not Wayland.) Maybe my
eyes are not good enough....
I don't see the need to expose double-buffering to Lisp via
x-double-buffered-p or inhibit-double-buffering. Unless there's a
demonstrated need, I'd remove these from the Lisp interface, to simplify it.
The configure.ac change should use AC_CACHE_CHECK.
set_up_x_back_buffer should be a static function, since it's not used
outside its module.
In C code we typically use comment /* like this */, not // like this.
Also, the spacing for pointer decls is typically 'type *id', not 'type *
id' or 'type* id'.
You can assume C99 for loop control, e.g., 'for (int i = 0; i < n; i++)
...'.
Thanks again.
0001-flicker-free-double-buffering.patch
Description: Source code patch
- Re: RFC: flicker-free double-buffered Emacs under X11, (continued)
- Re: RFC: flicker-free double-buffered Emacs under X11, Eli Zaretskii, 2016/10/21
- Re: RFC: flicker-free double-buffered Emacs under X11, Daniel Colascione, 2016/10/21
- Re: RFC: flicker-free double-buffered Emacs under X11, Eli Zaretskii, 2016/10/21
- Re: RFC: flicker-free double-buffered Emacs under X11, Daniel Colascione, 2016/10/23
- Re: RFC: flicker-free double-buffered Emacs under X11, Eli Zaretskii, 2016/10/24
- Re: RFC: flicker-free double-buffered Emacs under X11, Ken Raeburn, 2016/10/24
- Re: RFC: flicker-free double-buffered Emacs under X11, dancol, 2016/10/27
- Re: RFC: flicker-free double-buffered Emacs under X11, Eli Zaretskii, 2016/10/27
- Message not available
- Re: RFC: flicker-free double-buffered Emacs under X11, Daniel Colascione, 2016/10/27
- Re: RFC: flicker-free double-buffered Emacs under X11, Eli Zaretskii, 2016/10/28
- Re: RFC: flicker-free double-buffered Emacs under X11,
Paul Eggert <=
- Re: RFC: flicker-free double-buffered Emacs under X11, Clément Pit--Claudel, 2016/10/27
- Re: RFC: flicker-free double-buffered Emacs under X11, Stefan Monnier, 2016/10/28
- Re: RFC: flicker-free double-buffered Emacs under X11, Dmitry Gutov, 2016/10/31
- Re: RFC: flicker-free double-buffered Emacs under X11, Daniel Colascione, 2016/10/27
- Re: RFC: flicker-free double-buffered Emacs under X11, Paul Eggert, 2016/10/27
- Re: RFC: flicker-free double-buffered Emacs under X11, Eli Zaretskii, 2016/10/28