Valve has released a Direct3D to OpenGL translator (for a subset of Direct3D 9.0c)
stefandoesinger at gmail.com
Wed Mar 12 08:28:34 CDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Am 2014-03-11 19:02, schrieb Artem S. Tashkinov:
> Just wanted to let everyone know that Valve has released a
> Direct3D to OpenGL translator (for a subset of Direct3D 9.0c).
> More here: https://github.com/ValveSoftware/ToGL
> I don't know if it's of any use for Wine development however.
No, it's not. It is *very* limited. It doesn't even have stateblock
interface declaration, and it's surface implementation is pretty much
nonexistent. It doesn't care about any of the corner cases that make
Note that this is not an exhaustive review of this code. It's just the
first two things I found in a 2 minute look.
Those limitations make sense as design decisions for Valve's purposes,
but they make this wrapper useless for anything other than a cheap
compile-time abstraction layer between d3d and gl. Releasing this code
may be useful for other developers who want to port a game to Linux
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the wine-devel