|
From: James W. W. <os...@jw...> - 2004-04-17 07:28:18
|
On the OpenGL list, it has been mentioned that one can get a small performance boost by using the macro interfaces to OpenGL. Basically, this means that instead of relying on a current context, you pass the OpenGL context to each OpenGL call. Macro definitions hide the extra parameters, so that the individual calls to OpenGL do not look any different. However some Quesa internal functions would need an extra parameter. I expect that in most cases the gain would be small, maybe 1%. However the "multibox" test went up from 4.7 FPS to 5.0 FPS with this change. This would not affect platforms other than Mac. Any comments, or objections to my checking it in? -- <http://www.jwwalker.com/> |