Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Overlay: Add Direct3D 11 support #1082
Cleaned up, direct3d 11 related changes only from the previous pull request #177.
This PR adds overlay support for Direct3D 11.
It adds the fx11 (Effects 11) library as a submodule dependency.
A build has been tested to not break stuff on Windows 7 x64 (pre-SP) with
I did not review nyetwurks d3d11 state block and drawing code (yet).
This is pretty much on the level of the DX10 code in terms of quality. Which of course means I had a lot to nag but it should work just fine ;) Apart from my specific comments some general things:
We should resolve small and high impact stuff now and do the tedious stuff after merge. E.g. documenting the crap out of it is something we can always do later.
TL;DR: Usable and "reasonably" clean already and with a bit of work should be ready to merge. More potential for improvements later on.
To test; we should test with both an AMD and NVidia card. Should test that no crash, displays and updates in games, preferably load 2 game instances per game.
Tested running with (old) fraps and Dxtory fps counters, as well as steam overlay where applicable:
Failed to test UT3, Age of Chivalry - I was somehow missing files.
Have an AMD card.
Without dxtory and fraps World of Tanks does not crash.
The Hard Reset issue is present in the current Snapshot as well.
nVidia for me.
With Steam Overlay only.
Civ5 Gods and Kings DX11, DX9, both fullscreen
With Origin overlay + Shadowplay
BF4 x86 DX11, fullscreen.