[SDL] Refresh rate patch - worth it?

Michael Bandsmer mbandsmer at yahoo.com
Mon Sep 11 22:50:34 PDT 2006


I think having a way for the end-user to select a more ideal refresh
rate than the default could be quite useful.  I remember a monitor I
had where at 800x600, the only refresh rate that looked good was 75Hz,
as opposed to the 85Hz that looked good for every other resolution.

In a similar vein, having the end-user be able to override SDL's
default selection of video-resolution would also be useful.  (E.g. many
1280x1024 LCD's only have square pixels at that single resolution.) 
See feature request <http://bugzilla.libsdl.org/show_bug.cgi?id=302>. 
Has anyone looked at how feasible it would be to implement this kind of
overriding in SDL_SetVideoMode?

Anyway I don't want to hijack the discussion about refresh rates, but
it seems to me that overriding SDL's selection of refresh rates should
be considered together with an overriding of the video-resolution, so
that the end-user can completely control the screen mode an application
will use.

And I for one would *really* like to see another 1.2 release with these
features available, i.e. environment variables so the user can ovveride
physical width, physical height, and refresh rate.

Mike

--- Gabriel Gambetta <mystml at adinet.com.uy> wrote:

> I quickly hacked SDL to be able to request a specific refresh rate
> for
> the windib driver. It seems to work. The parameter is passed through
> an
> environment variable so there are absolutely no API changes.
> 
> The question is, I've done this in SDL 1.2 - should I submit a patch?
> Or
> is 1.2 considered legacy already and not worth patching? Or is this
> feature useless for everyone except me?
> 
>         --Gabriel
>         


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the SDL mailing list