ToGL intercepts calls to Direct3D and replaces them with an OpenGL equivalent. There's a performance hit of course, but it's relatively small. Unfortunately, ToGL only supports Direct3D 9.0c so this piece of software will probably primarily be used to re-release older titles on OS X or Linux.
The code, aptly named ToGL, was uploaded to GitHub by Valve developer Pierre-Loup A. Griffais — a fantastic name that he sadly abbreviates to Plagman. ToGL is taken straight from the Dota 2 source tree and supports a subset of Direct3D 9.0c, bytecode-level HLSL to GLSL (shader) translation, and some Shader Model 3 (SM3) support. The code is provided as-is and completely unsupported; Valve says you’re free to use it however you wish, and you can submit modifications to the GitHub repository if you like.Source: ExtremeTech