Open cx20 opened 6 years ago
We have some vague heuristics that try to guess the presence of ANGLE without an unmasked renderer, that I guess will need to be updated.
@pjcozzi Any insights into what the new rules should be?
No, but all I did last time was just run WebGL Report in different scenarios and see what the most unique difference was - could work again here.
I found a sample of WEBGL_debug_renderer_info
(Unmasked Renderer) on the following blog.
I think that this information can be used to judge ANGLE and DirectX.
WEBGL_debug_renderer_info extension survey results - Codeflow
WEBGL_debug_renderer_info | ANGLE | DirectX |
---|---|---|
Adreno (TM) 330 | No | |
Adreno (TM) 405 | No | |
ANGLE (ATI Radeon HD 3450 Direct3D9Ex vs_3_0 ps_3_0) | Yes | D3D9 |
ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0) | Yes | D3D11 |
ANGLE (Intel(R) HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0) | Yes | D3D11 |
ANGLE (Intel(R) HD Graphics 5300 Direct3D11 vs_5_0 ps_5_0) | Yes | D3D11 |
ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0) | Yes | D3D11 |
ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0) | Yes | D3D9 |
ANGLE (NVIDIA GeForce GTX 950 Direct3D9Ex vs_3_0 ps_3_0) | Yes | D3D9 |
ANGLE (NVIDIA GeForce GTX 960 Direct3D11 vs_5_0 ps_5_0) | Yes | D3D11 |
GK20A/AXI | No | |
Intel(R) HD Graphics 4400 | No | |
Intel(R) HD Graphics 4600 | No | |
Microsoft Basic Render Driver | No | |
PowerVR SGX 544MP | No |
ANGLE is used almost everywhere now. For example ANGLE is used on Safari on MacOS
Also, the current check under the WebGL2 tab it will say "ANGLE: Yes, D3D9" but WebGL2 support requires D3D11
Given that ANGLE is used almost everywhere I'd suggest you just get rid of parts about ANGLE.
The following is the display result of WebGL Report on Microsoft Edge of Windows 10 Insider Preview 17093.![image](https://user-images.githubusercontent.com/1833979/36088857-45cae06c-101c-11e8-80ce-754b99ce8ef8.png)
I noticed that
ANGLE
is supported in the item ofUnmasked Renderer
. However, the judgment ofANGLE
isNo
. I think that it is good to doANGLE
detection with theUnmasked Renderer
.