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: MS Windows double buffering Date: Sat, 30 Apr 2022 21:25:33 +0300 Message-ID: <83pmky77j6.fsf@gnu.org> References: <877d791thh.fsf.ref@yahoo.com> <877d791thh.fsf@yahoo.com> <83ilqtbl3p.fsf@gnu.org> <87sfpxz8a7.fsf@yahoo.com> <87mtg4zhlg.fsf@yahoo.com> <87mtg3unzu.fsf@yahoo.com> <835ymr9i9v.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7249"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 30 20:27:47 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 1nkrop-0001lC-7R for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Apr 2022 20:27:47 +0200 Original-Received: from localhost ([::1]:48632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkroo-0001KQ-0Q for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Apr 2022 14:27:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkrmc-0000WQ-L2 for emacs-devel@gnu.org; Sat, 30 Apr 2022 14:25:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkrmb-0003rJ-K8; Sat, 30 Apr 2022 14:25:29 -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=M97RTGPQpzLObeNDek34bUui0v+V3RDsUX9z7nnP6cQ=; b=BCV6P9uWFyCk n23mD4Huumy7YNU03G9IH+14MTFBJb5K+IRClBSxnQJ8mbZYLWGhDYrzuyMC3Nf1Adpz4n9b8Hzg9 6aqWfyYPmQNCZN7A+/AO7yznH6Pd0T8e0qLpjHBQCPqoZMJLUElmV1R/H/RoKjdROgFOEmgm91X4W Jp3qEnHsqOKSu42r0B1+BAvizGvDrsh8XEZP0JpPrm2e3FBGrrcajqYbh88FH+CrQSvO9nUaHUPzM 3L094DGVqQ1gL6Lv2nJJ5yX0Wm8//ljIViH4OwMW4IYtshTv/PgQdgoDw1/0y73oTT2zO4ICa9U9y +JJe2OKO1sLkGHRlgQWdwA==; Original-Received: from [87.69.77.57] (port=3895 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 1nkrmb-0003GX-3L; Sat, 30 Apr 2022 14:25:29 -0400 In-Reply-To: (message from Ken Brown on Sat, 30 Apr 2022 13:34:32 -0400) 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:289067 Archived-At: > Date: Sat, 30 Apr 2022 13:34:32 -0400 > Cc: emacs-devel@gnu.org > From: Ken Brown > > On 4/30/2022 2:50 AM, Eli Zaretskii wrote: > > . w32term.c is also used in the Cygwin w32 build, (which produces a > > Cygwin Emacs that uses the native MS-Windows GUI functions instead > > of X). Will this code work in that build? If not, the new code > > should be ifdef'ed away on Cygwin. Ken, can you please chime in > > and help us DTRT here? > > I just built the Cygwin w32 build from git commit 0ea0aa255 and evaluated > > (while t (redraw-display) (redisplay)) > > I saw some flicker in the menu bar but nowhere else. I tried the same thing in > a Cygwin w32 build of emacs-28.1, and there was severe flickering throughout the > frame. So there's a noticeable improvement. > > I'll keep testing over the next few days and let you know if I see any problems. Great, thanks. It means most if not all of the new code works for the Cygwin w32 build as-is.