all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: ak@akirakyle.com,  emacs-devel@gnu.org
Subject: Re: SVG widget in GNU Emacs
Date: Wed, 27 Oct 2021 20:25:14 +0800	[thread overview]
Message-ID: <87pmrqr6xh.fsf@yahoo.com> (raw)
In-Reply-To: <83mtmuwtv7.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 27 Oct 2021 15:10:52 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> I understand what the problem in this area is.  But I'd rather have the
>> existing and (mostly) working xwidgets feature fixed than to waste time
>> implementing a new one.

> If the technology on which xwidgets are based is being deprecated, let
> alone a dead end, that time will not go wasted.

I don't agree with the statement that they're a dead end, as offscreen
rendering is not deprecated in GTK 3, which will be with us for the
foreseeable future.  The changes introduced with GTK 4 are not relevant
for GTK 3 (and are of a more fundamental nature that put not just
offscreen rendering, but even the use of Cairo in danger).

Fundamentally, NS xwidgets work the same way as GTK xwidgets, by
displaying in an offscreen window, and then copying the contents of said
offscreen window to widgets that are created for each displayed xwidget.

That NS xwidgets (based on the same principles as GTK xwidgets), in
Akira's words, work better, shows there are no fundamental barriers
between briding GTK's rendering model and Emacs's display model.

Thanks.



  reply	other threads:[~2021-10-27 12:25 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20  2:00 SVG widget in GNU Emacs Anand Tamariya
2021-10-20  3:15 ` Po Lu
2021-10-20 12:09   ` Eli Zaretskii
2021-10-20 12:48     ` Po Lu
2021-10-20 13:08       ` Eli Zaretskii
2021-10-20 13:17         ` Po Lu
2021-10-20 14:13           ` Eli Zaretskii
2021-10-26  6:32             ` Akira Kyle
2021-10-26 12:32               ` GUI and redisplay work (was: SVG widget in GNU Emacs) Stefan Monnier
2021-10-26 12:51                 ` Stefan Kangas
2021-10-26 13:23                   ` Eli Zaretskii
2021-10-26 13:19                 ` Eli Zaretskii
2021-10-27 16:07                 ` Alexandre Garreau
2021-10-27 17:12                   ` tomas
2021-10-27 19:00                     ` Alexandre Garreau
2021-10-29 17:34                       ` GUI and redisplay work Arthur Miller
2021-10-29 19:29                         ` Alexandre Garreau
2021-10-29 20:05                           ` Alexandre Garreau
2021-10-27  9:47               ` SVG widget in GNU Emacs Po Lu
2021-10-27 12:10                 ` Eli Zaretskii
2021-10-27 12:25                   ` Po Lu [this message]
2021-10-27 20:01                     ` Akira Kyle
2021-10-28  1:21                       ` Po Lu
2021-10-28 13:50                       ` Fix flickering on X11 xwidgets (was: Re: SVG widget in GNU Emacs) Po Lu
2021-10-27 19:49                 ` SVG widget in GNU Emacs Akira Kyle
2021-10-28  1:15                   ` Po Lu
2021-10-28  6:15                   ` Eli Zaretskii
2021-10-28  9:39                     ` Po Lu
2021-10-20 22:35   ` Richard Stallman
2021-10-20 23:37     ` dalanicolai
2021-10-21  0:31       ` dalanicolai
2021-10-21  0:07     ` Po Lu
2021-10-20  8:15 ` Lars Ingebrigtsen
2021-10-20  9:13   ` Anand Tamariya

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

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

  git send-email \
    --in-reply-to=87pmrqr6xh.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=ak@akirakyle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.