[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] opengl and framebbufer

From: Daniel Amor Martín
Subject: Re: [Gnash-dev] opengl and framebbufer
Date: Thu, 03 Jan 2008 10:40:50 +0100
User-agent: Thunderbird (Windows/20071031)

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.


Attachment: daniel.vcf
Description: Vcard

reply via email to

[Prev in Thread] Current Thread [Next in Thread]