Effects11 is quite heavy, in that it pulls D3DCompiler_43.dll (x86)
and D3DCompiler_47.dll (x64) into our Mumble installations on Windows.
Together, these two DLLs are ~6MB in size.
Also, the removal of the Effects11 library itself cuts the sizes of
the overlay DLLs by more than half:
mumble_ol.dll with Effects11: 407 KB
mumble_ol.dll without Effects11: 162 KB
mumble_ol_x64.dll with Effects11: 497 KB
mumble_ol_x64.dll without Effects11: 211 KB
Directly using the split shaders is just as easy, and uses less code than
using the Effects11 library. At least for our simple shaders.
And we gain a lot from it.
Done.
* For D3D10 and D3D11 the underlying DXGI provides the present and reset
functions. Hence, those hooks are in dxgi.cpp rather than the respective
d3d files.
** Remove unused hook variables