View Single Post
Old 05-17-2009, 11:40 PM   #14
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by Mackx View Post
[...]
After modifying to always update the widget, I could get something on the screen. However this is very slow.
You could try using one of the other waveforms to always update the widget. You used waveform 1 in the ioctl() call in your Xournal port, try doing exactly the same thing with waveform 6 (very very fast, but rounds off colors to either black or white), or waveform 9 (still fast, but rounds off colors to 4 shades instead of 16). Neither of these cause the screen to flicker like the 16 shade full refresh of waveform 1.

You can see waveforms 6 and 9 in action while entering text in a GTK text entry widget, while changing tabs in the settings dialog in FBReader or while toggling shift/caps on the Matchbox keyboard.

Quote:
Originally Posted by Mackx View Post
[...] A terminal window would have been handy ... ;-)
Lol, the old chicken and egg problem
Grimulkan is offline   Reply With Quote