From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Unifying code for drawing on a cairo context Date: Sat, 23 Apr 2022 15:04:14 +0300 Message-ID: <83wnfgngzl.fsf@gnu.org> References: <837d7gp38q.fsf@gnu.org> <87fsm4810z.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, julius.pfrommer@web.de To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 23 14:05:30 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niEW1-0004MQ-Ko for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Apr 2022 14:05:29 +0200 Original-Received: from localhost ([::1]:58238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niEW0-0008Tc-Al for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Apr 2022 08:05:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niEUo-0007lj-Nf for emacs-devel@gnu.org; Sat, 23 Apr 2022 08:04:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niEUo-0005NQ-4j; Sat, 23 Apr 2022 08:04:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pZhbY0w+2P6M+qyZTLyeX+QOqtVHEW6V8ZAx+iy+YDM=; b=LZb8uwlz2ZMU VsXHIeWaQm7iE3+98OWPvCIQwdZldL58gCgdIudBMREtVqKEY817bW4HgLBuoTU3N7sSIpzk/71/g LmXozT3VuQh+64ofjnTnhWmLxxURATgMfVOhE+AmJBn53sVVmqNrS/F9dyuSvA7UjTbLcUJq/hD85 gbSZcgPaeSDvr6K7oGmzxZeRM8IriiT6Gw6dH7a08D7/Jxpqkyiv8hjQ9YJU2ifym7vUT01oAhrmP DGzRnP+RG7Ppr0lYk05ztYsvbF0vLiP36H+EnoWMd/g5eSbzlWI8cfW6LHWsYs8DXGQ0DZxdhs374 G/Ki6DNN5OXLrjFvWzl4Kw==; Original-Received: from [87.69.77.57] (port=2930 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niEUn-0008Pd-Cj; Sat, 23 Apr 2022 08:04:13 -0400 In-Reply-To: <87fsm4810z.fsf@yahoo.com> (message from Po Lu on Sat, 23 Apr 2022 19:58:04 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288818 Archived-At: > From: Po Lu > Cc: "Pfrommer, Julius" , emacs-devel@gnu.org > Date: Sat, 23 Apr 2022 19:58:04 +0800 > > Eli Zaretskii writes: > > > 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, so if this Cairo-specific > > module will make that common code less so, it would be a step > > backward, IMO. IOW, as long as the effort to have Cairo-specific code > > in one place doesn't "invade" on the common code, it is welcome, I > > think. > > I think that we won't be able to get the Cairo code all in one place, > without a large amount of code specific to each window system, which > defeats the point of such refactoring. Clearly, I was writing on the assumption that this would be possible, without independently assessing whether in fact it is possible.