title: OpenGL/DirectX Hook - Similar to FRAPS
body: <p>Is it possible to detect what applications are using OpenGL or DirectX similar to what FRAPS does? (Possibly using some form of hook)? I probably won't need to actually draw to the window, I just need to know what processes are doing some form of 3D rendering for the time being.</p>
  
  <p>(Edit:)
  In case you are not familiar with it, FRAPS is a program that can be used to draw a "Frame-per-second" counter on a 3D application. FRAPS finds all running 3D applications by itself without needing you to specify the process name. </p>
  
  <p>Example of "Frame Per second" counter drawn to external game:
  <img src="https://i.stack.imgur.com/eZFNq.jpg" alt="enter image description here"></p>