Does the attached patch for 1.0.1 help you at all?
 
It extends layer config to select modes based on scan mode and refresh rate,
and was intended to solve exactly your problem. However it is somewhat
against the current trends in the API so don't expect it to be adopted and I
haven't even thought about moving to 1.1 yet.
 
-stephen

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James Doyle
Sent: Saturday, May 17, 2008 12:00 AM
To: directfb-dev@directfb.org
Subject: [directfb-dev] Using DFB to switch between modes with same
resolution but different refresh rates.



Hello,

 

I have a Linux Frambuffer driver that supports two modes with the same
resolution, but with different refresh rates (1920x1080x32bpp @60Hz and
1920x1080x32bpp @50Hz). The problem I have is that I can not find anyway to
have my DirectFB application dynamically switch between these modes. From
what I understand, DirectFB will use the first mode it encounters inside the
fb.modes file that matches the resolution and pixel depth. This leaves me no
option but to manually modify the fb.modes and place the mode I want at the
beginning.

 

 

If anyone has any ideas or suggestions, I would appreciate it very much,

 

 

thanks for your time,

 

James


  _____  

Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
<http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount>

Attachment: DirectFB-1.0.1_fbdev_extended_layer_config.patch
Description: Binary data

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

Reply via email to