Re: [AD] Open GL bitmaps |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Peter Hull wrote:
Possible solutions are for each display to manage its bitmaps, or simply to hold on to a global reference to the GL context while the app is running (all Cocoa memory management is done by reference counting)
Yes, we need each display to manage its own bitmaps for several reasons. Another reason is the fullscreen display resize event, which on some platforms (so far only Windows AFAIK) requires to recreate all the resources (a window, contexts...) and we have to preserve the bitmaps from being destroyed. I think that can be done in a platform independent manner.
-- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |