, many thanks for your work!
There are some questions about your code.
I need to call setGL16Mode() for every page in GL16 mode, but A2 and DU modes required setting mode only once. I.e. if I skip setGL16Mode() before draw, device is fully refreshed. But how I can set "default mode" for DU, i.e?
Other issue is about same, but in other context - before calling "Setting Dialog" (or any other fullscreen dialog) I need to turn controller onto "default mode" - there are many artefacts on screen without this. With GL16 this is not question, but when selected DU or A2 mode... Temporarily I call setGL16Mode() - this is better then nothing.
Another question - NomadRunserver
suggested GL16 + ACTIVE mode for fast page turns, but GL16 + ONESHOT_ALL in your code (in comments, if precise). This is better?
Originally Posted by DairyKnight
Here's the Epd source as promised.
All modes should be there. Simplest way to use is putting:
as the first line of your onDraw() listener.
setGL16Mode() in DairyKnight
code invokes GL16 + ONESHOT
1 - ACTIVE
2 - ONESHOT
3 - CLEAR
4 - ACTIVE + ALL
5 - ONESHOT + ALL
6 - CLEAR + ALL
Modes 4, 5 and 6 are permanent, 1, 2, 3 - temporary.
CLEAR modes make full refresh.
I can't see much defferences between ONESHOT and ACTIVE, but last seems to be more clear. I preferred ACTIVE + ALL.
BTW, nook reader make full refresh on pages with images and next one. Wise decision, because partial refreshing lead to ghostings and artifacts in such cases.