unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Pfrommer, Julius" <julius.pfrommer@web.de>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Unifying code for drawing on a cairo context
Date: Fri, 29 Apr 2022 11:07:31 +0200	[thread overview]
Message-ID: <beaabcd8-e720-4932-ac6f-76d31bebd65e@web.de> (raw)
In-Reply-To: <87o80kxp5e.fsf@yahoo.com>

> Not to mention that Cairo is in effect unmaintained, and using it is
> discouraged in new software, so I wouldn't count on it being present
> forever, much less design code around the assumption that we will always
> keep using Cairo.

Cairo is not unmaintained. There were a couple hundred commits from
various developers since the beginning of this year.

https://github.com/freedesktop/cairo/graphs/contributors?from=2021-04-02&to=2022-04-29&type=c

> There will be no benefit to this at all.  We only recently introduced a
> second platform where Cairo drawing is used [...]

Case in point. For GTK and PGTK, developers need different setups (using
X vs. using Wayland) and the similar code-paths for drawing on cairo_t
started to diverge and continues to diverge.

Quoting Eli:
> In general, I don't think we'd object to having such Cairo-specific
> code in one place.  However, having GUI code common to all the GUI
> backends in one place is more important,

It appears that increasing the amount of code-sharing between platforms
is a goal for Emacs overall.

I understand that "developer freedom" to work on platforms independently
is important to some. Hopefully that freedom can be retained even when
the level of code-sharing across some platforms is increased.

Let's not jump to premature conclusions but see how the first
experiments for Cairo pan out.



  reply	other threads:[~2022-04-29  9:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23  9:06 Unifying code for drawing on a cairo context Pfrommer, Julius
2022-04-23  9:18 ` Eli Zaretskii
2022-04-23 11:58   ` Po Lu
2022-04-23 12:04     ` Eli Zaretskii
2022-04-29  8:01     ` Pfrommer, Julius
2022-04-29  8:33       ` Po Lu
2022-04-29  8:35         ` Po Lu
2022-04-29  9:07           ` Pfrommer, Julius [this message]
2022-04-29  9:20             ` Po Lu
2022-04-29 10:43       ` Eli Zaretskii
2022-04-23 11:51 ` Po Lu

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=beaabcd8-e720-4932-ac6f-76d31bebd65e@web.de \
    --to=julius.pfrommer@web.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /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).