Commit Graph

3 Commits

Author SHA1 Message Date
Mikkel Krautz
3763d596c6 overlay: replace use of Effects11 with direct use of our split HLSL shaders.
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.
2015-11-28 10:05:07 +01:00
Kissaki
834365e228 Cleanup: Remove unused Hooks
* 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
2015-05-16 15:38:41 +02:00
Kissaki
9544bec1f9 Overlay: Add Direct3D 11 support
* Based on an initial patch by Benjamin Jemlich
* Effects11 code based on changes by nyet
2014-01-10 22:51:11 +01:00