View Single Post
Old 09-19-2009, 09:39 AM   #149
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
Quote:
Originally Posted by ericshliao View Post
Just tried 1.9i, working fine.
Take djview4 for instance, when I tap on menu-bar, a menu-item list will drop down, that means only a small rectangle on the top-left of screen needs redraw. Ideally, I guess 1.9i will do a partial refresh in this scenario, but the result is the same with 1.9h, the whole screen got refreshed.
Yep. As Hansel said, the problem is that partial refreshes aren't implemented in the display driver of the iliad.

BTW, thanks for the testing (once more! ).

But I have an idea that, if it works, will allow us to overcome that limitation: brushes are indeed implemented (they are used for the progress bars and for the scribble library). If uploading brushes is fast enough, we could paint very small changed areas by uploading a brush of the "screenshot" of the changed area and using it.

Quote:
Originally Posted by hansel View Post
@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):
Mmmm... interesting. Will think about it . Thanks :-b.
Antartica is offline   Reply With Quote