I need some help with DirectX. I?m trying to create a MDI application, whose MDI-Childs uses the DX engine to draw to their clientrects. My first thought was to create a IDirect3DDevice9 for each child window, but I rapidly saw that I could open only a few of them until the DX engine has got out of memory.

Has somebody tried to do something similar? Basically I?m looking for an approach to draw into different windows with DX.


Posted on 2005-08-02 08:18:19 by Biterider
My two engines, "ilix" and "iDraw" do that. iDraw being specialized in MDI, while Ilix can handle fullscreen games too.
I've found DirectDraw is the only usable acceleration for MDI.
I'll send you the latest build of iDraw
I forgot - it uses my own libraries, macros, and ATC2, so you'll have to modify the src code
Posted on 2005-08-02 10:40:29 by Ultrano
Afternoon, BiteRider.

CreateAdditionalSwapChain is what you're looking for.

It's what I've used for the View-Windows of a basic modelling program.

Posted on 2005-08-03 20:42:30 by Scronty
Hai and also if you have made it I need to know your CPU usage.
Posted on 2005-08-05 07:31:03 by realvampire
Here is the application skeleton so you can measure the CPU usage on your system.
Posted on 2005-08-05 07:39:15 by Biterider