Webgl2 in Deno i.e. for unit testing
nodejs has this challenge that there is no way to run webgl2 (or webgpu), i.e. for unit testing. There is a solution for webgl1, through the use of https://github.com/stackgl/headless-gl. Is there a way to run webgl2 in deno, headless?
3 Replies
No, support for webgpu is being worked on though. So that might land soon
to follow that up: webgl2 most likely will never be implemented
*most likely never implemented in core
I could see it being done as a really painful project in userland
DJ has an open issue for it on his canvas impl