cvs commit: src/sys/dev/syscons scgfbrndr.c

Jake Burkholder jake at FreeBSD.org
Sat Aug 23 19:31:56 PDT 2003


jake        2003/08/23 19:31:55 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/syscons      scgfbrndr.c 
  Log:
  - Remember to flip the foreground and background color attributes in
    gfb_draw if 'flip' is specified.  This causes the mouse cut region
    to be displayed in reverse color so it is visbile.
  - Use the "other" implementation of gfb_cursor for the creator driver,
    which doesn't assume there is a hardware cursor.  It seems that the
    hardware cursor that creator provides doesn't display the character
    under the cursor in reverse colors, so the driver does this manually
    and uses the hardware cursor for the mouse pointer (which it also works
    much better for).  This is wedged here because it required less hoops
    than accessing the syscons vtb from inside the video driver, which is
    needed to read the character and color attributes under the new cursor
    position.
  
  Revision  Changes    Path
  1.17      +18 -11    src/sys/dev/syscons/scgfbrndr.c


More information about the cvs-src mailing list