From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.devel Subject: Re: macOS metal rendering engine in mac port Date: Fri, 28 May 2021 10:39:15 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8058"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Aaron Jensen , emacs-devel@gnu.org, YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 28 19:41:02 2021 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 1lmgTl-0001to-Mp for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 19:41:01 +0200 Original-Received: from localhost ([::1]:32994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmgTk-0001vW-Ph for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 13:41:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmgSK-0000Gf-8y for emacs-devel@gnu.org; Fri, 28 May 2021 13:39:32 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:56092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmgSG-0002O9-Bw for emacs-devel@gnu.org; Fri, 28 May 2021 13:39:31 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id kr9so2960957pjb.5 for ; Fri, 28 May 2021 10:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=PfBZY279SRkpoUHiQsAuQBsH+9b3sE33a17Xi4HZTPE=; b=iOeooJwc99qbFh2SkBOB4FIKItlH9mIfhZ9j3jr7KfCnoc+/VP0yktsVWSLFok9VrF 5JCzeK6b7StLb8lOI1s8V7/Ajh6WLMCYBxPKinol1TVKiXvNi3amfzoqeboIYNbJvDDP JGm/CdTcxP8z667AAbsbfGskdkADCMzPCOnIxzBhdUm9nNV/H3JKn2qqstxHVnK/y6jE ZtK1Encx7g1fcK8+mgJyO+JA/9xcw0pFgqE65YtmwdPNGCo3bRLBbVySkSYLUJihdyAT vHzI620OnAglWa50Rx1z5USbG7GYQB7manKD/glbvP+r1gfhXfY0d8u6c2M8HvtTKxQ1 mm6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=PfBZY279SRkpoUHiQsAuQBsH+9b3sE33a17Xi4HZTPE=; b=TuKZnXd/NiHhDN0lN2XpOdEcyjNp3OyfwHb6EJIWoM8nCsl+eNTyfy6pyeztibAE0a 0uk9JqzmFwydrM5rDqSnMKMty3iFf6HoaF76niPFEY+MH0cPM+bM5eUSbBRuJ5DmAH2+ u5y4qTMUAqICEjJ6m9CB7/XMmBgeZLPDZwwNWjrVMzD14dCFyEYbb+r3GyLe3Pe0SCj7 GSrjzYWSF2eHYyV9IzrX1MzXKpznpoa0TnQanRqOdHZyiz2w96wrbZlcC1oTkkFA4LUv +sc+aq07y3qEQ77EQiRvXbx545B2HHBjlWiJ20frCcs+6AomKkO9xEtP0KSFwIhkGLqM 4RXA== X-Gm-Message-State: AOAM532tZFk5q1MN3Od5OCngPnXm1BZEOiPf3I6LmFFSXSuX7toeTrLD 3QaLw+v6snTaaOdFgQ/ceACgBPAxA1AkUckuneA= X-Google-Smtp-Source: ABdhPJzo5hvAW+CzMowqODW8TBNdvNumXB1PuNUQ68Ow/MMi/nU8xBC1fvb/ZYoHiIKQQ64lxaUmJGOap0lgVOXyR6s= X-Received: by 2002:a17:90a:9511:: with SMTP id t17mr5679343pjo.108.1622223566470; Fri, 28 May 2021 10:39:26 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=aaronjensen@gmail.com; helo=mail-pj1-x102f.google.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.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:270011 Archived-At: On Tue, May 25, 2021 at 11:23 PM Alan Third wrote: > > On Tue, May 25, 2021 at 05:32:09PM -0700, Aaron Jensen wrote: > > On Tue, May 25, 2021 at 9:31 AM Aaron Jensen wrote: > > > > > > I don't know if it's something funky with my machine or not but I've > > > noticed some stutters with this patch. As in, it appears to miss > > > paints. I'll type a character and won't see it until I type something > > > else. Is it possible that this patch could cause that? > > > > This stopped, so maybe it was something funky. So far, today, things > > feel pretty good from a latency perspective. I haven't measured > > anything yet. > > It probably could, I've seen something similar when I was testing > something or other. It will be bypassing the viewWillDraw code that > forces a redisplay, but I think in theory we shouldn't need it with > this code. > > Oh, I suppose that might break the live resizing. But we can work that > out if so. I've continued to use this and what I've noticed is that it's during Zoom screen shares that stalls appear to happen. Zoom eats quite a bit of CPU while screen sharing and Emacs will occasionally fail to paint using this patch. When I'm not screen sharing I don't see the issue. Even when I am, it's infrequent. Aaron