Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Managed directx memory issue.
I'am currently writing an image editing program using directx in c#, it is an MDI application the problem is that when the container form loads the memeory usage is about 13,500 - 14,000kb that is with nothing loaded just the standard framework stuff. And when I instatiate a child form which uses directx the memory usage goes upto about 21,500kb Im not even doing much drawing here just two primitives with diffuse colour for test purposes, but the thing is when I minimise then restore the container the memeory usage goes down to about 13,400kb ?? also if I keep forcing the child form to redraw itself i.e. moving it, the memory usage slowly ticks up by about 100k. Can anyone help please
0 · ·