01-29-2010, 10:47 PM | #1 |
Guru
Posts: 976
Karma: 687
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 01:50 AM. |
01-31-2010, 11:10 AM | #2 |
Enthusiast
Posts: 34
Karma: 10
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.
tovarish |
Advert | |
|
02-02-2010, 05:33 AM | #3 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Tovarish, thanx for your kind offering.
I am getting some progress now. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multi-HTML to anything | sidd.artha | Calibre | 4 | 10-05-2010 04:34 PM |
Multi column sort? | nexus100 | Calibre | 1 | 07-11-2010 11:19 PM |
Multi level TOC | PAQUITO | Bookeen | 1 | 12-23-2009 03:57 AM |
Multi-HTML Help! | tarifelagund | Other formats | 4 | 09-07-2009 03:49 PM |
Multi-format Reader | theplotthickens | Which one should I buy? | 5 | 05-04-2009 03:19 AM |