3 ms·
You can still kind of have that experience by using ANGLE[1] as your OpenGL implementation. It lets you use the same dialect of OpenGL ES on Windows, Linux, Mac
by modeless 7y ago
You can still kind of have that experience by using ANGLE[1] as your OpenGL implementation. It lets you use the same dialect of OpenGL ES on Windows, Linux, Mac, and Android, with consistent behavior across platforms.
ANGLE is the base of the WebGL implementation in Chrome. For WebGPU, we (Google) are working on a new native library called Dawn[2] that will fill the same role that ANGLE does for WebGL. I'm personally hopeful that Dawn itself can eventually be useful as a cross platform graphics abstraction for native apps as well as web apps. There's also Mozilla's gfx-rs[3] in the same space.
[1] https://github.com/google/angle https://github.com/google/angle
[2] https://dawn.googlesource.com/dawn https://dawn.googlesource.com/dawn
[3] https://github.com/gfx-rs/gfx https://github.com/gfx-rs/gfx
- bla3 7y agoThat's nice, but it's a pretty big dependency to add.