Creating and Deploying Applications with the Direct3D11RenderSurface
Posted by Andrew BT on 03 March 2015 11:09 AM
How to Create Applications with the Direct3D11RenderSurface
SciChart ships with four renderer plugins - the High Speed (software), High Quality (software), DirectX (hardware) and Vector renderers. These all have independent properties such as speed, accuracy and now with DirectX - hardware acceleration.
Enabling the DirectX Renderer Plugin
To enable the Direct3D11RenderSurface, auto-detect hardware compatibility and fall back to software, please follow the steps in the article Easy Fallback from DirectX to Software Rendering without code-behind which presents a nice easy way to fall-back to software rendering (from DirectX) via a single attached property.
Deploying the DirectX Renderer Plugin - DirectX Runtime
The SciChart Direct3D11RenderSurface requires SharpDX v4.0.1 and also has a dependency on two native DLLs:
To deploy applications including the Direct3D11RenderSurface, you need to ensure that the native DLLs are copied to the output directory of your application. If not, you will get a DllNotFoundException warning you about the missing native DLLs.
To ensure these DLLs are included correctly, we suggest following the steps in this video below:
Testing your Application with Direct3D11RenderSurface
If you are deploying to a wide variety of harward, we recommend that you test your application which uses the Direct3D11RenderSurface on computers that do not support DirectX10, for instance, Windows XP machines, or machines without a DirectX10 compatible GPU installed, in order to check that the fallback to software rendering has been installed correctly.