Those options are quite interesting, I think I will try the X server one
just to see if the performance I miss by using a X server is compensated
by a speed increase with OpenGL.
If I didn't had hardware accel I would never use the previous one,
framebuffer with AGG works well.
Talking about DirectFB, in this moment I don't have time to give it a
hint, when the project is finished we are planning to donate some
hardware in order to improve gnash support in embedded world :-)
Udo Giacomozzi escribió:
Hello Daniel,
Wednesday, January 2, 2008, 9:05:49 PM, you wrote:
DAM> The thing is that if we cannot use OpenGL then the application will run
DAM> a bit slow and we won't be able to use all the functionality that would
DAM> be interesting, and we could use a controller that has no OpenGL accel,
DAM> which is cheaper.
Of course OpenGL is faster than the software renderer. I currently see
three possibilities:
- use the normal GTK+OpenGL combination.
advantage: easy to do
disadvantage: you need a X server, which is suboptimal for an
embedded device
- have the FB GUI support OpenGL
advantage: minimal footprint, very interesting
disadvantage: don't ask me how to do this. I guess there is no
generic library for all graphic cards, but I could be wrong. Event
handling in FB GUI is still very basic, especially regarding
keyboard. And I still couldn't manage a clean switch to
framebuffer graphics mode to get rid of text output. Apparently
it works only with "root" user. :(
- implement a DirectFB GUI
advantage: great support of graphic cards, great event handling,
acceptable memory footprint, would be interesting for
non-fullscreen mode too
disadvantage: no work has been done yet for this
DAM> I have been trying gnash on my PC with GTK/AGG and with SDL/AGG, just to
DAM> start trying, and I have found that no fullscreen mode is provided in
DAM> the GUI, compared to FB which is fullscreen by definition.
DAM> is it possible to have fullscreen gnash using GTK?
I'm pretty sure it's relatively easy to have the GTK GUI start with a
frameless window. This can be probably done with a few lines. AFAIK
you can also create a frameless GTK Window and pass it's ID to Gnash
so it will display the movie there (used normally for browsers). Other
developers may know more about this.
DAM> Thanks for your help, I know I'm making too many questions.
I'd say this is a very interesting topic.
Udo
begin:vcard
fn;quoted-printable:Daniel Amor Mart=C3=ADn
n;quoted-printable:Amor Mart=C3=ADn;Daniel
org:RBZ Robot Design S.L.
email;internet:[EMAIL PROTECTED]
version:2.1
end:vcard
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev