适用于MacOs Catalina的Electron OpenGL

我正在构建电子应用程序,但是我遇到了一个错误,该错误使渲染变得非常缓慢,并导致cpu使用率很高

[1] Unable to create basic accelerated OpenGL renderer.
[1] Unable to create basic accelerated OpenGL renderer.
[1] Core Image is now using the software OpenGL renderer. This will be slow.

我试图找出答案,但是我找不到关于该问题的答案。有人对这个问题有任何想法吗?

gelanxier1989 回答:适用于MacOs Catalina的Electron OpenGL

Apple不赞成使用OpenGL,而推荐使用Metal。 https://www.macrumors.com/2018/06/05/apple-deprecates-opengl-opencl-gaming/

Electron中存在一个未解决的错误 https://github.com/electron/electron/issues/20944

本文链接:https://www.f2er.com/3162679.html

大家都在问