I see some problem in your code:
1. It's not necessary to call erIpcStartClient() everytime doPaint() is called. Just put erIpcStartClient() in main() should be enough.
2. I guess the flickering problem does not occur during excuting doPaint(). It should occur after doPaint() is finished, so it is useless to call xepdmgrclient api there. Maybe you should try putting those function calls in individual function in FBReaderActions.cpp, such as void ScrollingAction::run().
|