- Регистрация
- 09.08.2012
- Сообщения
- 33
- Благодарностей
- 1
- Баллы
- 8
I have a javascript function that returns video card info. The question is how can I generate a profile and change it. At reassign profile fields I did not find this option.
Here is the javascript function
function getVideoCardInfo ()
{const gl = document.createElement ('canvas'). getContext ('webgl'); if (! gl) {return {error: "no webgl",};} const debugInfo = gl.getExtension ('WEBGL_debug_renderer_info'); if (debugInfo) {var renderer = gl.getParameter (debugInfo.UNMASKED_RENDERER_WEBGL); return renderer;} return {error: "no WEBGL_debug_renderer_info",};}
return getVideoCardInfo ();
when generating profiles it returns such values.
Intel (R) Iris (TM) Plus Graphics 640
Mali-G52 MC2
Mali-G71
ANGLE (Intel (R) HD Graphics 3000 Direct3D11 vs_4_1 ps_4_1)
Intel Iris Pro OpenGL Engine
Apple GPU
Mali-T628
Adreno (TM) 512
Here is the javascript function
function getVideoCardInfo ()
{const gl = document.createElement ('canvas'). getContext ('webgl'); if (! gl) {return {error: "no webgl",};} const debugInfo = gl.getExtension ('WEBGL_debug_renderer_info'); if (debugInfo) {var renderer = gl.getParameter (debugInfo.UNMASKED_RENDERER_WEBGL); return renderer;} return {error: "no WEBGL_debug_renderer_info",};}
return getVideoCardInfo ();
when generating profiles it returns such values.
Intel (R) Iris (TM) Plus Graphics 640
Mali-G52 MC2
Mali-G71
ANGLE (Intel (R) HD Graphics 3000 Direct3D11 vs_4_1 ps_4_1)
Intel Iris Pro OpenGL Engine
Apple GPU
Mali-T628
Adreno (TM) 512
Вложения
-
11,8 КБ Просмотры: 70