Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript get device gpu info

// Create canvas
var canvas = document.createElement("canvas")
var webgl = canvas.getContext("webgl") || canvas.getContext("experimental-webgl")
var debugInfo = webgl.getExtension("webgl_debug_renderer_info")
var gpu = webgl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL)
// We need to use the debugInfo because the webgl
// will return a GPU ID and not the name
// debugInfo extensions unmasks it and returns the GPU Name
Comment

PREVIOUS NEXT
Code Example
Javascript :: wordpress echo admin ajax url 
Javascript :: js random string 
Javascript :: console log add new line 
Javascript :: js append element to body 
Javascript :: random password javascript 
Javascript :: random in range js 
Javascript :: javascript detect enter press on input 
Javascript :: javascript count occurrences of letter in string 
Javascript :: country code regex 
Javascript :: remove all from array that matches 
Javascript :: js proxy to array 
Javascript :: add style javascript 
Javascript :: react import font awesome 
Javascript :: get data in date filter sequelize 
Javascript :: angular button open file input 
Javascript :: javascript change webpage title 
Javascript :: javascript add required attribute to input 
Javascript :: add a route to a buttoin in angular 
Javascript :: javascript Validating the Phone Number 
Javascript :: react native settimeout 
Javascript :: string check javascript 
Javascript :: convert utc time to local time moment 
Javascript :: react after deployment givin nginx 404 
Javascript :: rimraf node_modules 
Javascript :: window.location.href target blank 
Javascript :: submit form using ajax 
Javascript :: jquery set input checked 
Javascript :: get height component react 
Javascript :: javascript search in array of strings 
Javascript :: how to view local storage in chrome 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =