[Flightgear-devel] ATIScreenSizeHack() in main.cxx

2013-04-22 Thread Curtis Olson
Recently I noticed an alert on my console when starting up the git version
of FlightGear:

Enabling ATI viewport hack

This is odd because I have nvidia hardware.  I tracked down that this
message was coming from main.cxx, specifically this chuck of code:

if (fgGetBool(/sim/ati-viewport-hack, true)) {
SG_LOG(SG_GENERAL, SG_ALERT, Enabling ATI viewport hack);
ATIScreenSizeHack();
}

This takes the value of /sim/ati-viewport-hack or true if the value is not
set at all (like on my nvidia based system.)  Shouldn't this default to a
false value?  I can change the default in git unless someone has a specific
reason why it should be the other way?  Any objections to defaulting this
to 'false'?  (I think this is James code from 'git blame')

Thanks,

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ATIScreenSizeHack() in main.cxx

2013-04-22 Thread Gijs de Rooy
Hi Curt,

 Shouldn't this default to a false value?

this is enabled by default, because it seemeds to have no effect on NVidia 
hardware, but a big positive effect on ATI. You may remember seeing lots of 
reports about quarter screen size issues.


The warning could be moved to a lower loglevel or removed all together, as it 
seems to have no negative side-effects on NVidia indeed.

Cheers,
Gijs
  --
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel