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: Questions regarding PGTK, high-dpi font-rendering, new X11-Warning Date: Tue, 06 Dec 2022 21:24:39 +0800 Message-ID: <87mt80mzqg.fsf@yahoo.com> References: <87edtncvss.fsf@thaodan.de> <87ilizwbkw.fsf@yahoo.com> <87cz94vjgl.fsf@yahoo.com> <874jugv9wi.fsf@yahoo.com> <87r0xkt06d.fsf@yahoo.com> <87zgc0n4m3.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6564"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: chad , Stefan Monnier , =?utf-8?Q?Bj=C3=B6rn?= Bidar , emacs-devel@gnu.org To: xenodasein@tutanota.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 06 14:25:40 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 1p2Xx5-0001VG-T5 for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Dec 2022 14:25:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2XwP-0006rP-El; Tue, 06 Dec 2022 08:24:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2XwN-0006p5-VQ for emacs-devel@gnu.org; Tue, 06 Dec 2022 08:24:55 -0500 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2XwL-0002nI-Pz for emacs-devel@gnu.org; Tue, 06 Dec 2022 08:24:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670333089; bh=LjgooulvJLJvoKd88ChpxBgM7XKYTgxat50tb0IkrGU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ZEAbpQ1L3zSQeyudVHSfLeuSuVNcfKMYyNnHq9bC7awqAda8N1+SgpBMREj95sIxBx0K+YxbKxvOTTyXWZGTCsVIO5ceIt0aLhNgkeCdn056vIM0eu6ByqpCMA2DXoH7K5qcxJ0v0in5VxyR1AFlehWrFusjNFb3GZUvG3vqGIq+S+hHUsrYuM7g0ebyU7qHt369Dsbg6OrFAvVYbApxizEOwLmg0/0Xu0G1Xng2OmdOGGF/2J9q7iH3sfmFpd3dG53z+4HWeRHXdFt1ZM0MR32h/gVBhxMS3AQq/jiqdHGYBgWtRLIE3aOAOd3p5NGVCf/h9RXj4d87qeH2ALq/9A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670333089; bh=I0dnmEufntP5ymlmkiT2AtD9FdY6ZlrF3A9ITJILIxe=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Z0YAW0TiEUbf9ZP2oz+f9suQ1Ly8F2smjXJoziUI9qXsP+uxUvSdKQ5bM82RrBIkk33G2pQBRtRIno6misO64ONJBu8HY/4wYYMr3VM3qc4IqBuGjrilfciAOKACOPdcE+dRA0IA/x60Ama9E6gH27xxHXVNoHCFgLoxRTqibbe+8ou2gcQ/Apho37sfksPkzW/uZlfQHbVepmgbjRrI5KkLXGI6rWUONYtS7bluq0FVojwgbzXuySvs7oq0sU/NkUqLsv+oXBiDYhD5JDp+CDSwlYII25+v+Gq0n7dRPplRLLCx0W+wlf+7RSl437bwBbMiI/PcxSUsXgSdVF+XcA== X-YMail-OSG: pyJCI88VM1mbAuKFEekbDNNhVJeSlT4rlOCYKPw6KU__fyDHNqZJpMBxuQItfHb dSODysqOSIW9RUtWc.2TyZk58Ir30yYaUb5oxyX8g6VB285CIWo_nQKATW6uhV2QCPaxfHbkOszA G6cib1bN7XyKK_9Os7NFM0w6g36w33AfU6bUdgcjkPmNru2yh0dJVymNXXzNS3NrjVfyS0nASuWu 2wIJXMr0MxZKRMApzFk.cceJAJHpuwuSvF397b5hGVkzWlqTNy_6eh7DnOQPHQYawQo77jVmt7iG pbEZk91dwo8GkIFHRP5awTBZY4TWVuu3LuOaC86yACRLIbmN6oqoA6dESxy4SBFNiyddZZUltrNX 9RpGm0pF0fD9ahhxA4yNEj1KEvR_47QAu_6RTtycUzZbYZyMCEKbbavWkSBqAu05LQD52s55SxGY XnE9SBnO5aAH84rO2_NNvsdOkb4cQikLIo0ZVN5FVr2WC.MAaMs8_zuuC3PyPNDw2mZn518kUFnM XmA3ZLjW8sjX7lbxs0dAWytzSAjTb.6..oX7GBWwGdleT6mc9a8yVpEIVD0DgpVJnaA3L5yuGh7n Glfcp1rDwG8tiHclABizVX3fzkBvRRgcrmVcD1_kK5qTdEWMDuqQIavIRYsjCXT1fWPUIDjgJJKx 9kBjSGTEFSmH_h0za4reIFsIoKnhlz27oJwKAqnUNAoj79KWLlvXswNZ1w8dQrJJGCdgPgtbYxS_ S6oH36dyIKSo31gxwBoy650Ty72.p9u0y4fYMb1k63LOGZ7dcY6s.p6atELbsvm1UikIcQAiGAn5 a1FHGtengaKjV8Rv.56bbFsILusqRTmHXI9ayyOkAl X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Tue, 6 Dec 2022 13:24:49 +0000 Original-Received: by hermes--production-sg3-b666c6484-clrgd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f89768c19307aee74b665404959d2105; Tue, 06 Dec 2022 13:24:46 +0000 (UTC) In-Reply-To: (xenodasein@tutanota.de's message of "Tue, 6 Dec 2022 14:05:14 +0100 (CET)") X-Mailer: WebService/1.1.20926 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.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 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300966 Archived-At: xenodasein@tutanota.de writes: > Xlib uses XCB underneath anyway, what is this shortsightedness about? Because you cannot give ownership of the event queue to Xlib if the connection to the display was obtained through XCB. As a result, Qt has had to move from only using XCB to using both Xlib and XCB for the two libraries that are much better than their XCB counterparts: the direct rendering GLX library and the XInput client library. You have to understand that Xlib uses XCB only as an underlying transport. It encodes all requests and reads events solely by itself, with occasional hooks into XCB to synchronize i.e. the request serial used (see the calls to xcb_take_socket.) No matter whether or or not _XSend, _XReadEvents, _XRead, _XReadPad or _XEatDataWords is implemented on top of XCB, Xlib is still the only library reading events.