Date: Mon, 11 Nov 2013 12:26:36 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r257980 - user/ed/newcons/sys/dev/vt Message-ID: <201311111226.rABCQalD039758@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ray Date: Mon Nov 11 12:26:35 2013 New Revision: 257980 URL: http://svnweb.freebsd.org/changeset/base/257980 Log: Eliminate call to vd_blank method, it is too expensive. Sponsored by: The FreeBSD Foundation Modified: user/ed/newcons/sys/dev/vt/vt_core.c Modified: user/ed/newcons/sys/dev/vt/vt_core.c ============================================================================== --- user/ed/newcons/sys/dev/vt/vt_core.c Mon Nov 11 12:24:17 2013 (r257979) +++ user/ed/newcons/sys/dev/vt/vt_core.c Mon Nov 11 12:26:35 2013 (r257980) @@ -670,16 +670,6 @@ vt_flush(struct vt_device *vd) tarea.tr_end = size; tmask.vbm_row = tmask.vbm_col = VBM_DIRTY; - /* - * Blank to prevent borders with artifacts. This is - * only required when the font doesn't exactly fill the - * screen. - */ - if (vd->vd_flags & VDF_INVALID && vf != NULL && - (vd->vd_width % vf->vf_width != 0 || - vd->vd_height % vf->vf_height != 0)) - vd->vd_driver->vd_blank(vd, TC_BLACK); - vd->vd_flags &= ~VDF_INVALID; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111226.rABCQalD039758>