nanogui: Screen update methods


Previous by date: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior
Next by date: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior
Previous in thread: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior
Next in thread: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior

Subject: Re: [nanogui] Re: Screen update methods
From: "Aaron J. Grier" ####@####.####
Date: 26 May 2007 01:17:02 +0100
Message-Id: <20070526001641.GD26937@mordor.unix.fryenet>

On Fri, May 25, 2007 at 01:58:53PM -0800, Junior wrote:
> [vertical retrace] actually crossed my mind and I was looking into how
> to implement it, especially with a memory mapped framebuffer with no
> sync being used.  This seem to be a framebuffer driver addition than
> an application, yes?

it depends on the memory protection on your target.  you may not be able
to directly peek at the video hardware from your application in
userland, in which case it would have to be done in the (kernel)
framebuffer driver.

> I've done some tracing and what seem to be really killing me is this
> linear16_drawhorizline function. That makes things worse and I haven't
> figured out when it's called and buy how.  It seems that drawing
> background color calles it but I'm not sure.

background color calls down to rectangle draw which calls down to
horizontal line.  you might want to start a new driver based on
fblin16.c and do some optimizations.

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

Previous by date: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior
Next by date: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior
Previous in thread: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior
Next in thread: 26 May 2007 01:17:02 +0100 Re: Screen update methods, Junior


Powered by ezmlm-browse 0.20.