From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Thu, 30 Apr 2020 20:27:14 +0300 Message-ID: <83tv10x4st.fsf@gnu.org> References: <83o8raziis.fsf@gnu.org> <877dxy1smz.fsf@yahoo.com> <87o8rae0ao.fsf@randomsample> <83lfmexmfp.fsf@gnu.org> <20200429171619.GB20842@tuxteam.de> <83imhixkva.fsf@gnu.org> <20200429185128.GA27164@tuxteam.de> <83ees6xggr.fsf@gnu.org> <20200429190854.GC27164@tuxteam.de> <83a72uxffz.fsf@gnu.org> <20200429195930.GA29703@tuxteam.de> <831ro5xezy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="83509"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 30 19:28:41 2020 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 1jUCzI-000LbI-95 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Apr 2020 19:28:40 +0200 Original-Received: from localhost ([::1]:37956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUCzH-0003rF-BK for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Apr 2020 13:28:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57654) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUCyG-0002vk-1G for emacs-devel@gnu.org; Thu, 30 Apr 2020 13:27:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54259) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUCyF-0003gl-0Z; Thu, 30 Apr 2020 13:27:35 -0400 Original-Received: from [176.228.60.248] (port=2886 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUCyA-0000pM-J8; Thu, 30 Apr 2020 13:27:31 -0400 In-Reply-To: (message from Stefan Monnier on Thu, 30 Apr 2020 10:37:03 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:248251 Archived-At: > From: Stefan Monnier > Cc: tomas@tuxteam.de, emacs-devel@gnu.org > Date: Thu, 30 Apr 2020 10:37:03 -0400 > > > Unfortunately, most redisplay cycles don't start from a request to > > redraw a particular area of the screen. > > I don't think it makes a big difference. Upon redisplay, the > glyph-matrix layer will compute which parts of the window needs updates > in the that layer (exactly like it currently does), and the canvas will > do its own computation of which part of it needs updating (presumably > this will be handled by the external canvas library such as Cairo's > rather than by Emacs's own code) and then the compositing layer will > figure out how to combine those two changes. I don't think I understand how this would fit into the current redisplay framework.