|
From: James W. W. <os...@jw...> - 2004-08-07 02:41:32
|
On Aug 6, 2004, at 4:17 PM, Frank C wrote: > It appears Quesa rebuilds the GL context whenever it's resized, which > can take a good _long_ while if you have a lot of textures loaded > (pretty much rules out using live-resize windows on OS X). Would it be > reasonable to have a GLDrawContext_UpdateSize function to avoid > rebuilding textures for a resize event? I'm fairly certain all you > have to do is update the viewport and clipping rect - trashing the > context isn't needed or desirable. > > Comments? On the Mac, you would also need to call aglUpdateContext, i think. I do not see any analogous wgl call for Windows. I don't know if that means that the wgl layer does not need to be informed of a window resize, or if it means that you must recreate the context. -- <http://www.jwwalker.com/> |