Hello,
I have written an application where two instances of irrlicht are running (via two different irrlicht dlls). Now I encountered the behaviour that one of them gets a lot slower, when the other has a lot to display.
They are executed in two different threads and should run on different CPU-cores.
Is there a dependency between the two instances (I use directX) or is it just the GPU on my graphics card which slows it down?
Thanks in Advance
Kuzy
Are two instances of irrlicht independent?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Are two instances of irrlicht independent?
To avoid any sharing you should link Irrlicht statically into your app. In that case, two instances are for sure completely independent and only the gfx driver/gfx card will be shared and result in a slow down.
Re: Are two instances of irrlicht independent?
There can't be any sharing. This is not Windows 3.1/Windows 95. Every task has its own address space. The code of the shared object is mapped into it.
But what is the impact of asking the graphics driver to support two (independent) contexts?
But what is the impact of asking the graphics driver to support two (independent) contexts?