|01-29-2010, 11:47 PM||#1|
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Multi-threading in FBReader
I am studying the possibility of adding multi-threading capability to FBReader.
Currently, FBReader-0.12.1 is running on my iLiad without any problem, but it takes 5 seconds to flip a page. Of the 5 secs, it takes 2 seconds for FBReader to refresh its GTK components, 1 second for xepdmgr to write data to framebuffer, and 2 seconds for iLiad to draw screen. If I can make FBReader prepare the next page in background, the speed of page-flip will be improved to 3 seconds.
Although I have created my homebrew app capable of doing such task by using pthread on iLiad, I have difficulities in modding FBReader because of the complexity of FBReader.
In the case of iPDF, iPDF creates image of content in the background and write the image to framebuffer. Since FBReader have several GTK components on screen, the iPDF way will not be working unless all the GTK components can converted to an image in the background. The problem is also the same even with xepdmgr, except that the step to convert GTK components to image is not needed.
If you have any idea or hint, please share it.
Last edited by ericshliao; 01-30-2010 at 02:50 AM.
|01-31-2010, 12:10 PM||#2|
Join Date: Oct 2004
Device: HTC Touch Pro2
I hope you can do this. If you need any help you could contact me. I am an experienced c++ developer albeit with Qt, boost threads.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Multi-HTML to anything||sidd.artha||Calibre||4||10-05-2010 05:34 PM|
|Multi column sort?||nexus100||Calibre||1||07-12-2010 12:19 AM|
|Multi level TOC||PAQUITO||Bookeen||1||12-23-2009 04:57 AM|
|Multi-HTML Help!||tarifelagund||Other formats||4||09-07-2009 04:49 PM|
|Multi-format Reader||theplotthickens||Which one should I buy?||5||05-04-2009 04:19 AM|