From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#63187: 30.0.50; Tail of longer lines painted after end of nearby lines on macOS Date: Sat, 24 Jun 2023 15:14:28 +0100 Message-ID: References: <29949E40-D5D5-4DE1-BD81-93D1BA3D4F51@gmail.com> <335C856F-41F7-48B8-AF42-B2406065C7A9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9402"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Kai Ma , Eli Zaretskii , 63187@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 24 16:15:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qD42z-0002HK-7e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jun 2023 16:15:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qD42c-0000bB-9H; Sat, 24 Jun 2023 10:15:06 -0400 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 1qD42Z-0000ao-5U for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 10:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qD42Y-0003oP-QR for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 10:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qD42Y-0001FI-AY for bug-gnu-emacs@gnu.org; Sat, 24 Jun 2023 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jun 2023 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63187 X-GNU-PR-Package: emacs Original-Received: via spool by 63187-submit@debbugs.gnu.org id=B63187.16876160824739 (code B ref 63187); Sat, 24 Jun 2023 14:15:02 +0000 Original-Received: (at 63187) by debbugs.gnu.org; 24 Jun 2023 14:14:42 +0000 Original-Received: from localhost ([127.0.0.1]:41176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD42E-0001EN-9L for submit@debbugs.gnu.org; Sat, 24 Jun 2023 10:14:42 -0400 Original-Received: from dane.soverin.net ([185.233.34.148]:47741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD428-0001E1-8F for 63187@debbugs.gnu.org; Sat, 24 Jun 2023 10:14:40 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4QpGMB6fHVz2xFF; Sat, 24 Jun 2023 14:14:30 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4QpGMB0qwhzC8; Sat, 24 Jun 2023 14:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1687616070; bh=PG2A7io6Uce/TdR+sR8T4LldEtRXGHdN4eE7C9xjyug=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EAJ0ajGT19yRAh8X/qtwxhnTWC3uFYrj9GPvIxenE+0YSNcz0ajpHPmK0iVrqgYBl eixcl3ZAROWTFPynhZPcqU/DBSPKlCUhbs9XI5wO6M+bY8OJt0v9CgQT3DbJfX4lOR OmC3EBYfshRSZsOKWslFPTZG+BiZFodru7GM2h9Y2+zXzpphhvsHAM1ssXhAQRfqAI IL5UyQ1u9ugK8P4Y3CguMvqFdvKpSPvuhKWbxJLdddciCDN+QQCxGG2X3CAHnbWq8M wLd6acziBGkndN+LWQhzmfCd905/Co3o6kkgrQGP5ocUiYVZBlk9aa/BEeTyXqd+fj Z+lN3zBBMQX6w== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1qD421-000XQY-83; Sat, 24 Jun 2023 15:14:29 +0100 X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Aaron Jensen , Kai Ma , 63187@debbugs.gnu.org, Eli Zaretskii , Po Lu Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263992 Archived-At: On Sat, Jun 24, 2023 at 09:34:18AM -0400, Aaron Jensen wrote: > > Could you try removing the destination lock as well and see if that > impacts anything? From what I can tell, locking the destination may be > a good idea, but I'm curious if Alan has any thoughts as to why it'd > be a bad idea. copyContentsTo is only called by getContext, which has already locked the destination, so there's no need to lock it again. As I recall locking is really just setting a flag saying it's currently being used so nobody else should touch it, it doesn't stop you from doing things with it. I know, for example, that it's possible to write to a surface that's been locked by the transfer to VRAM, and that results in tearing effects where the copy in VRAM is half updated. The VRAM copy isn't ever copied back down to system RAM, though, so it doesn't have any permanent consequences beyond a tearing effect at that particular moment. -- Alan Third