svn commit: r317171 - head/sys/dev/vt

Jung-uk Kim jkim at FreeBSD.org
Thu Apr 20 18:06:11 UTC 2017


On 04/19/2017 22:22, Ed Maste wrote:
> On 19 April 2017 at 18:21, Jung-uk Kim <jkim at freebsd.org> wrote:
>> Author: jkim
>> Date: Wed Apr 19 22:21:15 2017
>> New Revision: 317171
>> URL: https://svnweb.freebsd.org/changeset/base/317171
>>
>> Log:
>>   Micro-optimize vt_set_border().
> 
> I expect we'll eventually have vt drivers that have a non-trivial
> vd_drawrect, making the previous implementation preferable. Can you
> comment a bit more on this change?

Maybe but I haven't seen much improvement in the area for many years.
Do you have any reason to believe someone is working on it?

Even if we have such backend, I don't expect much difference in drawing
small area, i.e., redrawing narrow borders.  On top of that, I don't
like "if (vd->vd_driver->vd_drawrect == NULL) return (ENOTSUP)" stuff.

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170420/06344c3b/attachment.sig>


More information about the svn-src-all mailing list