LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.74k stars 632 forks source link

wgpu bindings #614

Open germangb opened 3 years ago

germangb commented 3 years ago

With OpenGL slowly falling into decline, and more modern APIs being too complex for most users, there's a need to bridge the gap between the simplicity of GL and the complexity of VK. Besides being developed as a web standard, WebGPU is a candidate to bridge this gap in the native space.

codechapin commented 2 years ago

I think this can leverage the work done to cross-compile WebGPU/Dawn for Mach Engine.

hamoid commented 1 year ago

Would this help with Android support? https://github.com/LWJGL/lwjgl3/issues/715

danielperano commented 1 year ago

I'd like to bump this as an item of interest - with WebGPU starting to roll out across browsers, it seems to be approaching a stability point. Maintenance/portability costs are mitigated somewhat by having two independent implementations (wgpu-native & dawn), and the API surface is simple (single header, maybe dual header in the case of wgpu-native if there's anything of interest in wgpu.h). It might even be feasible to generate bindings to both implementations and allow users to select one at runtime to better address the platform support disparities that may arise between two competing implementations.

DontingK commented 9 months ago

Is there a support plan for webgpu?