I'm working on a WPF application embedding a Win32 application (Unity window) thanks to a HnwdHost.
For performances reasons, we are obliged to set the framerate of the unity window to 30 FPS. However, when the other user controls of the WPF application try to display animations, these animations are not fluent (eg. when I try to quickly highlight several buttons, the highlighting takes time to follow the sursor of my mouse). And if I set the framerate of the Unity window to 500, I have not any problem anymore.
This is how I analyse this situation : During the animation, the WPF GUI seems to try to refresh all its controls. However, as the framerate of the Unity host (HnwdHost) is to slow, it takes a great time to be refreshed, and all the other controls seems to wait for it.
So, do you know if there is a way to desynchronize the render of the WPF application and the render of the Unity window (embbeded thanks to HwndHost) ?