Re: [AD] al_acknowledge_display_disconnected

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Some experimentation may be interesting here. See if we can get rid of the bitmap backups on iOS and just save bitmaps in this notification method. Not sure if I tried that, and probably won't right now because I'm behind schedule on some things. But perhaps in the future.

(Also, I said "the one iOS sends you", I meant the one iOS sends to Allegro)

On 2012-05-22, at 7:09 PM, Trent Gamblin wrote:
> There are two events: The one iOS sends you and the one Allegro sends the user.
> 
> You get the one from iOS when a display is disconnected -- as far as I can tell, as soon as you get it your gl state may still be valid but you've got the clean it up, destroy it, and return from that method.
> 
> The Allegro event is sent first thing when the iOS event is received by Allegro. After that, that method, which is called from some other thread, waits for the display to be destroyed and then does some housekeeping and returns.
> 
> HTH
> Trent





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/