Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 1997 06:31:57 -0700 (PDT)
From:      Kazutaka YOKOTA <yokota@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/isa syscons.c
Message-ID:  <199706301331.GAA17811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
yokota      1997/06/30 06:31:57 PDT

  Modified files:
    sys/i386/isa         syscons.c 
  Log:
  Fixes annoying behavior and a bug regarding the destructive
  cursor (CHAR_CURSOR)
  
  1. Reduced the number of calls to set_destructive_cursor().  The
  destructive cursor produced noticeable overhead on the system.  It was
  caused by draw_cursor_image() calling set_destructive_cursor() every
  so often.
  
  set_destructive_cursor() absolutely needs to be called when
  
  a) the character code under the cursor has changed either because
     the cursor moved or because the screen was updated or the mouse
     pointer overlapped the cursor.
  b) Or a new font has been loaded,
  c) or the video mode has been changed,
  d) or the cursor shape has been changed,
  e) or the user switched virtual consoles.
  
  2. Turn off the configuration flag CHAR_CURSOR (destructive cursor) in
  scattach() if we have a non-VGA card.  The destructive cursor works
  only for VGA.
  
  3. Removed redundant calls to set_destructive_cursor() in some places.
  
  4. Fixed the "disappearing mouse pointer" problem. The mouse pointer
  looked hidden under the destructive cursor when it overlaped the cursor.
  
  A slightly different version of the patch was reviewd and OKed by
  sos and ache.
  
  Revision  Changes    Path
  1.220     +65 -28    src/sys/i386/isa/syscons.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706301331.GAA17811>