VOGONS


Valve ToGL

Topic actions

First post, by leileilol

User metadata
Rank l33t++
Rank
l33t++

https://github.com/ValveSoftware/ToGL

It's the D3D9->GL translator used for Valve's linux versions. Not really a portable wrapper

but could potentially lead to one

apsosig.png
long live PCem

Reply 2 of 3, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Added to the wrapper thread.

Noticed while surfing Anandtech at the Moe's drive-in. First thing I thought of was that thread.

How To Ask Questions The Smart Way
Make your games work offline

Reply 3 of 3, by laxdragon

User metadata
Rank Member
Rank
Member

It is more of a tool to help port your DX9 game to OpenGL. This comes from Valve porting their own games to Linux and Mac.

The following is a quote from our lead DirectX developer over at the Wine project.

It is *very* limited. It doesn't even have stateblock interface declaration, and it's surface implementation is pretty much none […]
Show full quote

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.

laxDRAGON.com | My Game Collection | My Computers | YouTube