nanogui: Problem with overwriting text.


Previous by date: 6 Oct 2005 01:06:20 +0100 [PATCH] use diag_printf() for GdError() under eCos, Alexander Neundorf
Next by date: 6 Oct 2005 01:06:20 +0100 Re: [PATCH] get rid of unused fontmapper variables, Greg Haerr
Previous in thread: 6 Oct 2005 01:06:20 +0100 Re: Problem with overwriting text., Greg Haerr
Next in thread: 6 Oct 2005 01:06:20 +0100 Re: Problem with overwriting text., Gil Glass

Subject: Re: Problem with overwriting text.
From: "Aaron J. Grier" ####@####.####
Date: 6 Oct 2005 01:06:20 +0100
Message-Id: <20051006000546.GY24823@mordor.unix.fryenet>

On Wed, Oct 05, 2005 at 08:49:51AM -0600, Greg Haerr wrote:
> Well, there's no workaround to having to draw background pixels to
> erase text you want erased.  If you don't want to use the
> GrSetGCUseBackground method, then you'll have to use GrFillRect to
> clear the area before drawing text, and then drawing text without the
> background.

which is exactly what the current code does.  (:

if you don't have optimized blit routines for FillRect and Blit, your
performance may be suffering significantly.  the default fillrect and
blit routines are built off of memcpy, memmove, and memset.  if you
cannot optmize those, you may wish to write your own hardware-specific
FillRect and Blit operations.

you'll also see a placeholder for a low-level text drawer in the
_mwscreendevice structure; you may wish to pursue this on your hardware.

there's still plenty of potential for optimizations for the text
routines.  (:

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  ####@####.####

Previous by date: 6 Oct 2005 01:06:20 +0100 [PATCH] use diag_printf() for GdError() under eCos, Alexander Neundorf
Next by date: 6 Oct 2005 01:06:20 +0100 Re: [PATCH] get rid of unused fontmapper variables, Greg Haerr
Previous in thread: 6 Oct 2005 01:06:20 +0100 Re: Problem with overwriting text., Greg Haerr
Next in thread: 6 Oct 2005 01:06:20 +0100 Re: Problem with overwriting text., Gil Glass


Powered by ezmlm-browse 0.20.