Embracing the free trade of information popular among the Linux community it now finds itself in with SteamOS, Valve Software has posted the sourcecode of its ToGL abstraction layer to Github
, under an open license that essentially permits the Linux community to do whatever the hell the want with it (thanks GamingOnLinux
The purpose of ToGL is to facilitate porting a game that has been designed for Windows (or Xbox) using the DirectX API over to OpenGL so it can run on the Valve's new Linux-based SteamOS or other Linux distributions.
Provided as is and unsupported, Valve notes that the published code "most likely won't build by itself" and that some sections are currently hardcoded for Source Engine games. Even for developers that do get it working, it doesn't seem likely that it would provide much better performance than just running WINE in its current state, but the idea behind releasing it half-baked is probably to encourage the greater game development community to contribute and improve on to epxand the options for games on Linux in general.