FPS detector
Merge branch 'direct3d' into asyncread
fix merge conflict