From owner-svn-src-user@FreeBSD.ORG Mon Nov 11 12:26:36 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 594C233A; Mon, 11 Nov 2013 12:26:36 +0000 (UTC) (envelope-from ray@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 47E532341; Mon, 11 Nov 2013 12:26:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rABCQami039759; Mon, 11 Nov 2013 12:26:36 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rABCQalD039758; Mon, 11 Nov 2013 12:26:36 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201311111226.rABCQalD039758@svn.freebsd.org> From: Aleksandr Rybalko Date: Mon, 11 Nov 2013 12:26:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r257980 - user/ed/newcons/sys/dev/vt X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 12:26:36 -0000 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; }