View Single Post
Old 09-19-2009, 02:39 AM   #148
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
@Ericshliao: There will never be real partial updates: it is not implemented in the driver (see replies 81;82). Somehow, Irex never got to implement it

EDIT: maybe we should infiltrate in the Irex development team (http://www.irextechnologies.com/about/jobs)


What xedpmgr tries to do is: use the quick (and dirty, some ghosting, less grey levels) update for small changes, a full refresh (long, white flash first) for big changes. I'm afraid this is the best we can do...

Happy coding nevertheless!

@Antartica: I found an even simpler (and better) way to decide about the update: just add up the areas of all damaged areas, and check this total in a timed loop. Do a 'full' update if the total area gets bigger than some limit, a 'typing' update otherwise (and of course nothing if nothing changed). See https://dev.mobileread.com/trac/luai...ts/XX/main.cpp for my experimental implementation).

This approach has the advantage that a lot of small changes at the same location give a full update once in a while (the display get ugly otherwise):

Last edited by hansel; 09-19-2009 at 05:54 AM.
hansel is offline   Reply With Quote