Under windows does WebGL use DirectX Runtime or OpenGL runtime?

There are two main 3D libraries in the windows. I am interested in using WebGL which? is it customizable? Is it customizable for every browser?

+6
source share
2 answers

Google Chrome and Firefox use ANGLE wrapper by default to convert OpenGL API calls to Direct3D 9.0 (to provide better compatibility with most hardware). Users can change this behavior by default, but it seems very inconvenient to override this (currently it is not possible to change these settings programmatically).

All other major browsers (on windows) will use OpenGL.

+6
source

I am interested in using WebGL which?

Depends on browser and OS.

configurable?

Depends on the browser.

Can it be customized for each browser?

Do you mean JavaScript? Not.

But why does it bother you?

Chrome and Firefox use ANGLE to work out of the box on a Windows system with only the standard drivers installed by Microsoft installed. For the correct implementation of OpenGL, the user needs to download and install the original drivers from the HW provider. If not, all you get is a pretty crap OpenGL-1.4 implementation / emulation built on Direct3D 9.

+2
source

Source: https://habr.com/ru/post/906005/


All Articles