From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay problems? Date: Mon, 24 Mar 2014 21:30:27 +0200 Message-ID: <838urz1jjg.fsf@gnu.org> References: <532ABA60.7000003@gmx.at> <83siqc7n87.fsf@gnu.org> <83a9ck6lzf.fsf@gnu.org> <83eh1v5y53.fsf@gnu.org> <83y5024r1w.fsf@gnu.org> <83ior6489a.fsf@gnu.org> <834n2q43os.fsf@gnu.org> <83vbv62gr7.fsf@gnu.org> <83txao1c8n.fsf@gnu.org> <83k3bj1otm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1395689443 18138 80.91.229.3 (24 Mar 2014 19:30:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 19:30:43 +0000 (UTC) Cc: rudalics@gmx.at, christian@defun.dk, cloos@jhcloos.com, kanru@kanru.info, emacs-devel@gnu.org To: Stefan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 24 20:30:51 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WSAa9-0002Mq-Uh for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 20:30:50 +0100 Original-Received: from localhost ([::1]:38111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSAa9-00066s-ID for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 15:30:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSAa3-0005wQ-E0 for emacs-devel@gnu.org; Mon, 24 Mar 2014 15:30:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSAZz-0005lb-0I for emacs-devel@gnu.org; Mon, 24 Mar 2014 15:30:43 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:51626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSAZy-0005l8-If for emacs-devel@gnu.org; Mon, 24 Mar 2014 15:30:38 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N2Y00C00GIOTW00@mtaout25.012.net.il> for emacs-devel@gnu.org; Mon, 24 Mar 2014 21:29:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2Y00670GSWSN70@mtaout25.012.net.il>; Mon, 24 Mar 2014 21:29:20 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170926 Archived-At: > From: Stefan > Cc: rudalics@gmx.at, christian@defun.dk, kanru@kanru.info, cloos@jhcloos.com, > emacs-devel@gnu.org > Date: Mon, 24 Mar 2014 14:07:34 -0400 > > > If the redisplay flag of an obscured/iconified frame _is_ set, then it > > looks like you cannot win anyway, because the entire frame needs to be > > completely redisplayed, and comparing against the current matrices is > > meaningless (since nothing is on the glass, so a full redraw is the > > only alternative). So I think setting the garbaged flag in this case > > is TRT. > > No: setting the garbaged flag has the side-effect of disabling all > optimizations while computing the new matrices. And in this case, we > don't need to disable those optimizations, AFAIK. Without anything on the screen that reflects the current matrices, what would be the point of these optimizations? These optimizations only make sense when portions of the frame are already on the glass, because we can then avoid both recomputing and redrawing those portions, or some of them. But when nothing is on the glass, these optimizations will not help, because you must redraw everything, and AFAIK we don't currently have a redisplay mode where the portions of matrices that were not recomputed are nevertheless redrawn.