dawn
05-26-2006, 08:05 AM
It's a pretty delicate problem, i guess ...
We are developing an application that's a kind of memory hungry (up to 1Gb) that displays various 3D scenes on the screen.
The problem is that, sometimes, on various machines (both ati and nvidia cards), the app crashes because of the MakeCurrent call. Sometimes it's just fail to set the DC and RC, doesn't crash, but, obviously doesn't display anything on the screen. Somehow, it "looses" the context.
I must specify that *all* gl calls are from the same thread and MakeCurrent is there every frame because of "future" developments (multiple outputs).
Our app runs inside internet explorer as an activex.
So, i will not ask you what is the problem (pretty hard without (explaining) the code), but to hear from you some ideas for this problem.
PS: also, on a specific machine, when the used memory is high (around 1Gb), all of the rendering goes messy ... wrong textures, wrong triangles. No gl errors thrown. If it's a memory problem, should give a out_of_memory error, right ?
We are developing an application that's a kind of memory hungry (up to 1Gb) that displays various 3D scenes on the screen.
The problem is that, sometimes, on various machines (both ati and nvidia cards), the app crashes because of the MakeCurrent call. Sometimes it's just fail to set the DC and RC, doesn't crash, but, obviously doesn't display anything on the screen. Somehow, it "looses" the context.
I must specify that *all* gl calls are from the same thread and MakeCurrent is there every frame because of "future" developments (multiple outputs).
Our app runs inside internet explorer as an activex.
So, i will not ask you what is the problem (pretty hard without (explaining) the code), but to hear from you some ideas for this problem.
PS: also, on a specific machine, when the used memory is high (around 1Gb), all of the rendering goes messy ... wrong textures, wrong triangles. No gl errors thrown. If it's a memory problem, should give a out_of_memory error, right ?