(gl)
| 60446 | (0, _utils.log).info(1, "".concat(webGL).concat(debug, " context ").concat(driver))(); |
| 60447 | } |
| 60448 | function getVersion(gl) { |
| 60449 | if (typeof WebGL2RenderingContext !== "undefined" && gl instanceof WebGL2RenderingContext) return 2; |
| 60450 | return 1; |
| 60451 | } |
| 60452 | function setDevicePixelRatio(gl, devicePixelRatio, options) { |
| 60453 | var clientWidth = "width" in options ? options.width : gl.canvas.clientWidth; |
| 60454 | var clientHeight = "height" in options ? options.height : gl.canvas.clientHeight; |
no outgoing calls
no test coverage detected