On Wed, 2003-02-12 at 06:20, Hartmut Van Waregem wrote: [snip] > > What I need for my application(s) is > - get good resolution (ie. 1280 x 1024 in 16 bits) > - be able to display a small MPEG stream (from a > file) on the TV output and a Web Page on the VGA > output at the same time > > I would really appreciate if someone could let me know > if all this is possible / easy / complex etc. to > implement based on either directfb and/or the linux > framebuffer driver. >
Adding support for more video memory or for more video modes is best done at the fbdev layer. Supporting multiple/simultaneous display output can be done at the fbdev or directfb layer. If you add it to fbdev, you will support more apps, but you might have to do it in a nonstandard manner. See matroxfb, it has a lot of features that is well outside what a "normal" fbdev driver should do. Adding this to DirectFB is cleaner, just register a new layer. The web page can be displayed to the primary layer, and the MPEG stream to the secondary layer. However, you will be limited to apps ported to DirectFB. Supporting more drawing functions, special effects, etc is best done in DirectFB. If you have the docs to your hardware, or have working code, adding them should not be too hard. To summarize: just think of the fbdev layer as a means of setting the video mode, and as a way to provide userland access to video memory, registers, interrupt services, etc. Anything falling outside is userland. Tony -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
