From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs and Gnome Canvas Date: Thu, 15 Jul 2010 19:14:23 +0200 Message-ID: <4C3F41EF.3060809@swipnet.se> References: <4C3CD120.4040905@swipnet.se> <5A91499A-0470-43FD-9F48-560CEAD3424C@mit.edu> <83wrsyr068.fsf@gnu.org> <83iq4hhjww.fsf@gnu.org> <87sk3lbvv0.fsf@telefonica.net> <83hbk1grnq.fsf@gnu.org> <4C3EBCDC.8050709@swipnet.se> <83d3upgmwj.fsf@gnu.org> <4C3ECB4C.6050208@swipnet.se> <83aaptgly1.fsf@gnu.org> <4C3ED4F9.4080603@swipnet.se> <83630hgi0r.fsf@gnu.org> <4C3EE8D6.3020607@swipnet.se> <8339vlgcax.fsf@gnu.org> <4C3F1A1B.1040106@swipnet.se> <83wrswg6e4.fsf@gnu.org> <4C3F264F.2030501@swipnet.se> <83tyo0g4a0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279214103 4265 80.91.229.12 (15 Jul 2010 17:15:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Jul 2010 17:15:03 +0000 (UTC) Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 15 19:15:02 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OZS1V-0008U7-MK for ged-emacs-devel@m.gmane.org; Thu, 15 Jul 2010 19:15:01 +0200 Original-Received: from localhost ([127.0.0.1]:46978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZS1U-0006MG-OM for ged-emacs-devel@m.gmane.org; Thu, 15 Jul 2010 13:15:00 -0400 Original-Received: from [140.186.70.92] (port=52988 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZS1I-0006Jp-3Y for emacs-devel@gnu.org; Thu, 15 Jul 2010 13:14:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZS1D-0005GH-6i for emacs-devel@gnu.org; Thu, 15 Jul 2010 13:14:48 -0400 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]:39793) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZS15-0005EZ-Pu; Thu, 15 Jul 2010 13:14:36 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id 3C3DEEA11C; Thu, 15 Jul 2010 19:14:33 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtY8AGvfPkxV4S0jPGdsb2JhbACDH4RSl3IMAQEBATUtrWyRXoEpgwlyBA X-IronPort-AV: E=Sophos;i="4.55,209,1278280800"; d="scan'208";a="104795066" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 15 Jul 2010 19:14:24 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 6B27E7FA05A; Thu, 15 Jul 2010 19:14:23 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100528 Thunderbird/3.0.5 In-Reply-To: <83tyo0g4a0.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127380 Archived-At: 2010-07-15 17:20, Eli Zaretskii skrev: >> Date: Thu, 15 Jul 2010 17:16:31 +0200 >> From: Jan Dj=C3=A4rv >> CC: ofv@wanadoo.es, emacs-devel@gnu.org >> >> 2010-07-15 16:35, Eli Zaretskii skrev: >>>> Date: Thu, 15 Jul 2010 16:24:27 +0200 >>>> From: Jan Dj=C3=A4rv >>>> Cc: ofv@wanadoo.es, emacs-devel@gnu.org >>>> >>>> No, they need to be done anyway sometime, it is no waste. If the te= xt isn't >>>> displayed, the attributes are nvertheless set up correctly for the t= ime when >>>> the text is to be displayed later (by scrolling for example). >>> >>> By which time those attributes could have recomputed many times, for >>> just one display! >>> >> >> That may be so. But there is nothing actually displayed, you just do = a update >> of the attributes. > > This "just" is the hottest bottleneck of the current display engine. > That's why we try so hard to avoid it. I would have thought that the actual drawing would be the bottleneck. No= t=20 that I benchmarked or anything. > >> I'm sure one could hook in to the scroll bars and just update the >> visible portion if that is needed. > > I don't think updating the scroll bar is an important CPU user in > today's redisplay. > I meant that you can update the portion that is visible and postpone upda= te of=20 the other parts until they become visible. Jan D.