|01-26-2008, 12:50 AM||#1|
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
What if iLiad adopts GTK on DirectFB?
When I traced source code of iPDF and tried to code a GTK app for iLiad, I found that screen refresh on iLiad is not in normal GTK way. iPDF use some function to write to framebuffer. (jharker in this thread will provide more info: http://forum.irexnet.com/viewtopic.php?t=1269).
When I tried to find more info on framebuffer, I found that there is a DirectFB project, and GTK is also supported on DirectFB. (http://www.directfb.org/wiki/index.p...TK_on_DirectFB)(http://www.directfb.org/)
Honestly, I am totally ignorant about DirectFB. But I wonder if it can be ported to iLiad. If it does, maybe we can get better performance.
|01-26-2008, 06:36 AM||#2|
Join Date: Jun 2006
Location: Madrid, Spain
Device: iliad, onhandpc, newton, zaurus
The main problem with Gtk on the iliad is that it has not been modified to make itself the necessary refreshes of the screen, so the app must do them explicitly when it detects that some Gtk widget has changed its appearance or updated its contents.
Using directfb one would not need the X server running, so one layer less (but having X has a lot of advantages, so much that there is a port of X that is capable of running in DirectFb).
Last time I checked (and it was indeed a long time ago), directfb fared well, but had problems when you wanted to display multiple apps simultaneously.
One more thing: the reason that ipdf uses the fb directly is to be a little more responsive when flipping pages, but normally that's not so critical.
That said, is possible that DirectFb can have advantages in the refreshes front (it's a small codebase, thus more friendly to hack in some refresh algorith in there), but I would expect that the advantages in performance be very small.
Hope this makes things a bit more clear :-).
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|iLiad Applying DR GTK+ patches to iLiad||ericshliao||iRex Developer's Corner||16||03-14-2010 06:39 AM|
|iLiad Compile GTK application on Iliad. Help||vschmidt||iRex Developer's Corner||9||11-25-2008 02:49 AM|
|iLiad [ILIAD]GTK developpement||Olivier78180||iRex Developer's Corner||7||07-14-2008 06:22 PM|
|iLiad Compiling GTK apps for iliad||rudysplif||iRex Developer's Corner||3||03-17-2008 01:59 PM|
|Industry adopts new e-book standards||Bob Russell||News||16||06-22-2006 02:36 PM|