From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: MS Windows double buffering Date: Sat, 30 Apr 2022 17:55:32 +0800 Message-ID: <87ee1euc8b.fsf@yahoo.com> 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> <87v8urt3mk.fsf@yahoo.com> <83v8ur7x8p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24281"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: kbrown@cornell.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 30 11:58:07 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 1nkjra-0006DR-Vi for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Apr 2022 11:58:06 +0200 Original-Received: from localhost ([::1]:50820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkjrZ-0004gH-NL for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Apr 2022 05:58:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkjpN-0003qt-9N for emacs-devel@gnu.org; Sat, 30 Apr 2022 05:55:49 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:41710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkjpK-0006fN-Hb for emacs-devel@gnu.org; Sat, 30 Apr 2022 05:55:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651312544; bh=89qajtMbCeLA/jNIDIDPfkjJKqKfPnsQrKJRoyhYDes=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=o/bTkgIhuGPLEldOAv0jnzEQj0GmFpSLy43jRBxxd3R7POhtINAKP6SP1ewyBHA07bshU61H33o1Z7rkMFicsBnxIf4amhRGUQoxmGITBWI9VAf9YuGPSeFjjGD9KRbqWnDsukk1f/G3yyIROpl6pk4ZBYuX8Xf5Ej5XQCIgOr0MA6VIlL7NbwMBI2W88MSEEn6BEi6dZDzakOKqTSV58gcEoGUAoxO7BUMEL6clCGbAWOf0ao3o85lHh3DB0Lxf1Ah/dY/2hiHqn0ofiUxCoDj4uOCehydMgW+vwbZjY66RoXWnaFQ5uz9jmeApPXHXS+WMDhOpDddYYFT71BzgPQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651312544; bh=fo9aQXdVFSxvl0GaIHzKdgbt3qZen9TwaV9og9q291b=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=lTXn0gs1iNfEgU+jvvG1rf9l0G2tnFnHO6uMvkYAA00wSGt2AkfYzNLQWhs0TO49I9RUAptWHwsbZTQxixyqx0C8eWu4WgfwV9TFMdpqmK+HmG78Njn2+teP/EMIgpc+TP6ivzCB2bTvGchJfu0Xe7FJM/4cDdtFYSSqVNRrws8EK6IBG964hYKVGZUpYpV+sOzRKsLZ/mQTr4ZqeNI09Q2lkZNwUOWORP2AV7BMzbL0gaHwvt0v9lScXaRexHaT5RIT0WmWxN8gaE0gnvcnZA0GjssHEOYelsRF/xvAHefh9on4sEVI57XQlA7U+4HLbQDmuESwDOlAAsNOr6+GEw== X-YMail-OSG: 8u3a1KsVM1kJZd7yr.Bx40GLxgIMYGvX5uNIb4LPytKc2TOkJiYIVX7OElQVYHK qrpBgO49eCQIsLKpIcgafhS9WbEa8TdyuYIQllyPXZD0tK.wfXFYBRpd1TzRvYraRIZr29MD5XFR l__HxvRh2XDT4KSOf8sSyZsdNhXDmlaAEmaA9MIsGTFX_lfO.MlXNOkx8opKQ_uPgnog1ASH69oO kL.rqJFYlcXr24ZSxS9nNpKo_h8kgrpBlX9AS96So4kbgt2x3NwChu6aG1LKMqk.DfNMKrcXr2yq a08NcAj416DTzh2pBZMPMw.YniSHV2P1qaXwQQKcnJ1wvaOOJU52.JMUCMW7lmivdtVMl9PKaW3k gQyTMufS_Xf_QbLWbzZqWS57i9OrakBMWpahxFca7gMZkBqkth2_N5MzT9oN50Tf.PubVDIa7j8o WdEtYv_U9oTZLvrFUvZrc_G1ukJYtPHoKEH82S8BnUuSzUBFDfqJ0X3SuVWoFxIg546oVTRCOgGt _t1.pjKS5HAwynM3Ag1Zj1TTWZ6DvIXRv8nhTtGGsTLd3_5YyytXSBTFUn3YpwE5RG6AesRKADrI 3qD5d4ipS.skqlK6PVSOxecqcJ6C5cN89dznIwZJLUrOnV578pWmH64c0PwLLSrmWGnV1wiCxf81 rk2FvJZLjnko1NUMQnq92a3ooew0X4ZrpdWovIiin67Ots4nQiHv01Ly4W2lc8FLz8voFkG41IKd aDl3JvoYXOblCEtgQMCYp1vT8hbBXDXUVWS_Y3qysiyWOYr9FXecfkLP7tdCUhepWR7AeOHlBXGw mTNe8EwdJN8o.D0Znkp4jUnWF2RfDxPo1xk.h7LCjm X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sat, 30 Apr 2022 09:55:44 +0000 Original-Received: by hermes--canary-production-sg3-795d7b4d54-zfnfv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d6a0f348ecad1aea87cbf6ec7a1e927a; Sat, 30 Apr 2022 09:55:37 +0000 (UTC) In-Reply-To: <83v8ur7x8p.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Apr 2022 12:10:14 +0300") X-Mailer: WebService/1.1.20118 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:289041 Archived-At: Eli Zaretskii writes: > Emacs is being tested on X much more than on MS-Windows, and people > who use it on X tend to be more knowledgeable about the technical > issues than a typical user of Emacs on Windows. Moreover, the level > of expertise we have on our team about Windows-specific GUI aspects is > significantly lower than in the X case. > > So having such a debugging device for significant changes in display > code is beneficial. Thanks for clarifying. > So you are saying this code didn't work correctly before? Or am I > misunderstanding something? No, it was a misunderstanding on my part. Sorry for the noise. > This still flickers considerably here, albeit with a significantly > lower frequency. What if you comment out these lines in w32term.c? if (f && !w32_disable_double_buffering && FRAME_OUTPUT_DATA (f)->paint_buffer_dirty && !f->garbaged && ignore_dirty_back_buffer) w32_show_back_buffer (f); > What other test cases in the discussions would you recommend to try? (run-hooks 'xref-after-jump-hook) for example, which causes considerable flickering without double buffering, but none at all when double buffering is enabled.