Hi James, Been there, done that, confused the hell out of customers, decided to bite the bullet and extend the API instead :-) -stephen
_____ From: James Doyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 10:03 PM To: Stephen GALLIMORE; directfb-dev@directfb.org Subject: RE: [directfb-dev] Using DFB to switch between modes with same resolution but different refresh rate Hello Stephen. thanks for the response. Yes you are right, that patch would have worked very well, too bad it has not been adopted. I have some ideas on how to make it work, but none of them are very attractive. I.E. we could do something weird like define the 50Hz mode as being 1920x1081 instead of 1920x1080, but I am not too keen on that idea. I appreciate your time. Regards, James. _____ From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; directfb-dev@directfb.org Subject: RE: [directfb-dev] Using DFB to switch between modes with same resolution but different refresh rates. Date: Mon, 19 May 2008 10:42:22 +0100 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> _____ 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>
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev