First post, by lizard78
- Rank
- Newbie
Hi all,
I've been writing a Glide backend for my game and I noticed the Voodoo cards don't really handle multitasking very well. It always freezes for me when tabbing back in. I've tried totally closing the glide context and re-initializing everything (uploading textures again etc) but it never works correctly. It seems like most Glide games simply disable task switching (alt tab etc) but I'm wondering if there are any Glide games that actually support it (that you can alt tab and back into)? I thought it was maybe an issue specific to the Voodoo 1 / 2 cards, but a Voodoo 3 exhibits similar odd behaviors. The 3dfx OpenGL ICD also doesn't really seem to handle this correctly - which leads me to believe this was just never really correctly implemented. Has anyone ever figured this out?
P.S.
The glide 3.x docs mention grSelectContext() to determine when resources have been lost (due to a different task being scheduled). This API makes no sense to me, what would happen if a task swap happened during the middle of rendering? I don't know, it seems kind of naive. Only thing I can kind of infer is the docs mention "inactivity" - I wonder if it is meant to deal with screensavers or something?