From owner-p4-projects@FreeBSD.ORG Thu Dec 4 19:57:22 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DFA3D1065678; Thu, 4 Dec 2008 19:57:21 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38581065675 for ; Thu, 4 Dec 2008 19:57:21 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A29E8FC0C for ; Thu, 4 Dec 2008 19:57:21 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mB4JvLhc020120 for ; Thu, 4 Dec 2008 19:57:21 GMT (envelope-from ed@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mB4JvLWi020118 for perforce@freebsd.org; Thu, 4 Dec 2008 19:57:21 GMT (envelope-from ed@FreeBSD.org) Date: Thu, 4 Dec 2008 19:57:21 GMT Message-Id: <200812041957.mB4JvLWi020118@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ed@FreeBSD.org using -f From: Ed Schouten To: Perforce Change Reviews Cc: Subject: PERFORCE change 154068 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 19:57:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=154068 Change 154068 by ed@ed_flippo on 2008/12/04 19:57:05 Don't use mark_all() inside putchar(). We don't want to redraw everything when drawing a single character. Affected files ... .. //depot/projects/mpsafetty/sys/dev/syscons/scterm-teken.c#5 edit Differences ... ==== //depot/projects/mpsafetty/sys/dev/syscons/scterm-teken.c#5 (text+ko) ==== @@ -272,7 +272,7 @@ cursor = tp->tp_row * scp->xsize + tp->tp_col; p = sc_vtb_pointer(&scp->vtb, cursor); sc_vtb_putchar(&scp->vtb, p, map[ch], scteken_attr(a)); - mark_all(scp); + mark_for_update(scp, cursor); } static void