using http://html5test.com/
normal chrome browser: YOUR BROWSER SCORES 518 OUT OF 555 POINTS (WebGL 3D graphics
Yes )
atom-shell: YOUR BROWSER SCORES 497 OUT OF 555 POINTS (WebGL 3D graphics
No )
on both: “You are using Chrome 41 on Linux”.
atom-shell: v0.22.1
fedora linux
How can I enable webgl?
@yagamiram
In my case setting
app.commandLine.appendSwitch('ignore-gpu-blacklist', 'true')
directly afterrequire('electron')
inmain.js
helped, but there are various other settings you could test:Nice overview of Chromium command line switches: http://peter.sh/experiments/chromium-command-line-switches/
And of course, as mentioned above, adding the experimental features to the options object you give as arguments to create the browser window.
You can also point Electron to load
chrome://gpu/
to see what’s enabled and what not.