@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):