From owner-svn-src-all@freebsd.org Sun Apr 9 05:24:03 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A36FD35434 for ; Sun, 9 Apr 2017 05:24:03 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBBA9CA for ; Sun, 9 Apr 2017 05:24:02 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f67.google.com with SMTP id i3so2304242lfh.2 for ; Sat, 08 Apr 2017 22:24:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1fnU/57/69WsPAPZDyrTfgev2j7+LI7nrpZ2LxO/2kQ=; b=Tztcl6ai7mp+dM4h+aH5kni3nDgLGZJGDRJNG3IHDoGgoMsFD15gjG75kpErZh8tTS SkS/U0IPYOBkcuQkW7TOf+av5XZ6evlXRgAXpFFtrNkxxyCf2ynIV+WdAND7PlSZHEQM guf2wlK8slBe0Bqcp8lMk59nPH13kRJyNpaJZg6Uu2meKt90lk28Y7waPDmxHxv8IDsP I+A3pDFl6SFgB24sBgvhGkv1T2nAeYZ0DE4QY34YhcFY4RSyWx1JDY9oGgyKXMgWW97w qZM/3J9plxXMyth+Hxb+eEef4N7wx4wXi1u6Ggb6e43IgQV/U9Pos9Qo1MukiCOO2uLR CWrA== X-Gm-Message-State: AFeK/H2s1vl+JKPI63SZCgVcBX+IYIRUqykmHs+SQTVTjfNP5T5HiRxXSnuLAgFxV46lJw== X-Received: by 10.25.43.205 with SMTP id r196mr13847821lfr.116.1491715440488; Sat, 08 Apr 2017 22:24:00 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id e124sm1969792lfg.8.2017.04.08.22.23.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 22:23:59 -0700 (PDT) Subject: Re: svn commit: r316642 - head/sys/dev/syscons To: Bruce Evans , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201704081000.v38A0dBU078784@repo.freebsd.org> <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org> From: Andrey Chernov Message-ID: <23b8c635-f856-51b5-a338-d9bb53aefc7c@freebsd.org> Date: Sun, 9 Apr 2017 08:23:55 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2017 05:24:03 -0000 On 09.04.2017 7:54, Andrey Chernov wrote: > On 08.04.2017 13:00, Bruce Evans wrote: >> Log: >> Quick fix for removal of the mouse cursor in vga direct graphics modes >> (that is, in all supported 8, 15, 16 and 24-color modes). Moving the >> mouse cursor while holding down a button (giving cut marking) left a >> trail of garbage from misremoved mouse cursors (usually colored >> rectangles and not cursor shapes). Cases with a button not held down >> worked better and may even have worked. >> >> No renderer support for removing (software) mouse cursors is needed >> (and many renderers don't have any), since sc_remove_mouse_image() >> marks for update the region containing the image and usually much >> more. The mouse cursor can be (partially) over as many as 4 character >> cells, and removing it in only the 1-4 cells occupied by it would be >> best for efficiency and for avoiding flicker. > > Please don't forget that this 5 cells range (0xd0-0xd4, last one becomes > SC_CURSOR_CHAR) can be redefined with "vidcontrol -M", it is needed for > the case they overlap valid characters region for some code tables. Probably we just can change default to remove additional vidcontrol -M setup. I usually have this range started with 0x03.