Hello,

I've got a question on how to switch the resolution of the frame buffer 
using DirectFB.  Our hardware is a TI DaVinci platform.  It has a TFT 
display running at 176x220 (noninterlaced) and a NTSC output 
(interlaced).  The TFT display is the primary output device and the user 
is allowed to switch to NTSC.

During boot, I allocate NTSC sized buffers for the framebuffer.  If I 
use fbset prior to starting my DirectFB application, I can successfully 
setup the resolution and interlaced state of the framebuffer and run my 
application on either display.

When the application is running and I need to switch displays, I'm 
making a couple of calls to system( "'fbset ..." ) to change the 
resolution.  However, it seems that something in DirectFB is resetting 
the framebuffer back to the way it was prior to the fbset calls.

Since it looks like I'm fighting DirectFB, there must be a proper 
DirectFB way to change the resolution and interlaced state of the frame 
buffer.

Can anyone offer some suggestions as to what I'm doing wrong?

thanks,
Jeff

-- 
 Jeff Cooper // senior embedded software engineer
 
 LOGIC // engineering design services
 411 Washington Ave. N. Suite 400
 Minneapolis, MN 55401
 T // 612.436.5176
 F // 612.672.9489
 
 [EMAIL PROTECTED]
 www.logicpd.com

 / / / / / / / / / / / / / / / / / / / / / / / / / / / / 

 This message (including any attachments) contains confidential
 information intended for a specific individual and purpose, and
 is protected by law. If you are not the intended recipient, you
 should delete this message and are hereby notified that any
 disclosure, copying, distribution, or other use of this message,
 or the taking of any action based on it, is strictly prohibited.

 

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to