View Single Post
Old 10-03-2008, 09:38 AM   #9
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Quote:
Originally Posted by hansel View Post
Antartica (and All)An alternative (and simple) approach might be:
- divide the screen in blocks (say 10x10 or 20x20)
- when we get dirty rectangle events: increment the dirty flag off the corresponding blocks
- when the timer expires: do a Typing or Full refresh depending on the sum of the dirty flags. Typing if the total dirty count has changes since last time (continue counting), Full if it exceeds a certain limit (then: reset it).
What do you think?
I implemented this: t works and the code is simple... It's a bit hard to integrate this as option in the existing xepdmgr, so I had to strip it... If somebody wants to play with it I can PM it...
hansel is offline   Reply With Quote