From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.devel Subject: Re: macOS graphics performance Date: Mon, 28 Dec 2020 02:37:59 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35650"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cc: Emacs-Devel devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 28 02:39:36 2020 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 1kthVY-00099c-1q for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Dec 2020 02:39:36 +0100 Original-Received: from localhost ([::1]:49076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kthVX-0004Jv-4S for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Dec 2020 20:39:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kthUI-0003ro-22 for emacs-devel@gnu.org; Sun, 27 Dec 2020 20:38:18 -0500 Original-Received: from sonic314-20.consmr.mail.ir2.yahoo.com ([77.238.177.146]:36634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kthUB-0005PK-GF for emacs-devel@gnu.org; Sun, 27 Dec 2020 20:38:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1609119484; bh=WTb9G1r77OckEh+s/z2XpvnCOcu8A7r1z+NPGSK8ae0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=mpe4dHuMC7FjGAeiYYpr9EAQnyz8DxrWKhH/XNePw0lE0RYptkloMA7AulciPTXjeje4CQsXp/QrLt0pvaRw5Hy71JmrwXJVo5QdtnttE3Se68AU6jTbENegV105AYH6HDv5kDgtQ6DaerfKxpKb68Bdg/EuFFFa5pqyU0Xm6Ml0cMu7r1cjM0wQVp7Z4pXymcODfTFkVNXqKDQJPT4+4/g/CU13iyk8DdVMMFRFTozici89hDVqJ6NumuEhfv93YGt3lpfAioJ2SdEHk6agA99TwSzasucvaT851ya/VBVNhtgV7aUufouzA23DSLK2tqiHGE/XPLqGLhbB+u9Yog== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609119484; bh=f0zykfjWzJOflir6lf1WLpgZNWxTzdoWBam8yK4fQw8=; h=From:To:Subject:Date:From:Subject; b=IobrsOe3iPc/RZmLrdcHA49QgoBNbp4HiIja8ujyDOClyNAp7D/ODymVYWrHhshm3ozSM/Zg8+YjLH62RVQRAZ/seKwu0F8Tw/FIx7IBUt30GfAZ34SJTOyHuLVLPnpJreCpW+F5Wn5/LIt0unHtDWA+MFZ/gY98pw2H2Yr3MMQb7R/nkq/9NIYW+UKZ3SRuY9rZZBcHvz0nR4QGp+tQr7pPtbRnpIF2kWWYx5VQXc4/sr447qS0sDCoVJJaLGZ0kxvXnksEPT8LC+HOrxh0FUQFElSib2u2NPI1os09Vcwd/HhlYFyDd/lxUh8yYutP5EkOgzYxx6VbQPffnRaP+g== X-YMail-OSG: S7mCsFsVM1nADZsx5ATh1uFsSCn54TUgRGZC2DoLfAh7L95eWMFll4bv8ZDtuT0 qTy8NK_mmZObiV43enn3LWlzh56Gmn3.rf_BBJxbhJPOhZt1e60wJKmKkFkSDjqHiIoO3.XgxL0x Pd50eXGuj2EiY2t2487a99y0xXaM9St8E68hr.LDt6EQeqadqV98Z.yL69BhF5TuspeLumtdwN1B Rw99uUGYkpw_sgdKaIzayrsJlvKWq57DfYEBmIcnj92e_WFARC5K7fLPl56J5kJi6kBqjlg5zCmD bsKF7X6M3iU7_08Go_NgbR1_YLgUYAbtvpsA2jVW7QJK8wXZ3DYy9knHQw4Mcz4HrZgWTHSxlLfF N.EXhVkUFeBJGc1JElozg2xM82OnFAjFS1o6291u7swedngMaNYaquCHRMDuOW_qI6aLYYRSSefO 6wprFzyYa7w_MvgwTtbO0SefI1O5ZYR0V0qRQiSdkxBR73FMdJtDoYcdvarKpj5WigoSTsk6l0gX jrKrrKpLXk2PbbBJFnzi_YPHhNGBIPXN9X4C.QfCV6c3JY8vrXmWUU1lvRd88p9mdKnFB7_wW82e tEOchM0EaRmCHtq_O8XkrbvvkglnyvB086xD2cXBu9K47vP1P6v35Q0J1wmnnUbgwU5.VxargJ4W 1fDe3fYcL2OAq_s80.KawF3mtdFo7aym6rAjZJ3BqC0P2laOAdvkyAUEfSl509uCCunW3cP.661T EWFfWQo9KpsfMW2mE97dagRUSeo_3f18Z287f_bNNFVPiyJiFFeKnspPYNjDdQ8r3OEOV8AVtsVx tBdZqtLRVVOz_3AdO5u56aj46DgX7D_c0XrpisvJbX Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ir2.yahoo.com with HTTP; Mon, 28 Dec 2020 01:38:04 +0000 Original-Received: by smtp421.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6dfbe9fb25bcbd529e632d00fa51e68f; Mon, 28 Dec 2020 01:38:00 +0000 (UTC) In-Reply-To: (Alan Third's message of "Mon, 28 Dec 2020 00:25:00 +0000") X-Mailer: WebService/1.1.17278 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.8) Received-SPF: pass client-ip=77.238.177.146; envelope-from=mardani29@yahoo.es; helo=sonic314-20.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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.23 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:261972 Archived-At: Alan Third writes: > > Because of the asynchronous copying I've had to use more buffers (at > least two), and so there is a copy added back in to make sure they're > all kept up to date. But it's still noticeably faster when there are a > lot of large updates, for example in scrolling. Yes, I notice a much smoother scrolling performance. > So, basically, anything that involves drawing to the screen should, > hopefully, be faster. Probably the biggest difference will be for > people with large frames on hi-res screens scrolling around large > buffers. I've tested scrolling and moving the point in a buffer with xdisp.c and display performance feels much better. The setup I used is several vertical frames on a retina display (no external monitor yet).