5 ms·
What's used on platforms where Direct3D doesn't exist?
by cptskippy 6y ago
What's used on platforms where Direct3D doesn't exist?
- jcelerier 6y agoOpenGL directly, no ?
- cptskippy 6y agoWhat about MacOS? Isn't OpenGL deprecated?
- olliej 6y agoANGLE is used to to a source to source translation irrespective of backend - it normalizes the source input to various GPUs (dropping things that have historically been funky like comment parsing, #controls, dodgy constructs, disallowed constructs, etc) [Source: I worked on the original spec and spent a lot of time trying to prevent the more egregious security and privacy problems]
- pjmlp 6y agoBesides Apple devices, not on game consoles.
- jcelerier 6y ago... but Google Chrome is not running on game consoles anyways ? Blink likely can, but then it does not necessarily use ANGLE, e.g. for instance QtWebEngine definitely does not use ANGLE on Mac / Linux but does native GL calls instead.
- pjmlp 6y agoPS 4 dashboard was done in WebGL. https://news.softpedia.com/news/The-PS4-UI-Is-Built-Using-WebGL-a-Web-3D-Graphics-Technology-400937.shtml https://news.softpedia.com/news/The-PS4-UI-Is-Built-Using-We...
- jcelerier 6y agoI don't understand your point. Yes, it's using WebGL. Do you think that it's going to do WebGL -> OpenGL ES 2/3 calls -> ANGLE -> Direct3D -> PS4 graphics driver (like it does on e.g. chrome on windows) ? No, it's likely doing WebGL -> PS4 proprietary graphics API -> PS4 graphics driver, not going through ANGLE or whatnot
- pjmlp 6y agoIt uses a Chrome fork, so most likely Sony added LibGNM backend to ANGLE instead of redoing the whole graphics stack for Chrome.
- jcelerier 6y agobut why would it go through ANGLE's libGLESv2.so and add a backend to that for the PS4 when the PS4 team could most likely provide their own libGLESv2 which maps directly to their driver (since they were doing that already for the PS3) ? As this is what chrome actually calls, gles functions.
- pjmlp 6y agoUnless I missed something, when were they doing that with PS3? The only effort to do any GL like stuff was on the PS2, with GL ES 1.0 + Cg, an effort that was dropped when almost no dev cared to use it. Other than that there was the PSGL library for PS2 Linux. Anyway, I did a bit more research and Chrome was actually only used for development purposes, they created their own WebGL engine on top of PhyreEngine for the console OS. https://www.youtube.com/watch?v=sIhtcUvi0BQ&t=3325s https://www.youtube.com/watch?v=sIhtcUvi0BQ&t=3325s
- turminal 6y agoThere's no need to translate?
- skymt 6y agoANGLE has OpenGL and OpenGL ES backends in addition to Direct3D, as well as partial Metal support. https://chromium.googlesource.com/angle/angle/+/master/README.md https://chromium.googlesource.com/angle/angle/+/master/READM...
- kevingadd 6y agoOpenGL or Vulkan as appropriate. AFAIK there's a Metal backend in development for macs but it's not finished yet.