obs-studio/plugins/win-capture/get-graphics-offsets
jp9000 f02342ac0c win-capture: Add get-graphics-offsets helper
Before, game capture would find addresses to important graphics
functions by creating a graphics context for the desired API inside of
the hook, and then find the function addresses that way.

The big problem with that is that the context could often cause the
hooked application to crash, especially if another hook was active.

This bypasses that entire need by a simple console application that
creates the contexts, finds the hook address offsets and then returns
them via console output.
2014-12-09 14:21:06 -08:00
..
CMakeLists.txt win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00
d3d8-offsets.cpp win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00
d3d9-offsets.cpp win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00
ddraw-offsets.cpp win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00
dxgi-offsets.cpp win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00
get-graphics-offsets.c win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00
get-graphics-offsets.h win-capture: Add get-graphics-offsets helper 2014-12-09 14:21:06 -08:00