From: John F. <joh...@cy...> - 2011-03-22 11:53:56
|
OK, those are in. - John On 3/18/2011 1:24 AM, John Tsiombikas wrote: > Hello, > > First I need to point out that at the moment, the svn head is broken due > to a missing file from the multitouch patch that was recently applied, > namely freeglut_xinput.c. > The file exists in the original patch, so my guess is that John didn't > notice the creation of this new file and forgot to svn add it. > > Now onto my new patches (attached)... > > invisible_messages.patch > - fgWarnings and company used VFPRINTF to output messages, which was > defined-out to nothing due to HAVE_VFPRINTF being undefined due to a > missing check in configure.ac > - Removes again the nonexistent "Error" demo program from configure.ac > The last commit r906 reverted part of my earlier fix about this. > > more-gamemode.patch > - Added the ability to change refresh-rate in gamemode when using XR&R > >= v1.1. Thanks to Diederick for pointing out the omission. > - Fixed the only pathological case that I could find where the > interaction between the XR&R and the XF86VidMode mode switching code > would lead to an inconsistency. Namely: failing to save the current > settings with xrandr and falling back to xf86config, but succeeding to > switch the resolution with xrandr thus requiring a restore from the > invalid xrandr previous-values state. Again thanks to Diederick for > reminding me to check all potential interactions between the two. > - Made the XRandR code behave correctly and use the current settings, > when the width and height are unspecified (-1). > - Fixed a potential but highly unlikely problem where mode switching > could fail if someone else switched the video mode under our feet at > *just* the right time between XRandR get and set calls. Now following > the recomendation in the extension specs to try again if that happens. > - Fixed a mistake in Diederick's untested gamemode changes for X11. > There was an invalid assumption that a call to fghChangeDisplayMode > will always be preceeded by a call to fghRememberState, leading to the > use of uninitialized variables and eventually a divide-by-zero when > calling glutGameModeGet(GLUT_GAME_MODE_POSSIBLE) and the XF86VidMode > code got executed. > - Moved the code that saves/restores the mouse pointer location, when > switching to gamemode and back again, out of the XF86VidMode ifdef. > - Added an extra ifdef to avoid compiling an extra almost empty dummy > function on platforms other than UNIX/X11. > > If you need any further clarifications let me know. > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > _______________________________________________ > Freeglut-developer mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer > |