nanogui: qn. on offscreen mem. transfer / h.w. integration


Previous by date: 19 Jul 2006 19:56:10 +0100 qn. on offscreen mem. transfer / h.w. integration, sean machin
Next by date: 19 Jul 2006 19:56:10 +0100 Anti-Aliasing, webpal
Previous in thread: 19 Jul 2006 19:56:10 +0100 qn. on offscreen mem. transfer / h.w. integration, sean machin
Next in thread:

Subject: Re: [nanogui] qn. on offscreen mem. transfer / h.w. integration
From: Peter Barada ####@####.####
Date: 19 Jul 2006 19:56:10 +0100
Message-Id: <20060719185604.BCD9898B95@baradas.org>

>This technique works OK, except I had to hack in calls to the new Flush 
>command into the higher level Gd
>functions such as GdText() and GdDrawImage().  This is starting to get 
>too hacky for my liking.
>
>Can anyone suggest a better method of efficiently getting the pixel data 
>to the LCD in a h.w. configuration like mine?

You could use two buffers, one that Nano-X draws into, and the other
being a shadow of what the LCD displays.  Then on a timer, you can see what's
different between Nano-X's buffer and the LCD shadow, and send the
differences to the LCD as well as copy them to the shadow...

Then you can use the interval to control how often you update the LCD.

-- 
Peter Barada
####@####.####

Previous by date: 19 Jul 2006 19:56:10 +0100 qn. on offscreen mem. transfer / h.w. integration, sean machin
Next by date: 19 Jul 2006 19:56:10 +0100 Anti-Aliasing, webpal
Previous in thread: 19 Jul 2006 19:56:10 +0100 qn. on offscreen mem. transfer / h.w. integration, sean machin
Next in thread:


Powered by ezmlm-browse 0.20.