nanogui: Screen update methods


Previous by date: 28 May 2007 18:59:40 +0100 Re: Screen update methods, Greg Haerr
Next by date: 28 May 2007 18:59:40 +0100 Re: ADS 7843 Touchscreen Solved ! Touchscreen issues and queries, William IN
Previous in thread: 28 May 2007 18:59:40 +0100 Re: Screen update methods, Greg Haerr
Next in thread: 28 May 2007 18:59:40 +0100 Re: Screen update methods, Junior

Subject: Re: [nanogui] Re: Screen update methods
From: "Greg Haerr" ####@####.####
Date: 28 May 2007 18:59:40 +0100
Message-Id: <044f01c7a151$c9347670$2f01a8c0@HaydenLake>

: But I use GrSetBackgroundPixmap instead of GrCopy, since the server calls
: the blit function for me always when needed.

This is a somewhat tricky method of using blit to update a
window with changing content, since the applications programmer
won't know when exactly it happens.  Pretty interesting though,
since this method effectively updates a window area from
an offscreen pixmap almost automatically.  Note that it 
doesn't update the window just because the pixmap
has changed though...  you would need a timer-based 
GrClearWindow call to force redrawing for that case,
and then the system would redisplay the entire pixmap,
rather than just the modified portion.  It might be better
to keep an update clip region when the offscreen pixmap
is updated, to speed the double buffering draws.

Regards,

Greg


Previous by date: 28 May 2007 18:59:40 +0100 Re: Screen update methods, Greg Haerr
Next by date: 28 May 2007 18:59:40 +0100 Re: ADS 7843 Touchscreen Solved ! Touchscreen issues and queries, William IN
Previous in thread: 28 May 2007 18:59:40 +0100 Re: Screen update methods, Greg Haerr
Next in thread: 28 May 2007 18:59:40 +0100 Re: Screen update methods, Junior


Powered by ezmlm-browse 0.20.