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]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: 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 DoyleSent:
Saturday, May 17, 2008 12:00 AMTo: [EMAIL PROTECTED]: [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.
_________________________________________________________________
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