From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: redisplay system of emacs Date: Fri, 12 Feb 2010 16:55:17 +0100 Message-ID: <4B7579E5.4040309@swipnet.se> References: <27349166.post@talk.nabble.com> <27560255.post@talk.nabble.com> <4B754E74.8060705@swipnet.se> <27563610.post@talk.nabble.com> <4B7564C7.1010309@swipnet.se> <27564728.post@talk.nabble.com> <4B756FB7.3050202@swipnet.se> <87k4ui4gik.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265990140 22844 80.91.229.12 (12 Feb 2010 15:55:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 15:55:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 16:55:37 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 1Nfxrk-0004YL-DK for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2010 16:55:36 +0100 Original-Received: from localhost ([127.0.0.1]:44560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfxrh-0001Im-8q for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2010 10:55:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfxrX-0001Gb-MS for emacs-devel@gnu.org; Fri, 12 Feb 2010 10:55:23 -0500 Original-Received: from [140.186.70.92] (port=46863 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfxrX-0001GR-2z for emacs-devel@gnu.org; Fri, 12 Feb 2010 10:55:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfxrW-0002o4-Rq for emacs-devel@gnu.org; Fri, 12 Feb 2010 10:55:22 -0500 Original-Received: from proxy2.bredband.net ([195.54.101.72]:43234) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfxrT-0002nU-Nc; Fri, 12 Feb 2010 10:55:19 -0500 Original-Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC0352ECA6; Fri, 12 Feb 2010 16:55:18 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai9GAGYIdUtV4S1uPGdsb2JhbACHWZMoDAEBAQE3LsAghFgE X-IronPort-AV: E=Sophos;i="4.49,461,1262559600"; d="scan'208";a="36502335" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 12 Feb 2010 16:55:17 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 379687FA01A; Fri, 12 Feb 2010 16:55:17 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <87k4ui4gik.fsf@lola.goethe.zz> 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:121081 Archived-At: David Kastrup skrev: > I don't think that the performance in partly obscured windows is really > that important. > No, it isn't. But if you can get info about exactly what parts needs to be updated, maybe redisplay could do less work. But the main point is that if you use double buffering (i.e. first render in an off-screen pixmap, and then copy the pixmap to the X window in one go), you can use a very crude redisplay, since you always copy from an up-to-date copy. No need to worry about flickering. Jan D.