vt(4): Pause the vt_flush() timer when the screen is up-to-date
authordumbbell <dumbbell@FreeBSD.org>
Wed, 27 Aug 2014 11:08:09 +0000 (11:08 +0000)
committerdumbbell <dumbbell@FreeBSD.org>
Wed, 27 Aug 2014 11:08:09 +0000 (11:08 +0000)
commit571a22a0d8c970bef3270d55e3b05b5cf1b46a90
tree440595572a62743d2759351353e0a2f0d12429dc
parentc340b1c78ed80791071999d15ebf7cc04c4e0a49
vt(4): Pause the vt_flush() timer when the screen is up-to-date

The timer is restarted whenever a window buffer is marked as dirty or
the mouse cursor moves.

There's still room for improvement. For instance, we should not mark a
window buffer as dirty when this window isn't displayed.

Review: https://reviews.freebsd.org/D683
Reviewed by: ray@
Approved by: ray@
MFC after: 1 week
sys/dev/vt/vt_core.c