GPUOpen-Tools / ocat

The Open Capture and Analytics Tool (OCAT) provides an FPS overlay and performance measurement for D3D11, D3D12, and Vulkan
325 stars 29 forks source link

Consider switching from minihook to MSR Detours for API hooking #91

Open rys opened 3 years ago

rys commented 3 years ago

Microsoft Research has open sourced their Detours library for interception and hooking of external library code. OCAT currently uses minihook, which is functional, but Detours might provide better compatibility with applications in situations when minihook's hooking strategy fails.

It's worth investigating it at least, to see if it might provide benefits.