-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-03-11 19:02, schrieb Artem S. Tashkinov:
Hi,
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 d3d9 interesting.
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 though.