David Megginson wrote: > Does glViewport have any significant overhead? Don't we have to > call it every frame anyway (I know the panel code does so).
No. It just sets scaling factors to turn the [-1:1] square produced by the projection matrix into screen coordinates.. On cards with hardware geometry processing, it requires a round trip on the AGP bus and probably flushes the vertex pipeline. Still, once per frame is just noise. Andy -- Andrew J. Ross NextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com "Men go crazy in conflagrations. They only get better one by one." - Sting (misquoted) _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
