From owner-cvs-src@FreeBSD.ORG Sat Aug 23 19:31:56 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08B6E16A4BF; Sat, 23 Aug 2003 19:31:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B182E43FA3; Sat, 23 Aug 2003 19:31:55 -0700 (PDT) (envelope-from jake@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7O2Vt0U085352; Sat, 23 Aug 2003 19:31:55 -0700 (PDT) (envelope-from jake@repoman.freebsd.org) Received: (from jake@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7O2VtKc085351; Sat, 23 Aug 2003 19:31:55 -0700 (PDT) Message-Id: <200308240231.h7O2VtKc085351@repoman.freebsd.org> From: Jake Burkholder Date: Sat, 23 Aug 2003 19:31:55 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/syscons scgfbrndr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 02:31:56 -0000 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