4 ms·
For the interested, google's Angle is the opposite : https://code.google.com/p/angleproject/ https://code.google.com/p/angleproject/
by paraboul 13y ago
For the interested, google's Angle is the opposite : https://code.google.com/p/angleproject/ https://code.google.com/p/angleproject/
- ygra 13y agoOnly for WebGL, though. (Edit: OpenGL ES 2)
- paraboul 13y agoWebGL is just an OpenGL ES 2 binding to JavaScript. OpenGL ES 2/3 is a subset of OpenGL 3/4. Angle translate GLSL shaders and OpenGL calls to DirectX
- pjmlp 13y agoSadly it is a bit more than "just", specially if one needs to write code across plain GL and GL ES.
- kaonashi 13y agoWhat hurts the most? I would think the imperative drawing stuff would be missed least.
- pjmlp 13y agoWhich OpenGL flavor to support 2.x, 3.x or 4.x, followed by which GLSL level to support, and which GL ES flavor to support 1.x, 2.0 or 3.0 and their respective GLSL levels. Not to mention vendor specific extensions and workarounds driver bugs. So one ends with multiple code paths, if several versions are to be supported. Similar to how HTML or POSIX are portable, but then again not so much.
- greggman 13y agoActually it's up to OpenGL ES 3 (which may or may not be good enough for your app)
- cscheid 13y agoNow someone needs to start a project to find a large, documented subset for which ANGLE(ToGL(x)) = x so we can all get rid of this historical two-standards-that-do-exactly-the-same-thing nonsense.
- IE5point5 13y agowell one of them isn't a standard so should be ignored
- kirkbackus 13y agoAll that reminds me of is this: https://xkcd.com/927/ https://xkcd.com/927/