By default, both Firefox and Chrome use the ANGLE layer to render WebGL draw calls under Windows. ANGLE is an implementation of the OpenGL ES 2.0 specification that is hardware-accelerated via Direct3D 9.
If, for some reasons (for some Shadertoy demos for example), you want to use real OpenGL draw calls, you can enable native OpenGL in Firefox and Chrome.
In Firefox, just set the webgl.prefer-native-gl variable to true in the about:config page:
The nice thing with Firefox, is that the new setting is immediately operational.
In recent version of Firefox, the webgl.prefer-native-gl variable has been replaced by webgl.disable-angle. And by default, webgl.disable-angle is set to false: native OpenGL is not used.
In Chrome, you have to add the following command line parameter: –use-gl=desktop. Just edit the Chrome shortcut and change the Target value:
Unlike Firefox, you need to close all Chrome instances to enjoy the new setting.
Now how to check that ANGLE is disabled? Just use this WebGL Browser Report app. Jump at the end of the page in the Miscellaneous section and you should find the ANGLE status:
Another way to check the native OpenGL support is the max texture size (or max viewport size). With recent desktop OpenGL implementations, the max texture size is 16k or 16384 pixels. If you see something like 8192, ANGLE is likely enabled because 8192 pixels is the max size of a texture with Direct3D 9.
8 thoughts on “(WebGL) How to Enable Native OpenGL in your Browser (Windows)”
Thank you for this info! Very helpful!
I guess it’s better to use ANGLE with the Intel graphics
For me switching to native mode disabled WebGL… HD6850 on latest beta catalyst ie. 13.6 beta 2.
I have 16k textures when using Angle!
Aurora 23.0a2 (2013-06-11), Windows 8 x64:
tapcio i had the same problem with aurora on win 7 change the following to true to get it to work again
With AMD GPU you also must flip in Firefox
Perfect, this enabled me to run WebGL over the discrete GPU (Radeon 8870) instead of over the internal Intel. Tough indeed, when not plugged into power and using the Intel (due to power saving settings in Catalyst) it’s better to keep using ANGLE, as I noticed some rendering issues otherwise.
And for Opera?
@lowenz, for Opera, you can go to
and click the Download button
Comments are closed.