News for hackers. Stuff that matters.
Re:Pixi3D – 3D rendering library for the web. Built on top o... by panzerboiler on Thursday December 22, 2022 @02:50AM (#34090904)
Are you saying that windows ignores the `powerPreference: "high-performance"` setting of the WebGL context creation?
Re:Pixi3D – 3D rendering library for the web. Built on top o... by oplav on Thursday December 22, 2022 @10:06AM (#34093982)
Yes, we thought that was strange too but it kind of makes sense if the process is unaware that the GPU exists because of the OS settings.

As an aside, we also discovered that `powerPreference` is only a hint according to the spec, so there's no guarantee that an implementation will adhere to it: https://registry.khronos.org/webgl/specs/latest/1.0/