{"_id":"@luma.gl/webgl2-polyfill","_rev":"77-b932fbe5de20868d428af20bc44b8beb","name":"@luma.gl/webgl2-polyfill","dist-tags":{"beta":"7.4.0-alpha.2","latest":"7.3.2"},"versions":{"7.0.0-alpha.8":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.8","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.8","maintainers":[{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"tsherif","email":"tareksherif@pm.me"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"1chandu","email":"chandu@uber.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"df2258fa06908688636211bcfe0dbeafa0c45dae","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.8.tgz","fileCount":23,"integrity":"sha512-PBgd6voR306MZ6l2YFcPeg2y3ClK/UpNkaf4zSqdnwU/enNxnoLmj25ohN7/BIV2DW0fMOd+WEerSRQGPACAKA==","signatures":[{"sig":"MEUCICRrh4f5LUWI7fvlqqo/KqwD03VJZPgYXBQvtA8R3wU0AiEA9LvphD9exyIB8AOSC9kNZ2nS+52SwRL5eCB6aiiFI2I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":141032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYgYYCRA9TVsSAnZWagAAatgQAIE21L98XHhj5M5dAAh/\n4MPavdVh8PV6SOpraIu9UAtfi5HmKDcm5PwG48xb52kQn3TNcfjQ5vUNOnoU\nwvyLHugIbGAqwbRsUSQFQfhtDv0r5ZYQ60qHIQFvL15eGxFevRHTof3nSzMM\nIzIylexd1LPwIPScb+9wdyUI+SL6Tpli5A2bXyQYGv8civwfrzN5W3Ee+HhQ\nRxl7ypCf//TS9Z7Y6AfyhXyVbLgRMMiOsmh+ki7r0y2guEbDWKKEc26tNySi\nbu2qS/SCKXfti3ux7zWKfZYauKwNQb22g8UYT9oNKypAWBYxOhutF8TmBvYf\nV6nJoZoLmH9BRLhyETP+ay86+hCD1GtuK3pwhsOQsvDMq0+6I9JDE1mHzsDu\ncrANfHPfwUFHnFjVVYMJcR9X0vIRo3d1QMW+RHwFiBzdSqvs1Dprdo1H2H/V\n2qB0EIjNPR5X0Q0Jp74b4QasnGDFKrTwL0Kf1pkv7aoB8IBskXpPoHmcVATx\nW4gMLXl6S5zxOf15s2Nvc/5WhD+F3sgYpJueVyZSgSkru2wmH1bQ8H9XJrah\n3VJW5a9Kyt3RrCkcHiWb7jPgOHj8Ev7Njxt1PtB3Z6TY8dVmrQdFoufhz6gx\nOS6D0MUkbGt6NoKyqzxjL0FWvYCDCAB4fThYpMOOrxyZgzUrOa7tx71APcCo\n3F9C\r\n=Y+9+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","cover":"../../scripts/test.sh cover","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'","publish-beta":"npm run build && npm run test-fast && npm publish --tag beta","publish-prod":"npm run build && npm run test-fast && npm publish","prepublishOnly":"npm run build"},"_npmUser":{"name":"georgios-uber","email":"georgios@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"6.4.1","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"8.15.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.6"},"_hasShrinkwrap":false,"devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.8_1549927959256_0.2896919049799682","host":"s3://npm-registry-packages"}},"7.0.0-alpha.11":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.11","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.11","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"d25d6f8e3886801ba04fe5bfa035820e43686b36","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.11.tgz","fileCount":29,"integrity":"sha512-hQPstl17iOzne2r/VGSACs2ULPcXC1WRt//ct2yZOK3nrjRApivwvsJ+URSRMgB8CaASSTZv2GtbzwzwUfg0EA==","signatures":[{"sig":"MEQCIHfoV/DU68BHIzxZ+8Gkc1selif8EBmzLvbvm41+Lp3QAiBHTTAAQy7A1qTbFEO4CMXUMUzMUXbleb8VwHI6/ePjmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":142927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZKdhCRA9TVsSAnZWagAA+wcP/1CFHCvQMJs4h6v+Alof\nzDePxu2MS1PlUnBRHNaQD1K/abmosttPl8uuTGcsBOgRN4zpA/iVdvprF6C0\nSYButEXb9rw6bAtZlI4Dk5MHdH3lPiKbk/RZ54EFuIR4VezkrZHPNPOE0OmN\neXG99zsJPbgxCx3a2kVJNjpgmQwroGkzSDhNRBSyu4fdkZIRJWi+cxJ/Ri3E\np773W0/Qh/N/P4uKjylyULI14gCY5msjDxzyzbGSUU7PADIHrFYkHx5iV7gO\nZA1eKgLK2aAyo+MAB3rWBXegqyGFg/1kHopvO4kHSKyJWQCKc/naIs867D1t\nhIZDVI3btnbQ+IAoCDdqaIUQAXXRoim5VA7Esno4h2F4OorQy/ux+jevbcCj\ngd/7IVHnz156anD7/EUOwBn/yDpvmESuoUO2A9DPB5ztJsagdU3M1J/Wy8ni\nm8u0YphBrsRWOIDokfx6bNkIth2/gcLc4nOQQWE99af53MCzBuZ0mGe8gEmf\n5EdNdDO5pTPpUkhYlE28gh31wSXeIgD+qy3ZM0l814xoKdHurhw4DmJXzjrz\nYeEq3fDRsB3r6obL5XD9NVFNMLR0mXLOl6X7pngwoZGLTDLfo9VsYOJ/peSS\nhViK15YaS2KJBcaG1eX+nTkadpO8TtFVl8lou1SApHyPI0KxdrLDOFos3F+/\n94tr\r\n=ca80\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis moduls installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can work directly with the WebGL2 API even when using WebGL1 with extensions. It removes conditional code from applications and prepares application code bases for WebGL2.\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n## Remarks\n\n* This a helper module for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"georgios-uber","email":"georgios@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.11_1550100321006_0.9942833338915933","host":"s3://npm-registry-packages"}},"7.0.0-alpha.13":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.13","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.13","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"},{"name":"xiaokaiuber","email":"xiaokai@uber.com"}],"dist":{"shasum":"6a972b138880386665011df7911f7af04dca6d14","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.13.tgz","fileCount":29,"integrity":"sha512-FupRG9wN/hkhVJ37fjyPAYs/nmpcal8f7qsC/6rNEuyOmBpey90E4cIbGEm0ligg6M/gINt+gXf/0poDZNOL2Q==","signatures":[{"sig":"MEYCIQCNv+wVqmshIFGc4sA6rkHFKveGlE4ZrzYhR0TpfjZ3QAIhANHJb3N4r835MzBH088qmM+EYKHkEXmfq9qtvbfLk6oF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":142927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceY3tCRA9TVsSAnZWagAA6HMP/R4g+IWMYJiZ2C4Flt0V\n3036/pXBoPJ3k5LyEn8a9lCWGN+SlYBXq8spb80zVdPCXZu2vEoLfbUhL9yu\n4GwY8fzq11NRak3QDeJkCyRK5/fBA/8qihzmxsAKiSK8yGKP6W88PdL1w6Dh\nk1vBI9C2I+KiOplp5zUWVUkWNwffpthBAFjlzl0Z5SjOWvBIxlT4n+MhpLoL\nITU9EP/HGckjUc7FNM8MX+RxhPynoasGMFlWymtXlDXQp5bYYxSqeQByzd9V\n0vah3SGF/z4KjYN3Nj5e+GkkIyUVihyZwkULrXoird3sJ1LETPyHUKyLF+lX\n6SO0k1wpVPi8F9WOIIPD/0nggs1kx0FCBjBb4XuabAzSEeMAfXsK0u77q9fm\nBJdzgxL0+Q9A79eqnDezjZvYhzCxEXrR+k2NPgcQzYg87uGgQG6qXNZ+STTo\nrVOCsSnS8dcpZeFiVbsR/GT7mELs7mLYlmPexrehE0XPkf3GWygb95+vlXLx\nVN3FEuIShcn0N8aZgmtOvj76/IKk6sVDbmi1wdZZF3pTzBb8Swet7wW8YxPL\nH08bCIMyfpmA9pWUQvaqdf96B9B71J6Q9RdVOekgMFycnkYc1WcSGNXIyS9o\nYza74j6McDNRKatdtic3e6HC9nl+TMIZyY2uDGFyQ+d7yBEEXjEuCIEizbxt\naZp7\r\n=eU53\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis moduls installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can work directly with the WebGL2 API even when using WebGL1 with extensions. It removes conditional code from applications and prepares application code bases for WebGL2.\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n## Remarks\n\n* This a helper module for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.13_1551470060776_0.30742993699941135","host":"s3://npm-registry-packages"}},"7.0.0-alpha.14":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.14","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.14","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"},{"name":"xiaokaiuber","email":"xiaokai@uber.com"}],"dist":{"shasum":"e17053c6a4601eb9f529f420d5ace3fac6a5ffcd","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.14.tgz","fileCount":29,"integrity":"sha512-Y4GNv89nYApOYhDshrEDtwAMKaJQvHn6Qtwgc+tzFubgwkTbL+9t+nmMKSbp1RWqTq3stcinoixX6Umm/+kp2A==","signatures":[{"sig":"MEYCIQDMJg04ZkKM+0TNtzP4ZdRaC+C/Mj2VEFPrZL3DnnLRNQIhAP5KoaAAlRSwIXX1aXipiflZUuTbhoK1tqluqom8HQZg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchqsSCRA9TVsSAnZWagAATDQP/0xpq8gsPrEkKt9zZs1/\ngnKh307JfoLKJrmxJQP+vseRqDg5kvyb6QPKUp68XNVcmS4jxKIYfa64Cqw5\nOhsUpLW/oRdP8MWG03+LPj7iR/AXmyA6vsAwE3o2O0M5iO9eNfcDVZKlrEYK\n+3rGL7p5FWBlTPcrRkyh8TAZd0+lGPUaw0mPfXWliQLor1xUQDzh0uRLAW17\nlsD+a+wJCawmeDsCmvZW1VAMxRub4LgbUn/FTvpCfE2sPAFD+eaKD78kX8+y\no4HnZkT7HHPvJymNxgK8/wUR63dctg3Ci9snsbRY6IsEMI6btXMIC0O92gqT\nnS6S8H70AeJ5UtIiotLR71Jv7mklUzX4e5izp2zvVSgWioNuniJ1/StEgv27\ngwBHMkHIbCLtqDRsGNb2sVICd959ltb0+OkXu1nQNmhHJqhxu/7M69FVk/84\nGhy2ZQa6XJ2jHrEazDtgk6C36phJ6i/hFbS3HyoYCEw9JibSjNlJ6kPNqTad\nWhe0h/eREH29MFdpCixzdX2OEec8ArrdyLq1HHuQFsFaDcaZLqPfxrHFCqUq\nKHZi+WsbL6uQ0tcpfecIe1Hekv6b8cWAfOrrJjfk1Im4X0BBkGn/Ngtv5xqT\nQoszNVG9zXUjPRbFQ16XAKTbzyvXiRBv1ZhrOrrdSYFEbRbAWu31RHqBt9jD\nmcnf\r\n=c+5N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis moduls installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can work directly with the WebGL2 API even when using WebGL1 with extensions. It removes conditional code from applications and prepares application code bases for WebGL2.\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n## Remarks\n\n* This a helper module for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.14_1552329490044_0.16129611088687135","host":"s3://npm-registry-packages"}},"7.0.0-alpha.15":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.15","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.15","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"},{"name":"xiaokaiuber","email":"xiaokai@uber.com"}],"dist":{"shasum":"8caa0efd23328ee306c1a36ecf3bc912b2b96016","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.15.tgz","fileCount":47,"integrity":"sha512-2KjvMnl5xmldAta/+o5MEhR7LcGN+pku77sE+lQkTrgZivQ1XKxmQbKop9KnvfvtK+GyzABbX8KtqCu9WDAmIA==","signatures":[{"sig":"MEUCIQDNxj4x0guSkaFDwnSSTMy2J7twD/rH7RR9CuVd7igrvgIgQt6mymqEvGhNDHbZVfxal7zubaQI9lv626JZc/F+B1E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch+QhCRA9TVsSAnZWagAAEoUP/3on9pFjNjyNhHWw45eZ\nERyUkzIg8OUsFiYRCFwPgo6V492rPv+INuLkJuG5nkBGTO0Ncg82x2gAvJgq\n4mqa4AdX5jrKxQYsiwwWJn4cwa5rLNfmHvQpdSd+Lz/3TGYDa5F5lJuSe9km\nGp2kupazYV/okZEPNcwU8DiG0SyqNOgZn6qtK4E7hVZRNadiDsdOkmZ/HBhc\nj0Pq2zxKgjkgBbkeKwWPEfwypQWiAIGyT10XtwvM9p7QgMJfC0dyzfwhYM89\nJpo2h0YvERZFPloFekf3UqYAm8PoK20jUnzPqMV7WRAYUee6iFmrb7WnKksh\nB8fOOL94pDngjEnQz6B4F39lbHxyD/vtgyqbO7yAWCXgJ+D61o7fi/JCLx+7\nRymN+fQtzyClPtiQyXyL0af7EPE1uBSNFMXlwUo9xbng/VRiDDMYxgL8qRPk\noi5YviIR3HVsLkqbGrHSggohGQTAeizHt7poWqs0bx45EeqA0yWGTjR0/eIZ\nRWd/02DHnl+j7RzuQYfPyRNQxoHm/JBinGrPsuhD8hliPs/8syITCfaK1SIQ\nQ0E1K/GuTD5XjfZHhspBNqdW8aOlgsB/tivgX+dB6U5ksq2RRZkXFOFIAWXa\n+s/ThHkyq5yuXDgvUevhqllbjl9qcIB4/VFAX9g/ajZE6luoelyeggV7kqaU\nB561\r\n=hnoQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.15"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.15_1552409632635_0.5274278460319914","host":"s3://npm-registry-packages"}},"7.0.0-alpha.18":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.18","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.18","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"84f4225f16a93f0d26a7ed8eb66b59d90db698e2","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.18.tgz","fileCount":47,"integrity":"sha512-dM07yYQ/0VHD8uqVpI5KfWXRlOToTa9zeQ9JMPumWlqH3AltRpYoTWmgdIIIpvbbGfDcGrUID+mgN9oszi8wrQ==","signatures":[{"sig":"MEQCIHsq1m/Brh1MuPL7vmfgVz8zDeDMONk9eAsYtpj8uz1qAiBxVPcYUJXrN17QLHPR52qy+4wib4szlZdp41wvYUvDSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmWyjCRA9TVsSAnZWagAAhAcP/1cJRczyx9y2e3GwqbwY\ntI1vYT/38/IiMy81XTZjyM3ufVyQwcZhLlUnZV3UodAxJtdxRIBeTgcS0k8j\nIHa7VjMLdVD1l+Lde1NeFNmK4mVTuC7NZY4aH914vP6YC9mlzURiuMOzd3Ci\nMZWPBju4iSTz0Vm8Q0yqKLLYuskmuuSC31WamdjowxQJkPj8/lBAeodE3aWi\nNgE7tWqQyrL+NjNOpKVlzyxf1aah8VG1P4CA9LZOSDuYGfGCPiWr+xGNNQFd\nY+jBOESn3olXtvtfkMiQcerIwdQ2jkTvLK5FLejPCqU0ExT3Xn+AvAWpcoJ1\naGg1CbaIs6N4lh4+xt/lpvvMArpd1G1cwsvZeP5Ov0335A1NC8RmbK3ljpJ8\nV59gI9clfrziA4gqi9/Ele+THYRzHtAOEMpLwm1R+uHwtqEjyZERROEqJKbR\nCMU1xfZTLCi4ZOUaCG8F/wupykm5FDfYnVYnOyEWWVD+Ldo6IgLAwkjugDnG\nm4nP7sfP68bEcs//2F5z3wY6Z64iqQnBnEJExsXeBOEfrA++OcSScxiv+DdH\noO6NGDZRPxqNlctfF31GswZguBHWhLv6ROaHNLghRTG+/j27uX8wrsGQp3cZ\nv3TrWyzB6cQA7vy5ZzmphvYMucqind/6XUpoDbF2yr+K+ov7KFs8RaVpUeKT\nCHmT\r\n=BpKu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.18"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.18_1553558690345_0.4194606016947069","host":"s3://npm-registry-packages"}},"7.0.0-alpha.19":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.19","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.19","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"c4e481005e7534b293bb23aeafedfc3ed8ba7e3d","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.19.tgz","fileCount":47,"integrity":"sha512-vEN8++NzASuY1m3F0tgpsl3nmkkSSPnSr+qT8fM4E2x6y4J2Pky8fG8TPqMU7gEQQSNdrs+LKme41ohwbyr+8Q==","signatures":[{"sig":"MEUCIQCuEZthiwFbC+Uc5Eid5tu6lsDNI7GNv2UKhgUkbVaedAIgZ9JpS546YeDYMgT8/h6XHWl46DH5bubyBTGQMzHrb8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm7gMCRA9TVsSAnZWagAAk4sP/0SgYwe+ELwsVjlynmVt\npH+xLWdd5hfIX/qfyWMwskXj6eytt07H5UPgwz4ZVxc5ARglj7nBaR4EBBWy\nq0w3YEQYDbXWC0zddbUhY3wFPG2urCoHUIu20hom9y2ueJatv1lwyPOQFVn0\njIZAVEwKDD9KXpKZ/2ioIms5XdI/JuOUIj0KRu8rkGjzvt6743Y4rV52u0ZS\nFdzj8eNJJD2YJe0W1LAZTLL+xs5PSc1/nGVe109DDvQdZ1HV9g+VQdS2ZWBe\nR649b3wOJL8q8xDH5HY6STWHPdE5K5+DHtBriX2+vE9fjpzQPVZR35ZRuCss\niJ05TIN7e3YR+wZzEImjin57KrN5waUAbZ0IQi6s95thjkwPbpcV7nCPi6sr\nhDeDCAi7/cp101ysB/ruv7Vr8gbYgRTZtpq45gsdR0WV0f/8oDVExBgbWc0v\nIJjsj5zognN6DlwOzOxjCMNu2igjbSOj8XWtGcaqjQx2gOSlBpaof132goHs\ndXdMrVmJAhTNrX8yX+YfBnT2rIAfkuUAqmlzqFXiev46gcCPFiII3skJoVdO\nKc7MZ6huVO5ju0WPKvP5DgrC//m06jUciLcDLawLMxGYqs7K1Z37gXcmAjxR\nUjP9+bNFmeB7F6aMVljp7sOlDp8U7XeI/8u0YCfLGv6ZwoWuCk2f1R2T8giU\noVBL\r\n=zK6p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"^7.0.0-alpha.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.19_1553709067122_0.8458156042440064","host":"s3://npm-registry-packages"}},"7.0.0-alpha.22":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.22","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.22","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"b39dc60c6a0868564c5d88a8b1b8714fc5036d80","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.22.tgz","fileCount":47,"integrity":"sha512-CyWFBcbIzNzf0X5gpji6TeDqYFyVVio4VwvzXAYbO1gwLhXW2tYg1wW3VPA/WAuixXtUpRGShUdU4dQHl9YNwQ==","signatures":[{"sig":"MEYCIQD6lsyyTWyvEpgLW7HLbEQoDwvZXxxiG8u1elhjYsu3QQIhAKfxGL2dChHRo/AUMI1bmK9HONfDK6ZLpFf1dxfjgu5I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnkOzCRA9TVsSAnZWagAA6ikP/3J3QPsbZ8sTkjbDPYap\nkNNVnWJoxGdbGVPzm4TXEPAEPrccS2ICktHfZjnkpA3/QN5E6tUuPH3k21k6\nDQJluHsA2o07hcE9MtTYa4ZY1qcaaKvS0R1cnKk9jE8hgPburZOwdwKITTFl\nzXK7KipWRm2ckhMFi75GDhz1dvrqM5cnDfyqG68GvamkMeB9RrCYFe/A1bJf\nPD9YJnKQjcywFvk1b0Ks1G0eehIDEPlnGwt+czLZ5kd5mCaMp1nDZJn6bR23\nF1pZyKRmCzQILOUziD5NHootvSg+yKPy73pzonFzrbDhiHC5CTPf3D76dSl0\nMkFKVRU6nK0kY8n/fSrWW22F+ARu7j0KdBMNs5jaRJ7gbkmvdFusyzPXkPQp\nGwaDmW1wQAVQnXR/6jsPXDM6aqsniB4qxUuecBMJJFz2GrmgKyAbAkEYdKhq\n0gXlEv4MYYgLL9PfdnI0HguXKMaZZkuS64hGz8/+8xGvh0YWMwpSXjfiojVt\nswukBU1b69TCNKEW6AMy64WaMrYgEDf+G4UPCyFE21Rq8RcOqnki+QPc+mjE\n1t6Rz7ImOIXDFOq3i7cQvx59tH9x5IBpqmc59qvxd3v0ScdDIZ3M65oYds36\n0EMBXiReFpZk7kVO8nptMTlKqkDKVsf8M0aKXRgHR3yqTWa9xnwJT+IIxoJR\niuwU\r\n=mHuc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"ibgreen","email":"ib.green.home@gmail.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-alpha.22"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.22_1553875891390_0.5230421086922528","host":"s3://npm-registry-packages"}},"7.0.0-alpha.23":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.23","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.23","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"739db55b66cf1c8126e6a57d1d982b09185b5ba2","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.23.tgz","fileCount":47,"integrity":"sha512-O9akFAH2wpoFUDUXIdAlvVHR0stpYTl0ZybhVqTZxgWMtbzsPLHOcGLWZGei8eYKGaVY9wLGGKKguQ8tvxVrCg==","signatures":[{"sig":"MEQCIFWywneN1zefVAB6Bj0VvSZ2Uty4qAM9/QxpTcj+wq/RAiBrGLIMmuXWIYCdoacTcDrlxQ0MsqcvSPHvRZas6RBesQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnqaJCRA9TVsSAnZWagAAreIP/AkAhb/81vS463/fpBGe\n8f0BZc/sfcfF4BuInqrUteJGPJyslyCH4AEL7HypZBS3GHm02iW/oLZfYBhR\nNoAQOjv45J+fqmLwOajPl/5xv9UUcU2ehIOqnVOCeheZCVk+uWgHMleNo359\n/l/ABheDpJMixm4kXV7cjtZkYi7Boi+uvt3QpW4spltz3f2nVcUuoJjlHu3e\nII94FY/K3yGDI+cdaM8s/3xXiqhRrwtzGTAqT6zshA5VHMPTuzBe6PWi/Fpe\na0VRZ7QQRlHtXnZshjkaKLA4aWaBi5D1IKEDc6HBapRcoqxNqDOJlfJLqP2n\nxzmHNmdWTLEJ4dUt8kZ4h4ML2z6lXtAx/3rk/4t1sjKiwmwWkdoBbVFm6/mh\nvEkZSMhn9GAvDWnGAMx98a/hqb1Iq1oNxpbr3t5pZPnPAPqpfJY8BKjo2zmO\nfDOpfr/yu1bm5LSqFHegkv8jtZm1o9pGA3OooyNFx2qNFzPdYUh3NSpnWaLd\nLxXL7AmYVMY+96lct7e1/W+Rn8Xy8NGpbiZ19Ib1MJtIJYOPIAe3PPbcplEE\nZj3uchZbfXuNMjtpE6eYdPlV87rUY4cTKfSEwG6fWGmvCErMQQGNOBNQSKYe\n0pnKo5wGmJXlMTou3kTysW4IJdCNqpAdF0dcwY9gpVE7H2yZFRL1qBoTduw+\nl8ji\r\n=RsSJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-alpha.23"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.23_1553901193297_0.18247104167899386","host":"s3://npm-registry-packages"}},"7.0.0-alpha.24":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.24","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.24","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"9c1947ab8e1e1e181182c095029e3527433537af","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.24.tgz","fileCount":47,"integrity":"sha512-vMhlk11yv2qR0Oysa2E8DHbbHIfmoFTxX+BPepFjCp23rImrxsBmm20sR3xb5wRzpTYtA1LzAQwWABjZkNeCLQ==","signatures":[{"sig":"MEUCIQCO4ETNJlzjDiTkE51alzCmcbfDkWuem7D5qlNMfsIoZgIgXekkXdiARZWm51lklTCmvv+fswfgK5YW2DNvWX9crBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnq4NCRA9TVsSAnZWagAA2fMP/jqqgZLAU6vyJSxjLnxc\nsMph8Q1KlI9ARR9ql9AXuwMakq54/92MOHPsGMq9A94wZ5I8oJNnYDmMdeoW\nf4nFQvBlsmz4pzhSggeNWHJ3N2JfagCtDU4/OX8lOMkF26nsbItywk+lS2nP\ntgEJ9bODgHaY2LdUS3yU5fpkOg0PYkiry339Tsv8QEbMR6+ewQvsIqz/zgiA\nAncZ+y8WRyYLOoGETRETTJMTPffWUvItiFPqCmn4cOKdoqLD9cpPEIyKXIt3\na200DyZ7oQIdQNCyOIUrpp83ocuhz1goY/YqSSmYCoNMpXUctFTQIsG7W56f\n2hzHy+tFwhUCHnqSEgTM/GZKohR4/CKTAQleUHTd0OAtpo6AoWOIvfS8yWU1\nQdYwalgKyB9jnNrKd99vCFXGmwqD+QYW1ikcfCjWElXfYVwn4hbm+MyB9UTk\nJ9//uet75xPlPzmofBvp9ObqghF7ZvokeIz2tLYRgiAVDgWk0jDTGNq95FyU\nE2rS7O7AeuD4OyuUFsf1xtwl+sDKZrBvtWESxScNjDwn+Z+QX5Xd4Dh0/UK0\nogiQ7JwIqpK7kCs7q3B9eSt34bTlCTDTgrObR6LsJlN0FMqV0yZCo/oeFzTA\nkvIBHX8s1oEyZ8+fH9xFITebWta+SD3gPFl4tcqATun4SZ4ZGKV7rYW0ZOrF\nSc7l\r\n=FABZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"ibgreen","email":"ib.green.home@gmail.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-alpha.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.24_1553903116938_0.07343053465833393","host":"s3://npm-registry-packages"}},"7.0.0-alpha.25":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-alpha.25","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-alpha.25","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"07b16d03c837731b00787b77ef9c03a5ba4c2d84","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-alpha.25.tgz","fileCount":47,"integrity":"sha512-s10c72kc9kg+y+PJogavA4xmj+MluMvp7Dl5IF6QxpEUZPPQzQTcLs7pGXg9W3IZE+i8F5yi2REWchGyN897WA==","signatures":[{"sig":"MEYCIQCqKe8k4R/0OjyfzgYHyc4b5JydBQCNscRD3W8Hhvu5/AIhANv73yBgPULTvf+6hmwW5v58PLksVjc15Ol3sMW0LXnc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnrMRCRA9TVsSAnZWagAAn+cP/j7nFkcyP5kkywC/K6ie\nHCLIrTJVDHAy4dZ5mbCSbMV3fQlepeEs5WoM4swi15cOqFO6Z08rjvAMn8Gb\ncn8wd3X3euVEa+XXjsupyetFMzo7uunN8t/qiNzzXdUl0QNGWvPvALkylGX9\n6h2lmdJlbwLsVb2rzkKj3ltfFtSv0hjQqJhlJYdkn/6jxOfv+yqorKUa9LqZ\nHs2ZsmUifEnXwm6brp2GXDple0GX2TmijguCK4m2/008IbnGXQ9D+brsOIID\nbWtJgOxkIwD9cnK8zuyJE2bFN2yBYY+6LU4X6wLULhPjB2Js9RV/lo1fj198\n/mpcsndjvJo6xY5NjAwTBI1TR363BlfzOryiv4S8rQWH8kKAyqXHGZdVgJbt\nW1U3HaVB196FXcGvsp9LsniKh8uBlhpX52Q4KPalYV1fUybTNhXImZotiVKb\nvH/kDtCW0wP6HxuVr77rBhCYDdEnZwckO8XynxH8HwK1GYRNTywIdmJqWGNG\nRUT0y2XlA1XgUmU1ijFRBwB7IK4BwPek+MN3uQlhrsLTbRUQZ9XKnOIeSwTV\nH74TofKuEVHBclL7SyCrl5AWn6R9SpU+uEJ5f+tHemnOLS73kNtonvtMdXNq\nAEP6U5cpjbCczjgiDExsdqOVa32Od9uCG/IPUZyYaxc0j1bzifRfrGhkh/ht\no+l5\r\n=o+qm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-alpha.25"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-alpha.25_1553904400611_0.6854738656498622","host":"s3://npm-registry-packages"}},"7.0.0-beta.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"06303d2dbed625316a73a62d9fc775bbe4ec1097","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.1.tgz","fileCount":47,"integrity":"sha512-lI1xhw1YTJ0oyWiRM7AZ5fvdBC/d4CYDyudkP7diRdU2U/naGtSi5qLHSme5Q+2v+NVn20XA3SRjjyDeYeLftA==","signatures":[{"sig":"MEQCIFSX+8gAqSpNRoSR03f9vLUS6o3a3l0MiUJzzOKd4IPZAiBfDJovmbODEUpic3WQ93LcSDXxhuxWycZkMvUeYghWsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcolsHCRA9TVsSAnZWagAAJF4QAKMsdDq4LHgzkE82tv2k\nN8TTRfkRJ6eozPTwWa9jmN0z7UYUsOmOy9ZKBP5RfC5qKI7c0KmyhVUl4zHr\nJNqTkBE4+WEj5nvTNkt68M/CvB45UKrqf0qOiAYgEUqHeaNh5BYCMWLqYkL8\nIB2hGg3tsIAglu7Oat331EtjJ3r/+smtTcWD6XyCF2NfDqvGXRTgk2qcLRBh\n7CRC5zYYKpe+t+LSQ86NV975xX0gwFdXFwl0EIMnnqnP3JFzRoinSZTysK1w\n1K6ws2QR4Ys/fA7E34P03SLYnjUaSw7OwR9TWnDexx/PRBnMeDDTi4hF4ZiX\nKuKR8PNvQ1Rm1Xxa454UYGem3kEDcH01njKSlmAyne9Ihi+WBr6gihYl73d0\n/XycGAZ+j8vsqGvpdYh0FwZx/iqg057zVxKhArqFO/iJpRHLNG+Wed44v0yQ\n54FO+iNkXL4dxSwQEZRQ5xsMyJRFVZJWAoblcSOvsvF7JKOXvz0cOpmdf9Tl\nYYC+W3WhOlfa+nKf5fqrbj+eACofv1F7tQkUKBH+WDB8ceuexICEPgOxbQKx\n6wGjZInIv9XqwOXRDWZ0dayqZlvhHp86Z02k30zsVqyF39/7z2yCyrQPDIUk\n5b21Wspq+ThWal7Rb4E6ZXMfOmeLOtIVuBB4BZiOna0jgYurfS6+YVmHJZQy\n661D\r\n=R5gw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"build":"npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5","clean":"rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6","build-es5":"BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'","build-es6":"BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'","build-esm":"BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"probe.gl":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.1_1554144006400_0.8179525747371361","host":"s3://npm-registry-packages"}},"7.0.0-beta.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"b17512c456b6d9e4f1a8f024cccc7974b93c61f8","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.2.tgz","fileCount":47,"integrity":"sha512-Opgl6Qjtm0p63US/GA1y1fLDWGOUJpK0vlNxvBWB5VZh08mn/9JONfBCU9AzuBwcP+HfKAe9gOmKWjYcm14hMg==","signatures":[{"sig":"MEQCIAk52q4rU8e23CgSyv8PtNk6Z0SNiWznE3xxxQT1YM24AiAB3No+kBthj21tKLgv1RiVPzU4lwY0FUIaJb3NR8ucDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco7uvCRA9TVsSAnZWagAAsxwQAJMz0N545mEgt9W0QSu0\nzinNW/grsmRUJDTn14Et4qDocv2vCMaT/Oe//4vigGgpShCGE0SBbyLhXKQ5\nUxzMjANQelAx+BL4kXgzFQEN9y+aXF8v5VFbAVb/wKexcexscugb6/95Qs0r\n6K1ZWq+KUrniPbg6KP1cI66WLStXZ7dGmYGBb+UJKtxUkb+6HPD+akzji+kF\nhw7n11TE0vaAQfaxl9UC3GhhPeZX8NEPsDLOCWulfP3SvJH+axOVfVB5tGZm\nv7b728+85Lu7iK+Wmn7jKmAR2RbpZOy6JH4EkZw+e5vTEUZB+ANViwU0YeYG\nFosOff3MTrShPuZ7XlhNTBD6uWKvzS5BGKYF7cAlEd2awDCdB49wOWuaRG26\nAYBrevozDwnwcWzodiASM7KOFzIcCuxqoDqURZ9uWP8yV61NZIi/h+lv5zsh\nMDudrjWO+ihKAfbrwBu3ZQQnthqtWh10u/ZjZ1fqdBN2HaYC+h05BENyDXKR\n5j8ZHD9CNCiLr//mR3iXtMHnxlKo6mK8HWRUL3KuGZ7rxF0uYwTAFmJ8eii1\nQiauU81HElgYcAMGIv/F2ycrLkrZ6K+pF5t7RFAj5b2N6Rz/YHJmOIX5uH4i\n13dfRvXzKtpNifrrn34stoUC2CJA4aqZaIcB6OfJhc4zhnVISoRAUW15i2og\nBJAd\r\n=nJIb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.2_1554234286403_0.6225475722902021","host":"s3://npm-registry-packages"}},"7.0.0-beta.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"ef2a32efca07dba12cbd13fb7fb5f80445f17a06","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.3.tgz","fileCount":47,"integrity":"sha512-HorcUH13DQePEMANmSJG4374lf5kXTzfj5zCytXZgSLhlmxWL98VO2JcKHqRGTxz7naKBbaAdhItm1IL28AkVA==","signatures":[{"sig":"MEYCIQCpKxQxkcixVytCX14r2DXTqiQz89dX3Xapji8AkOPPswIhALN8GyPF6SBb2sMCdtJDQaMqEzLJMMMithD3HXGwxCWB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco81wCRA9TVsSAnZWagAA7hgQAJsFpe+dcJP/rg3rR2mZ\nIo65atOjHtZOsaUrZYh74rwgChfJrifefICfLOwG0VWYXr0cWo3cR2A32I99\nVKw0+zrZ1gMIKJrvF0GdAAyIjgA0FvwQaZGcTfFYvcYfnYvQjwoeMBGdXeH3\nn3fLAwAvm12iG5MiIpxVKwryuYdlmmOOy/iEe9GB0t+d+407M0TfzlwJlrbL\n8rrgW4wPytTzsADDTphY/vtD4GK9s24OWmVZi20lAvwCSH6R6N2+NkZeQvbG\nCw4MT+sXUNgqQfRRQXgchbJpgQ/vEKegAGot/j4hqkHkQ1qK5rVpYJzmd24x\nkb5gtG66n/UAOBNkABFTjroC0HzgpJJasIhOLK4oRTmUZUvwX/IOYB+zfzsw\nsnARePEFPMF1M4L1yQ/IPzycMpQfuYGjnhsIURlykCRYuVK+qo2gBwHo9FPS\n5CqOObo07Z3QazscVyHwJN+4tBAIfvrLbiljSbVldodi94ubJ0WKYiLsBAx+\n1jMCuvFlMFpRETM7+KN4SuYzp6ymTkKlROFyakYYZywPSVThN4iMAgBDSWut\nrGvKhc2L3EJN2fGsvzuZuYN1BSnA7kFCP3py0zEE3DBX1MYvktpW/x+esyzk\nxMJTXRE3mt+XkVMQGOP7LoeSHxLz/3MyVSClmWCB+b/BJRMN2pg23B60CGWV\nqBbz\r\n=efmH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.3_1554238831600_0.7205510891802516","host":"s3://npm-registry-packages"}},"7.0.0-beta.4":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.4","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.4","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"fd90eb5fa6fe4dfbf7c2e2aa8b2e414984511b39","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.4.tgz","fileCount":47,"integrity":"sha512-FlAidAfuYTzuhTxOMOuhjYtTFljAUYDcEWCS3MPtgEzKZuyDJJ+dplP9/66fWHEFkLLWeDGUjiKggYMejXQYQw==","signatures":[{"sig":"MEQCIGYENmd9sXClaTW72ebx5pI10ZSftgbw+qXXaJWycghvAiAxf0UFZ+RfaKZwsSkuDUzSNzWEckCI9QRmtJmyi1L96g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpS5pCRA9TVsSAnZWagAAo3gQAIMTzeCMtzShfHOlyj5e\nmbam/Xi3EbkPdJfiJfvPEPjCRKffMIxFh1AxsrBGAs8K0e6ECpJw/zoUCL8F\nquNXwfjvj0qnU8WohTj2DReRXp2/c9TXCWFAGjSDbyhb1sDHuLD64IqvzVLB\n7C4fMaoPwlGsI54k8awMBI3XxIV2q/9HA739kz9zBMkQVD1pxndoUd5GVTk/\nJISn1rj0ulcW+SLu/Vn8N4eA4WtwyGYLFCwZqJMielqHKSy62/5oi5eltqKw\n2Hp4Ks+0cCZ30ApyHeqIOP0OeG73I9oLfF9hUuuJaWS0DA5NeuIqAljXzj8x\ndtPmOPQycGtyis91ugJdIAAaK7IfVwUKc6P+bXbE43YYK1pn6pXpnPPOpFa5\nkNXYDRnD1953VgotclAsYJf6YVP30AJwo8uW0nfh6sRUk6BSZbUY6ZJjAVTB\nkJBCHkbRmCy2//+9Inkwxm+BWhgZT2qxhBWG5PBV0XpNF+sP4KaGrRTQsMIP\n4DXp7tPNondsI7E3R9DrP8Qr9lYc8Nwm9NBth+DATdD7nf/g9YPTLW3F0rh8\nO6awAb8elwdTWl7sHMNaAbTGhvu/7zXks+MZhTNFjH631AWs0T35ZZ2pkosu\ngUPQAIMHh60p/o6udKzbX3zfutWalDx/9dZ7U3YX5E4n5mlPrwxBHGSLOTdl\n2uxZ\r\n=Cyvj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.4_1554329192633_0.4879769740067528","host":"s3://npm-registry-packages"}},"7.0.0-beta.5":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.5","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.5","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"4134811ad8ab35a39fd91583d13f78b598d649ca","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.5.tgz","fileCount":47,"integrity":"sha512-EnEqh3SlyyinAUnnUZt6bIRz2WoMwqwX8y6pYO3oFUPYku4jlexi3/S7a8zWoasxTonbuISPdzLzmmzxjh8Ejw==","signatures":[{"sig":"MEQCICsXAPljuoLwXO8vpPXmHhrhHnN7gIKBgd7FAogFOnqCAiA8pPmV2mgHdaoZbX10K9losS4d18Tl3Kvb40mv/6fjVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpn14CRA9TVsSAnZWagAAh9AP/R4TmvxRGmNFQ3oKps5Q\nUU31LQRKhWdUZaH8kmwa/ocfbUKfS2/mE4dJi2KYnlVGOUqUfYslmuPjwLNL\nHWxjFtTQ6jZbbXRcp8zxi4bOv9XCcjvQJq4fdW0kbKV44Utb1zxLdjmQkvnb\n8iyGAMcLwsUTOCPxJsqjkJ9wNHB+wQDktaAmB7ZjBofBCEtfuoakKmjw6J/K\nI7tMWP+INixFVFvWueyWHcTs+3DipQg46fKyi7yulBcLGQd5N8lYavoUkPcQ\nE6Fi8CZMx7zIj/ftaAEgvxHK9Q/SqwqQkE0ECCc5iD2QFpxJVB9MyMd70hDh\nxWRioKJYFfmSVHkxPJEUFiCdb8BuuAu7KouTLvFKFih73X/JtoGOm+q1e/Fi\nLThrhWb6WE/eM56ZOJtRcpi+r33r4EGhhf+L1lSyAaltNf05lqKIcQsH0uWi\n31EJ9/M2yIsUadSPTvoYEGfkhwd4zCnjImkXdTaVqXP4mkjmmtt2PSG9HW8K\noI1lJL2VU1LjibyZJ9A7YgrfQzgBPeC+VzeTk0W2l9oI69g6CBF+sWC/g30C\n8GO4zUCp375WnYCp394yQgwxvDjwNFWN9T6fCWYvX18d9gD0R6GcKZ3l6l2d\nV/GDoX7SqKsu5gKyxkJYxcZxrmuN3vaNgcSurQ2waCTB2rCkwSaGubkWP652\n6GD3\r\n=9Se0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.5_1554414968079_0.26889349899632653","host":"s3://npm-registry-packages"}},"7.0.0-beta.6":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.6","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.6","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"96b8048c184012c058baf5bcf9cabf42864536b7","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.6.tgz","fileCount":47,"integrity":"sha512-sHwGcbCUNLo/XC4/9xPC2S8oGXOK7XI77wBUYeykdycBG43Iw3yk00AtD4luPcHOjfShIHqc6i+Mald2WkSp3A==","signatures":[{"sig":"MEYCIQDn6Cp8K2YtW0WCSRJ4lzJ9MQT2YFizd79S/l6Tey645wIhAN/HRp67vIZNasxe67CkN4nohQXTp12KF2INc6rn15Rx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp6hhCRA9TVsSAnZWagAAZwIP/j5oTnb+yHcmxa97il4d\nP55gk3yAI6CniRCCJCjiOk+BbLCHIIseO97/wYegyMOMa5SWw9NefIUiswzj\nDBbbB6cuNMIJSZMCw49WXGkkfNhiOlTUtL/qwyRCaPeLfB83n6BgHNzAY65q\naY9Xsz+9dfFAUwCq0UmlQxuqxdoA9OEmqSSnZLyOhXCcelc7JJFTAEoZ0+xk\negAz/Cp+VwOeLvC3KXCWRvIqwMM/8iwUIrk2QMKDVAm+9LqR4ty0RCTh9Fco\nRouHRwfBXZ0CMjH7w3Ppq8XSfj7z/nMq8bDnz5YjOhlDcJdkOKnATGRPOiMZ\njvPrreiADh4eU2APT0CMbgb600X4Ab/s0BP+vs0DCDlRXMEVkrUFMMpE52L4\nRW7NGxyGcyiWdoj2VsYzSlob9m13iJxOmKucpQ9MGWc9PFBW4I+McWBK3ziB\nTpAOkQPoZwqnfj/eDUKZ0wMfvyWWKtczK2r0TqHv/J0itGXUJZIV08D2Xq5t\nRYsAEHNtPZykKUtpGvNCdGauMHeFUpeoonFD2ZtKdAhg3bQjHFCiYDlfpEzZ\nnvMuV8RoV35v/hF3AkygatUkpVmn/dyLWoNG/bPyXRV77pXUWVqOCubxA7wy\nUnjypNALD13Hr3wZZVEpsFrxhHh8GHJ8R7WOj3xukAIVvITEHjacKRdhEakA\nohJ7\r\n=dW8T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.6_1554491488460_0.22436906494805675","host":"s3://npm-registry-packages"}},"7.0.0-beta.7":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.7","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.7","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"b00ccea70c2fb4224b4dba731540f1ceeb138c37","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.7.tgz","fileCount":47,"integrity":"sha512-dsnfhcWVZvp9imlkULDMFuuOkL92tSc/9s3u8Bo9d4ztJMQJSP71GAnkYrWBjWe45UxEQMA6S/ikMGBCSVTuyw==","signatures":[{"sig":"MEUCIQDr3LKPD+MscHLA2cFJ0/yyxEjaAyhqBHZHHHlO3cqx/AIgakbjyNssl6cHoWI9FuxUYQaWsF794Iu0mM5IjCoWh9g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcriBfCRA9TVsSAnZWagAAVz8QAKCC4QEdcwTl/H3tAgrd\nDlDmPbUen66ZEkLpfV8FmfgOyfgtWm5DUUCRROVO8wTCrqER67AWdkEoCMuy\nDPk9+cIdl5HX0onmq2uzjzGVBD7AKb+DurXVwsgUKNEoq+IEI27FuZciADY/\nuxHoj+hbTSq+eNfCWmzsPpDRo+NMHDBkvrKu3IZgNux1LPWvodiYjBREUlj3\nBWKRtgIYULUIfGzgo21koLYwZBteEZOcmTO6zNq9fkAZ5KmZBeuPn4h4lHHq\nkW/48SeBb8PhSvx2jz/5Q+JJ9nPp4Ger46Li+VGeCZY7rXHodWWLdSEVnCcC\nJ//x7RIdvoMRCkiVZf18VgnLgHacH1Mdg1a+VpElKOP3d/qun0X5+ojkxFCC\nBRkJc9n2RgEPJaj7qUHXh11i7V1IEKi7robBMEnM6i7CcYpWK8XRjjjLGm3u\nkE0DGPCD9IMVUy7QiTJspABRyUtbW6Oe+z7WbP/BRhVW8bd5iEi78fc3YJxm\nWYkVMmiTdGE9YDwDyLC9n2oxU/TMxUgYG2t0J2wX3yMqc8s4N9rK73Mr6pZ0\nhvE8uA9WM2pZRitETf7mCPoRIKwom5lKGAsmL6hCVN0o4foeJfUOVV6saCMl\noMMcGS3tnNNvjuOQqOFy4Gu7lmqJiZBLugSw0KaOqCzOn7oWiQqJYY3kSHKV\nQqyO\r\n=7OIa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.7_1554915422981_0.3225986834312453","host":"s3://npm-registry-packages"}},"7.0.0-beta.8":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.8","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.8","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"0f9b2b71ae04f4100fe3870309ac5956acf3352f","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.8.tgz","fileCount":47,"integrity":"sha512-q2ME3DMZ19bd9J/mP+UdrcvZMVUYmxUkAkvvHrMRam8efGzsZa1Um8cTUuxwl2/3fXar0nEfvq5BSlI3Zvx/+A==","signatures":[{"sig":"MEUCIQDbTmmV3plqEQHlMXYojtzDNTglm1UASrn5TEQZA8v9qgIge4A4Lyq/DFZehbpMrMVTOn9epcfBdwZ8XHg+RCG4WCE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcr7KpCRA9TVsSAnZWagAAPuAP/iVA4o9QMVGrd+4U1zdL\nSSf6iF0O5OhjRBBMZznG6hstXGp9l+RjTLK4jlMgZM6rjxSo7JTWPq/WKl+L\nFXILyidG/JMJ3TuxOHuISyOuMvzmNyyqNaqxPsum74GXg6ADxvyy6OZNfQwx\ncletlRDD0ZhW3ACm2Z5iIHFSoUSXOi6VjB4ryB3Xs7KYPUa6jDFIRAQqn0/b\nxl+kXRWEgz1grb4Lvy5AmW2tP7OQ7IkqaYd0en6T+2NiO6bpnFSzmEiwZyK2\nNg59CVtDC+gkNlDpia6qqCbIMMzj5Xu7yowKUBCxNhjB5r/Fohb6J+mX0KKG\naRyZqpNaTWDXODxJVpbc53rHESoWxncZZ9iDpQQ5wnUdPwfg+1tj4nPhziAV\n0xsTdnTEOcVaoFxJ4QV0AGG+J2zBqN7DZQs+QsPLGxpg+GFqlcxa8XugDLEy\nUwNDDSepHUJQ96F3gh+Gnsji9fTkHBFoMHGk9aYNBehZUgpGb1ifyp8andm1\nNz++fAbw+lVnDbTDSLHIPQZc5+JFXVsfpjQW/7J2nRb8xCGq3QDLqLxB3RBv\nHxFlse82sg+aVzUzJnR3RMCanh5BzIskfmq4+g3h3VfgdKepzFZn8e8wsfrF\nOzD4Edg3lx/SmuxdPB+KqrcqZuDK6f9m/YKJvKqobxsGtalwBAbymR0mFYPL\n4MYQ\r\n=Kknu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.8_1555018408636_0.39762029171815816","host":"s3://npm-registry-packages"}},"7.0.0-beta.9":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-beta.9","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-beta.9","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"da224e23c5a8e2aadfc331b70d30c08150757c07","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-beta.9.tgz","fileCount":47,"integrity":"sha512-yRwucIPQnp/JV/5fd1TkE1DKCjWeuZXyKPfv3cDSfam+vVYSODCg5wJr007+YqnYMbx989pdJLP58NOZBO/2/g==","signatures":[{"sig":"MEYCIQCEtMjt9eTG5OKwkGUTSmswdUeCTboKuRwDJslcXXEyYgIhAKY/BCiEOSvMR1Yt9mY7Ox8p9r+9bcnnrR4xdGWQjemq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsQW+CRA9TVsSAnZWagAA6o8P+QD/CpDMPEv9Wr7/uSgg\nJPAVlu74F34rjUyMdgIj4qmq9GhS2waTk38oRAsPH1ptVAofUkma6n+zCTyx\nOPXoIMoXHt/eKk9H3oDDMhltk4JNM9PRrZxopXpsFV7KoMzNyZYsOWTw65b7\nD1wwlCerP4O0VlJofaktTgcRcEIsPzqSL7QSXhiAP1SNvSL1BqB8Bk8sD0fi\nnGUXAShXhXzGtQGY3bQhUEixRkuMbpk+1SC7oOrKK1LQ29lv2VogaB6i69+j\ntTEa1AhC3JhT8NQPFYTsdvWQ2hfWicsBI46eIZWoV89MactRTi6dXpFLlCiz\nxnoldPA+TG6FpDhUv4H5Z/yubih7oJcKaB2EcB6+sWXCbZqVaLZBchzI+Za7\nBoIAfrkMwx7Mox4NqG7thtW8XNQcVHmPrngJKuRPu4rL7GwJe/KPOve7hDZv\ndPDHUopVjT3kDJYYXbIv9iDVH1IIYS360/eNkV0OG0pBicUvZaqgeSeJET+2\nLj0r1bMylouQW0otFWGZrLK6v7h/U8AFkz9Ed2wHFLWxaYHh8gja//TKCckh\njJF0MOmzRoMyhHIwUD1rWG60WJ6baD8wIJ97aweueCqukVjDdKxMnoI7bjwP\n61Tecv9+CtJg80Df40yRSYbY/QxIJmuvKQUs68vxpGNpMYwR8qbTjZjrWI8v\nsVMO\r\n=yrJg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-beta.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-beta.9_1555105214314_0.6050061385812397","host":"s3://npm-registry-packages"}},"7.0.0-rc.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-rc.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-rc.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"3ca7fd5c1a4efcb43263741cdfe0709c8911a94e","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-rc.1.tgz","fileCount":56,"integrity":"sha512-qKBwca7pM+8rjt9mKAHxN0NqfAv5hY9KTnLR3/GRvj/d1VFrsSU86t7guztk9jgo85R6Gk1d11sRNxqNoOijvg==","signatures":[{"sig":"MEQCIGWQS14qQUhJidl4WNCxDBKh6/CDtYFzFUcW6bYqKIudAiB7h2OiXwJLllc1O3xrJ9TnqO6LRvnsNuPboDUYutEmrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcs58JCRA9TVsSAnZWagAAC7kP/0RVA2pGJPaUn3kL5MlB\n6n+v9oV1QJRdda3JjMZGw90K1o1M3q3ATv6BMco26Tujg5SLoTZn6VtUp5Qx\nZdBwV2uJvlyikvurA/wDL6sLK6I+zxAICcJ7pxTbPFVliNMANNLWWaBxxHpU\nm57Ea169qmiwPRBZPSMhp4rtyzOA3t1M31GcILn+/KoxjJEZvkrcyezxsLyF\n/IYfoXJcHgoTRlzmnY2BkUSF0C/y2WK079bxjg5W/zyP2+KUxAcMAQ/b02n1\ngvfavAcsDnMji3C1khOvbnXPX//L10UalK7kkaiYd531Fiqybij4iKdwN9E1\nnl9Fl4YbYJtUy81JPT88IXFocr37c0epbJPvBvoZx1l68BzL8mSWVuI91akY\n9mXEMkF5Q0vdmnmZ9zXK09k9ojp2M3HUTwLjSt63n5kBz3WqQ+FdgUwuHO8Z\na8NxFltd10E+PYhp9xxi2pD317hH0Mp8cJevaO12YxM23RWlnEtA3McbGcZR\n8D4VyfqUb7fdzJhEJdWinI1IPEuqLtkgOlqqkeoOfyXmsoFFkn3qhPl4Frs5\nMdU0tkqgrDGjw378ayXg8Ieiiq6tWV//pONesShV27/bl7drbNfRxD3cuiTr\n22DJn2xWjbXyjM5QWas8S3c/lF1riOzDv8nuUKp+Stq61mlU71XgDYwlZ5hS\nbP9f\r\n=G35M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"ibgreen","email":"ib.green.home@gmail.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-rc.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-rc.1_1555275528457_0.9063524829402207","host":"s3://npm-registry-packages"}},"7.0.0-rc.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-rc.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-rc.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"5c76afe6f5c9b29b91034f6ba6e5119638bbde25","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-rc.2.tgz","fileCount":56,"integrity":"sha512-xm1f1eTi32Lc4AaGEyxDga2TcMxXJ2AGPvU9YQiKp0O9vVjsNZBo/2926tMlh1o2khRtn6RZdLFeL53rDd7v9A==","signatures":[{"sig":"MEQCIHUbddSvJ0oRWIewAT6W6iN+2YtkqwJ2J3RRiPebeY3VAiAuxyoJ8txDf7GkwSKtuxozG/cIWq+sIXYCGI3vZaRXcQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctiYYCRA9TVsSAnZWagAA/boP/RCHL83TgA7xS6WNw1wQ\nCAEEgeRB8NcLobpAchI0Opct+mhsCZ+/ZA8Dr4OXDgJOoWTlV/w5JOdxQ6oN\ncOqMfvMGxHclaJkq9aUN4PK8iUOu0U/X4NBcq09XwbXhDGKGTejJiTa6LSFC\nNMcx9m3Vl52m8doeRAgg8E+usGOIP6o7nztYZOHtlS/X8SmIkmg4R4XV6rJ4\niVw+952VlJijQgQPIo9hCnYiC8KeYQmQPRNJjAT4j6Eyi6STZ+KKcjuRuccD\noWhWfudar0kq/MeaAbW2LM+G6Ce+KlO1ZoArTew4s4z92p9FEPBZPM1v9ldT\nR8Z6KKAjHMyFwEFoDCudqf+98keG1+judRWAfE2wKZ45gGgtQzS4bG3we4Ys\n4Egq6fQEaucg0oq8X0U8z9N49NkXeqcBB3sKlPseBPBdZYVk5DTMXFtJPJUe\nqU6nLCDycQAgdZ5/m7UiFC+BrcAJbS8VwX5TLBVvqvc6h5fDt8nZMtS/+yvI\nTV6Uke/HoWMaKuM2m48mZo6mlQ0pU40JRK0aomgDIOr+s6OyQmZMxCTljkyG\n4kL4R6wC62En/eIbXmpwU777RUk7q9hok62/eVBgF6Wy3o+wav5gufqqxc9Z\nnQguI4GVt+F1dY6WfV9vbAwYNkkamK7YkrBL+zrIj3GxPB1hxQycPhIZejp0\nbhlz\r\n=Z4nf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-rc.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-rc.2_1555441175654_0.8511849538510361","host":"s3://npm-registry-packages"}},"7.0.0-rc.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0-rc.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0-rc.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"1cdbe56f4363e8712c6e58b2dbac8283387099ca","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0-rc.3.tgz","fileCount":56,"integrity":"sha512-ZQZjR6VvyGqzuGVajkzsmMjjQf5yiB/7uJ2CjVWwnsUKPH4e+qOfcd90KGscON6ceSt6nQcmiEf1vjGBpw6H7A==","signatures":[{"sig":"MEUCIQCCef9fGz/7CfMohAnTYBoFbUmeP7VhPq1Adl87abUUCQIgG0FYLNfWi+I83vyaG9pzdfaZIRmEj/nE+lXd3uhdzeg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctijcCRA9TVsSAnZWagAAJSQP/0g9rDMmOkxJiGbUa4so\n7T2xZBJ097t8vH+QoNOBwJkW3CJbwo7a2+D41HcXmlzMfZCwT4kZs7VQE0qf\nNk7AUY9TBFFfHjz+TCmohGJoPTv3rXX6/0+yWY+XyvWth0vn/DVLTX3PXSYK\nke/EXUdHbGh9YUw85kJp69KvOhCv8D7+CWpliKSJNjK6r5or8xCK6HwLwuCo\nkrPskbqBsL6jgHoKq6FxpuofuPpIkGaA7ZWP/JTrzRnRfOoWVC2hgoa9iQA1\niAeHFTwdy6YzxqXwZ9t7ghfr4eoIANgxFHd9lfAWmpOuEBbzQPjcTntNIjap\nGiJqf9VsK+xoejcl5DQZNpB3ytckiAKnDRG47plBbvu0exRCIeNX2Cyir4at\nKzUc2UIs6EFuPtWO81L1/GkX2vIEBRy3V14ppVuu83Pb+130mkMX5HZ/54Bm\n1FAiB7l/YxL3RTitDfsjsTuw6LTCNAbjjCtMr7aSc37oCZRu39AImCxQ6CmR\nX58hA+Ud1QmEyWXWhOR/szL7VIUUQzzv/0q5ZZjgMmE+pkpEMK0IK60pGYsl\nxBm9fNMTPE399maSUyj0NpMbqBYfT3JZ9g8/7L9X4u/T4y/rZiH5OHI1lFWW\njm25oNTKc+6vjx24uKVC333251QGSX8VqcwToqon/Ls3QOSr7i1HoWJm7Kbv\nlS/1\r\n=DG3K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0-rc.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0-rc.3_1555441883563_0.08808405367132899","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.0","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.0","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"d97080a38aef2a494ce31bfd130cc6b48b2efd6f","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.0.tgz","fileCount":56,"integrity":"sha512-94TU/CB4TGQADwvS7h8YwPh97kYNVmw4rgE61wmpgoi3b6t0kJwPeH1z+REjApzQsvlRL0MAE0ufVjnkTeOqTg==","signatures":[{"sig":"MEQCIGKD0lwre+HqSoUHbTq7YVdSelNjOLd1zjL3Ut5jJmpGAiB6DkhhKKticcRTtA5S7wD7T+Iz7X0xUN7YMCIdjfvQug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcujEZCRA9TVsSAnZWagAAmrAP/REJ8mx44U24UeTDyAgm\nyUoeIAr/7ERmMvBJ48o02DiizrxGiKO7namuQDH6UVwYCU3otfLlGDpaI6Or\nrFhvaWHPPkwRftB2fsS0oZNAleanl3rNbU90ZtrR4QEly8RAPrR1CyY8fLmm\nJindT+aRhJrhDqoPEEEwl6fXD4wN3eJ6JE3O14XSzDE2TCm45cmWnPvaO4uv\nM2xme/jWDw5D/UD83qAI5xvUi60S6nqfrYq/Wi2y+Q14sGGfMn2x8agryfw7\nqSWZZxH90CK6Ohkpxl2IMd/YGKlRP8hgcDy8dCFC0ezDzXzcIr5fQyebhqGT\nJRvW0fzK8K/FUUSmRnmELm71ag/YgyqsyuoyLOQIRCmVqyBKKq42TcqUCH1I\n659xAg2ysB+/xtoVMPkWDuX6kkDqdokPXHEEHcRHVNatrFuNJVljXH0CVwcY\n/ynvi0pX3Zb/JzGGV8DhoQuF3U59M8wBkIcZqljJvKBYfZTgl0Pn/LI6lTZA\nI2A1mQZXdo6gdV1yT2SC3mL63u5mZtAHGk8/HKjG4v4xvmr+3H8aONVBWksj\nb5FttqNrCbf+16jbmdFlnzIwpdP32yHNMQq5OBkl258/LNbY4Pu5yNsrBFGn\nRYI69rCFK2SuVVaMWfpIS8szfi+PDZM7tbCFnZNvPd4rHUnYI3msO5jPN3Zw\nG/Nv\r\n=e9fR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.0_1555706136317_0.9445722808653729","host":"s3://npm-registry-packages"}},"7.0.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"8a2f5f64c884ff865abdedc2d22bd8c834fc731b","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.1.tgz","fileCount":56,"integrity":"sha512-n+1RFtWjbvavCUvLpqbrh5V612WkE9UyqoL7KcMHQzU5OMajuvcGFcs0TZ7Rpgb4Kck5HZlCz1TwtJmiiwD33g==","signatures":[{"sig":"MEYCIQDOWcCHQ0uPlB5IARgWkx+WrSXeKqCH2gjq+LDZe7sTOgIhAMkO79bBq2UUW7TiB00tYR8jnxV9+ha/zGLb9fZOQePg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyJkACRA9TVsSAnZWagAAD9MP/3zMp9Ta6J+8umx1nuEr\n/56TmyajgnhrQ9jp3PUNwoTB/VzSQuF1G+A1g6rRr73SmtGWRqUEiOeFSGyE\nkZ3ttf2jTsqEB6Iz10O891Kq25mJiEYcQ20UmPNj/V0O88Zyk+sNxzU32J4X\nNOIhWUfh1iEGuhqjCkv+HIw2wHsfC1TQbeg2rdPtCz1xmMkFIMhaIGUqTW6Y\n6lLaVZty5UdAxIwelCyC5Oc80HYuH/rO1lc9ZGGwWJcyaoNjR2xlI7Hk/AQ5\nkbg+ik/BuzePXGyr166ldXwJg0Nxq2FtdmQmLAe4W8YWsFLppv+3aR/yABVA\nCiAb9UdeDjvfVjm4KgPQiSOHHyXCFnm81Lz9NYDoaYrkiX20//PKpWyDHUer\nO+YHiAKg5IIrYWn/Cb3JnaQrFULTuRqqWyG7akYq30wZC6RxyaqjXBBtqxWM\n4ScNszc6Vrl/TkNdBn+9d0T9UyBq2k+q9SwtgF1IcLTEeOaoHvYriUsA3jkz\nr3DpKAH30yqCcE1xC/tAd9doMckY0RTshG0hq6Fe5tONiha4vSsAkZPeB3Yf\n5oRJ6PoSOmdBpBTZOkbqb3EKCORkW64q7kyTg7pLUqMCGuYpQFyh2xx0Izf8\n06NY15DVoLLnizQwHgOlyb5QLG7jBbDnctpiHd9JtedC1nSKnXRY4WzSTnLF\nDU7Q\r\n=Nd/y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.1_1556650239947_0.3470781156801237","host":"s3://npm-registry-packages"}},"7.1.0-alpha.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0-alpha.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0-alpha.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"037251b8816477858270c9a1a5a8435fe8b93a2b","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0-alpha.1.tgz","fileCount":56,"integrity":"sha512-zmQsAFIO1VQ5MDD8eQHm+KTGNQldmkXfvOGX+qc1wJyXNlw8F+YBEPsks9Tf0Il4AWlbEw86TLHCvsTpphBXTg==","signatures":[{"sig":"MEQCIGRJpa7xQZRUDNWcSPjdhRQ7XV5qPMgdgupf4NKVGGagAiBhTp5kSd2Nl6pQYk+KlHiD+QLYb+qfZAHppXQuOBIFEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1Ik4CRA9TVsSAnZWagAAH5QP/1OR9XdJQOT+SiEYVvI/\n1HE9sF44P79Jy9tKwqj6u/fM3jkSV51ewVfwnmmihKr+oLO0IygLIbaNfqG0\nH7DkUh3XXK1Ot8Yxfy/DzcTvDCKa9n3jwoqJyaTU/lXRFQmAaEUgNbo2BwKi\nNaDAclLTr6JTQhjqQTzmvRIchdWRcdIcXHaS7GAxIqDCnrzoTt4V9gNW73Ka\nFeCr9M8vJYtiZTFLgRha/rg9KOb01MOp439PNHEpMBF+8XMiPoRcEYnTaftI\nVBCR43530UOV48wx07MIPRjQkfKRyljgHM0cG1ryoq1Fm6k8vb1B2R8DGJOn\nI8jyCrEozOSFSmWCpsC3kfPCppT9Xqa69wLkYjagOYx8lDRrTQq1Y0GGB7Xh\nVuvdq83vCQVb467Lr3DVSZKdX3/3rZ81/a78r1LADCFrrN8i794UTIFYVwm0\nF6/vS7hAvvJ6i88uCpXKZOtBL5KUSl0OCvTMIbn5c76YBpzIdYgoxVfBVZiJ\n1LFnqQsARaglTnUv2Zj25yGpvs4JGF608RON4zxajCHu9sXuhTbIPRcxMbKn\n3oN0rn0hH8v+C+eeH89z5kApUqehVHGLZg1foRxEj80DhWg06YIt5mIGKumZ\nerOKigFrEz4gKiUajfwMXMMz2ApkPDrMdxXk1sEUw1cEJ0798bd6Mjc99+nm\n+iX7\r\n=jX6k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0-alpha.1_1557432631330_0.44167725951387404","host":"s3://npm-registry-packages"}},"7.0.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"89a4dce9f6a4ca9dff7b3714cdf77f57bbd63b78","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.2.tgz","fileCount":56,"integrity":"sha512-P5JuxLRhGrVezqxfl3hO9p16EXg+qp27G+xv/8dR+QaQmWg3Knr1vZXW2eEtHaG9DPG9+/vTRzyiOS+oLdYuYg==","signatures":[{"sig":"MEYCIQCayW8lM2ChJSmwxIGm11MThCV95WQ8tZYWgoPhfAsWJwIhAIQije/7Pt7+q1GlLjvYPx6b6eZWdUYLPmsIFWB0qZNJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc42JbCRA9TVsSAnZWagAAKSUP/2joWMM3nsplEcUyBb3p\nR0V7+TpvOhHe5ic7zygTsXFr+Ca7zqExL4iY/H2PHxxEBwNGNseronZEHLCE\ne9WswJ7+6Ra5F+orpUmjK1270JAfE/y8zfbY2MaliEPbpDOlz50q6skFuVZf\nEoxniWlkaoQEl3UduMJcjvQSC1KID1Xn3Aq46hMgIEzhaFin70NVTnAXYGBz\nk5Nu/WutXOsOj4GXjelvEWJV+1p5ySWJmzHoIouixQhXEB4RGaYOuldBssUp\n1oWOI8N1RgothvqC9tJWk6clszLWd/SLTwZCDMvhlzXXl6swCWXamhxYNtyV\nBmNcelffeUH23c5raGFoFKgT+B6RDw25I5EGI9aWINPb/TMXl3iLbyTXjrgM\nfEzMfUOpxsV6k7VNcDM+ym3yas555pjEVDFJupLMbZPB3/5qHCq7JunFNIjy\ntd37sXWfh5rE8dbJNCcEAVQVNm85OSHi9kL5amX4LCBuRQM8B8y6wcFhLSu+\nVNEaG5ka2sRFuuHAuDy8Jgy2CC15tatXKVmREyl/AsKFTfLBDPw6OIszUyGU\nxGcP63K64nsDKoCpZCxPit0oUQecOta1Bt6Ligg8EgeKv0ENe9EORH7rNRzl\n5+FC3rZCFpcHabJwho86PWmXtQSHPFlUSPpv4A0C3ytYM0D02InPm1CjEcNk\nTCZj\r\n=7/DZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.2_1558405723018_0.22494573835657317","host":"s3://npm-registry-packages"}},"7.1.0-alpha.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0-alpha.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0-alpha.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"28d817e786e56406a8b34b107202bb0bb5efd4a7","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0-alpha.2.tgz","fileCount":56,"integrity":"sha512-6HYRs4aPBAp7ADG9VT2hy45A6m/70CdTuSJVHrI7hKc/YeNzRVto/IdXx+GzQEmFjWWbx827m+4DWIZH7Rkmtw==","signatures":[{"sig":"MEQCIENehB19TirBOcxbpu7j2rWTh56oymxwrUqR083fXEAbAiBeqDHEKph+aqBKswtcJClg+gVTrwIRljEzfp/c8pNl/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5AaFCRA9TVsSAnZWagAAVqIQAJet4d+6W4ok9vPT3ax4\nPKEZaDkavWVloOj57pcBKjacN6U2Mz+fY+kIhDj+8HObM5zuYwcL99yBoXZi\nz3a51pO/t1OQ5AJoTnEU3sV9PQPa/gn2YAyiF+Da4NLPxCD5McVP5J3gd6+y\n0dHZwfZsSiSbsvU6znKuYOntPkOA075NUg8wuprl1R4sj7w0APRRbb0uzXFt\nJiCJgEWfs7QRkSmEKuXERagxe32p4Ht4cODBWOpGYfguUGXRKAw9UIMc6sji\nFiWwsAzrO0QASoM/Kd/7yDXuvXrXjtBbKbgTn+4rZQ/1NSUaktRUxCaCmyb7\nuSznl7MpslSCJPt1ykLkA8xy+YFmuMIbAl5glOZ7pISegeQFtHD+uLF9soVS\nXKDU5gHYwUs+lDWEFCY+X30F9bJoT6fnckKHmvN69qWmGVBLIxFd4OcYxae9\n35+sxEijNHWQTCbe2OCBMv4f9rILp/W907n5SeLHoLs2nCUPaxfXAIbWfxuk\nWY9MqJMFACvQgHQwBYQrPOlQVylizlMW3i1D24HXX/PWerj4CwSB0ZQJCO57\nPFT/FPl3I53k0AFSNzdkWBe6FMfZ6yS7eu7Le3ISwTz9H8FGMrx9ZmU/oIz/\nlBhwx82lkIuEZ0KvIwM/bpPQsaJmG2hBIVUywjTt4scalC0r+t5sy/qNGnqf\n+WCa\r\n=Iymg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0-alpha.2_1558447748793_0.22638622903761507","host":"s3://npm-registry-packages"}},"7.1.0-alpha.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0-alpha.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0-alpha.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"3c240a884136b3348ca3e85be9c6dcfaaae9b64d","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0-alpha.3.tgz","fileCount":56,"integrity":"sha512-1CWCbiKxngc3OaKh7nsc9lw3THhCxga12SJ1CyEiKuSYmsqdmpiqYFDRm3LetQqibc5D9sW8zPgl9lOL0zqW0g==","signatures":[{"sig":"MEQCICgI0BRrVqa7ILH57QCrwusNcNu93dLAsxSKXojD/lHDAiA4WZnz8kU95auQ6k4fkIsOmdks7ry+9Go7ZksXLrd6Cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5EClCRA9TVsSAnZWagAA85QQAJOBNuB6wUVlTPqItwju\nYbrsnsUk2ngIqxWnlOC2JeC6wJ4ErJDIe8Wql+9hCqISG3kdArM87gI0pQSr\nNCWhpJilS8bba0vaPIELkStkF/uM38kTCIA1hrKRJ03BsnK7/kf4/HSGnNNz\nja8+zCyltVgi8YlqNyhb11ay8fXogElw9YzNyqFtR8mB1XeVWSmBQlQJM0ea\n3a15Oklv7+x8fZsWOfD0uOESolI3h8BWddI00UBMhn3TgunThb527u8wqxvT\n4VloQzt6jWGupeudzK0KJYhqqaMhYX5QVJYojzJFH8FKlXKGtFTdGX6UaDbo\n4g9+0Dr3yisRgjEbPiGOXphALLXjjSTh+9T91tfJ0BCYhfjR/Mwgx5ywnQPt\nAKH9SjpDh2/3fnd50USW/HRmzfXFJTB3ox+1ZZRUwUXn5Mh56HnUDZSvWQWQ\nm1Kn0Hq4cLonIf+x1rQDdcRC/YS/zgKawouNdxriQmnINVAfmxJyWHdhm+XX\n7dMR0Mz4R2g4MY1FWZeiR0ZkL/hpmUsibouv2eROLtvslCtpI1+SiJn0pcfI\n1Q06hGXda0nxt96yL0kNT2zpiEYftYnmy3aLoZBhigpwctpm7tQcW/ZIVclV\n2iUcMXtkpcuafwu18pwWrJX9L6Cyxc5gpS7J8A7IIdiPj/EnZBMZy/qJgfMy\ngyx1\r\n=mNnQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0-alpha.3_1558462628630_0.2375282310281457","host":"s3://npm-registry-packages"}},"7.1.0-alpha.4":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0-alpha.4","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0-alpha.4","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"dist":{"shasum":"36a7644c31877259c3636812d6212a12ecdc8029","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0-alpha.4.tgz","fileCount":56,"integrity":"sha512-oiXS6kpBuv/OqXKMd+SMEkhCKl/6SVALWyI8l7IoYA2Gf9wkMKJ4A4jJUWLnsJOE4K3RolHezSuTaA6mMD8dCQ==","signatures":[{"sig":"MEUCIA9xKx7UpyoUf3DzE2JXpvHwIptMjkoo8P8pkt9gZG8vAiEAtIw0mY/XBvPuvLhBFTSZFP5Vbwa3rRpdzB9vmQbeNcw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5axACRA9TVsSAnZWagAAyPEP+wXM5CnJf4m4MHD7Dp/S\nvNl5WOFd668Q3Tij1Yoa3licgzAWv3u8Cxx1bsaec5D8axGsFygS5tko40+s\nxyMBcCZExsDRRiRZ0w47suJTZi0IlF73k8R6EUzAh5eIDd08cTkHC38rOZ1e\nXvN8/eEFduViIl/a9JDadad8SBSJkHl0sokQIZKg11N1Qbv8Hslx34lIR+o6\ns/P+uCuLP0jQqwjkaa/13PfZd7bIOSLEzCztQZvmLkkyKkIKgKPZe8RJrrt4\nLuLB5V3sZeKoqHou2IuA8fsvzWnO4NcfdQF1J1TfYAE2YwAUe0Fl9Ve3ZSr7\nTtX1QpJkDJkjUhu2UgnT+jFW4ojB8oadM0wmU83LJWw8+xgyNQF5+PKEQ2BS\n4TCCjKJdMihxt/C6xnKscBK/6mguAH+BUa2GJR617kpcZfhJWUUiMPfrZULT\nTsFeNufuaHtAM+AkFY3HUFk6hxAKTaP14xFJJQKlpI8m0yrURc4uCSdtSQ88\n+JDVu0kFZDUIp93ANhdkE0IssknyLFbKAYJzFWp0TExEJaogFZ3T6sEfkZmX\nXiuuXegAz0xuDrWOjzRBOI6i+KknX1+XrpE6yA5AHvJx7dzM/Ze+9VkqfHfP\ntuN0iL6cZ0vLoeKwLD97JKxfSmFne5Ja+XLu40uefYy8EHzCgk36WIqQAsOk\nx711\r\n=Yfsl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"https://github.com/uber/luma.gl","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0-alpha.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0-alpha.4_1558555711423_0.47711608260612715","host":"s3://npm-registry-packages"}},"7.1.0-alpha.5":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0-alpha.5","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0-alpha.5","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"b778a26b428611b404ef068f98d62ca8f34f39a9","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0-alpha.5.tgz","fileCount":47,"integrity":"sha512-+3mQ2LMy/YFmpHYLGhs1BIceaRJShi2Wntq8HROgbEkMHiRXYWxgSYMzWJxhx+HnbmNrGQcGAT4E8MCHluhN/Q==","signatures":[{"sig":"MEYCIQDF1Mvb0qLbwVX/SijjMgCAz5kQlsZxFYCr3k0kD2+abwIhAKeKmi1BfQ2rZJxldVI6YGpVjqLRpgpakWISR8jNDvRa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8GH0CRA9TVsSAnZWagAAm3UP/AhcB460uR8AQqVe7QXe\n+OLLiDcjG7JUEM9UYNWJt8mfAVpmcaEmBUrJ0v7bLKyhDZdV3Tbwr2i3Hul8\nitvH/m9D72bSOlYJK1P8Mkzi6RW3124f0wsKa/VEfkYpDjfhO5DI7gFUPImH\nmWno/6bHs7skSm4bJa/KYDiJE3Nh3c7+7XbiAfQ3UndkLNCqvSbE7lxCJKs1\na4jVLiVy2+jUL8dxMYsTOncCIiL9LlDj3E7SgpDDuqy56Bb24Mzq04dyrVGe\nqcwQiQnQ2Wm1cBrE63UrIFSRbMCBjW0AZ7lwasaTcpu8z5vAkIF2YKDu0TsI\n5aNqguiRZx2iFIfFFj5EBDJKr4O9vxJ9dkgHTQ1sXPxBTiqKyQlAkeXlj2Xh\nz5hAI+2+4psUASZcD5RxsbUB9OrbsBovC+Ka636hmy/Csd+K/iSlmtKSB66l\nCQWXwv3mPoIQjgna38Tm5C50DxfnMWckGsTdiI/T2gNmOKJqf6/j6H+o54si\nIfgzloT5oJudXG99RPG9uReg0nH29oOcFdjKUsyahqolulTMsSdimgXZ6LKE\ngK5+uF+bKAysRdphIScgx134aaiIlAuHchdkUbimrbuKULzVJTiKWzvoB5AW\njf4NKDLX+0t3YZgmlc5wk2S4FiX14Cx6llryKmPbisp3d04DxzvxJjQSN/E3\nxdVh\r\n=k9wB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"ef39b904ae17a9bc257b79f63aa1db1671e97b48","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0-alpha.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0-alpha.5_1559257588198_0.8594865059771797","host":"s3://npm-registry-packages"}},"7.0.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.0.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.0.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"d0b0a1a84b28552622883b8eb10d9f21d8559ebe","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.0.3.tgz","fileCount":47,"integrity":"sha512-kAUZ25cfkTwN3jFHTtcCBQxWrfixlATPE4RTg5q3qWMCAnS3dW8ZVjo66DCbJvacGsZBqyDcnmJeIg44cBa5nQ==","signatures":[{"sig":"MEUCIQCHeZeGsrYF/oqfEmV7oEC7WMgYcdOfhed5+t3iur3L8wIgAW42U3RfSRtcS+8yZ5GUJlmyXKYyiqnnXg3JxcyNEB4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8GveCRA9TVsSAnZWagAA4gYQAI/Ebk754gaJYBAkfmeb\nKkrRZOsdl3g7e+n4Gr2pdKpXp2YvVfx2HwizAdVZAQ+RHG52/yNZeOvPhmp9\nVvNDlurDIIOHll1PLKUD15U17x3Cms8n0EqL5IrPw6jHxTN+BY3XlTepFBMo\nyQlJtbI1w58xhTexJ13Fnl9v/SPb/I9c5+Jl69OfDIqrkt8p4xDKfDxuZ/WQ\nX09PUB4hRht2FEIbckFQS3nKwo39FI+kROkb0HwWlSL/p62Hr2kF0HvQiVje\nwDeewbLsSIkVOHD5xbtYsuPRQvgdBnbwjzJC7K0YexALavfNSqNErDI0hcqg\nLJXGtyQL0z8jg33It2XA3w+fVSFxR4IgolgwSMqc/bhpMMrENb93/YtzSTu7\nOPSGdmOM7+wC1qwlSMv2bw3uVJjn9vAUvXt85xFcRXf/bClQeC6Jm3eGcpSW\nrMi6vqmmgOOD+SNv4OSakqiSO5jtNnV0mNZ6GcMueHJdFCECPkkaxkAoms63\nUSe7b/ikMQS0/JqNUjBlpH7QuNzeuemujycdT0Yi8hJ9PFaYRiEdcN04uPWu\nCUKlDqGXamL5nuTIIZB11P0bapluhiox6iUT31j8LWX9lkWvRxedbGF1CTA8\nBvsvK7qchMjSDk10M3WlbYFDBg/IupPlmcjCB4t/u7DlucqCN2M57mT5vwII\nQbL3\r\n=ExJf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"f73a2178be325e133ad905f9a35ec3c8501d87d6","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.0.3_1559260125584_0.7043109647007524","host":"s3://npm-registry-packages"}},"7.1.0-beta.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0-beta.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0-beta.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"570f0df4770b01c9ff3ebbabc4cc76ec1780d85f","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0-beta.1.tgz","fileCount":47,"integrity":"sha512-dyVUhYq856ZF0tCqWBO0kD08bNUdhCWDo6mwfSyGIrw8YqoVlntKxTOAYPcA4sn3qTBvb9wUc7WTbYn4SKoPqg==","signatures":[{"sig":"MEUCIQDxI+OjosZE8pdG8QEh5dmFlPp0uFaBL92VSyH9nxaB5wIgY6EFFj/dkPVe6flb/V6G/v5QW10cmaRrnIYHk91sXTE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8Zg9CRA9TVsSAnZWagAARDcP/jv+fWHzUBbc4e3pNSLC\n7XiM1TvXWKyoIMxJrcI1YQUxkHt7N2f/7H4Nj2dNlw5KFdu8n5OH0CbJLjwu\nsY0jCZKA431DshsysJ2icPHQkiz0LJsxHmA8oqtmBhskZ/FamqKnUjdUQWc0\nyKKrVB6j7vHaNZ6GaugYiDrdUNO1PkpaKWPOj95pueJazOphBXzwVPwWJMhe\ndJML1sQd4LxWazLHf029FjQvXy9Xjbc2cDo7Ad58myYzIJxPA6J7EwvFczps\ncJ9YoSTMvGK4gfiGha8Vw6wD6tTv8L4Fjm+PPmAxOC1HiFE75kAQAJg1kS5O\nBDAcs18L4ZSZ8wBGCuqcjlAliNScEyip4WTwsPMAmqpMQS8O7ic8JVX+Dn03\nm4Kp5gNYL5nv7gtR4SdwxbMV4/E6H2CChicM2FCrzP+RSunbsRRu49dSBavU\nnrI9JMJLzjg2qinco5uAZ58Wgu7RKfr5NDw1y765XoV4PAUqY+r552dashfW\nT4ypK42ohb57xZKQk2Afc0jibvR+6ONK35HJl2hp/LBcmOoY/HvaK7DkQHHa\nRTWXTE1IEm+RvaxwvId+p2beGbgJdV8fUeJqyu69aDb/EswV1/9rfepv6yNW\nrswVVvfV/v3e7HSEomjhd1RhmcqlznDB6WQyYdMkmRE0uQl7TMixup+3IT6p\nqWxG\r\n=/Kdk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"cae69f6362fae4bc631f80675b3a9eaa7c805f4f","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0-beta.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0-beta.1_1559337020528_0.12415249997209155","host":"s3://npm-registry-packages"}},"7.1.0":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.0","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.0","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"5a8625092fbf239229bcde1d4ba4bd603b09e6ff","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.0.tgz","fileCount":47,"integrity":"sha512-11nhXyb4LmSBaSy49hBgepSpGvekmVr0jGm8OwgaRIcWnVRAEILSD809kS7c20Ck7Xz+r8HEEj97BaWe8+rTPQ==","signatures":[{"sig":"MEUCIC5CE4exAlOLf+UUJY8yFzUjze9OcWeUQ4vdtnLt6f9MAiEAtT7kfXtC4dv5vKa+eh5UPA2JZEz+juwNsQjawZgBAN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+AF6CRA9TVsSAnZWagAAmowQAI4Rt7xROXQUYDXcB1Cb\nCdJmt49dUa6EU07hfA+ZaiyB0RvAOJgQ56k277CLX2jW8/oXy6S3GZgkqfs9\nJf1pCbc/Ea4AN6WlyHd3L5hMIE2oIXSVIAFEGfyQKNhJkopOhQSQW4G/IdW/\nxSOVKKr4hSTvi2S0/EL70nReo31kpiJYsOzy3089+RzbwKJiairmo1jZsfiu\n6Mz60HOGfxVGp6v6sL/nEHDVBCjheUn2HMc+gsJVyLF34vgg1wsYrXdvLSMX\n2V52Y+7isEUlYdIJ6BVkeHWxUOjJr5KkheLQlZnv82T+/TiLwwk4dtegn/K1\nnO+ZyLJq2nKstWbUuWYSDsldX04Y7pAkbZ7v0DhBZauQzXUlqKVOfjgXKO35\nZonfLAKVqpxfUJlSsP1SLyoKVTOb1QhHLuYhxjQYBSGuErN0rGofYwrw26CR\nBdnP5+FTdjgcAMQamh+lqvCS9147wqr86Rw0wuZzVCyH8nJXFVxMfyFScQkP\nsETNn6hjXWUhppxHeGFqWYvPgD9MvM/4/Tg6G2SlTWcwTL9rAFuiIWWBnbw7\nsNKz4omkWFpD9dOuzi0wFweOA9nEtS9viXaoxoLSbqVq6cJiX+7/80jNYNFc\ncNBJ+oOB6EvqauzAQlzut6jgscowA1oM+bd0MX13aOmV/5VH/Gtd6nR2/Zu9\nXXDu\r\n=AnAX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"9dfe3fda05487d0e539b18e2eccf84bf7f4c5a6b","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.0_1559757178121_0.5517842823544674","host":"s3://npm-registry-packages"}},"7.1.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.1.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.1.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"ae75512e01e3ccf4cf675f87cdaf238afe7f8267","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.1.1.tgz","fileCount":47,"integrity":"sha512-UJxDVG4tojuStNi43ERxFiojgkTHi5ScbuL0Msr8id7X7L9UmeCiQ4H6p9m002yy5swCsJlWg/Y8oEtUA5jhqw==","signatures":[{"sig":"MEYCIQCTqpRwitf9DyHajRbfo/0l23rGsVqABBRt9rY3sU1DJwIhAMBVgbx2UQz9ZAhk55riWiSih/2Pte794tDE5aasUAha","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+sayCRA9TVsSAnZWagAA2NYP/iRQhs5FYSApkEXR7UUN\nKaJCbiXpe4BXGKiN/v/CFgrDQAXaRwHmwG8xyLVPFTmxfk6NeT5Vqw5Zex1m\nBuXbOCOMpCnw4J6NyLhWvafvAU21RUnb5kMcMAf8WA0NEqndiEHR5nW6as+9\nLcqZLtYKWlE8+DVVCirrKpO3Z9nPltdyR19/iGc0QzYdlOvkpWp91Lo4gQ+8\n9m0oWaGYc+BG9JmGEYhOAHfMGd1I7xmWox4IuBt3zINCIF2Db12pni76L8lZ\nH65RPQIqmvPuTSK7BKLiJ+eq6S2KqilA7rsx26YuqiaKzBd3jeb0maCisSFo\nXQWh0f6bggqIupR5+DVZn925Z1YHdf9a4WlgcgfCRUo7iPR8ZLG2WyjH81Ek\niO2/7awJbYxrxUGna5R/NQQ5JHL+1AYYIBD410/UPPw/ofWBy9759Lllbxat\nUiSf09J2xwR/TiQV37jFLk1kna9M+5Htlhf6z52MNAGQ/dawdiW/Jb6Slgs5\nU5J/P+//N3+UdECXacNKoNsgvoL5LqBsuaC69F6I2aZ1ckrglncQHuipbjMS\nv9gxPrpgf9U+Fhr2Jkxln7zxrwEMLJpYLIlMTYfg4qMF3gpoTYVJPGJXSHoq\nZoaWwmq9ZFIpV643sgrnmOHYghWmpB67VZDcfnasINtyeXaEghKzU3o59HAx\npihm\r\n=l53d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"8d1313fd499deb9bf73f036e4e7d2c31a0267173","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.1.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.1.1_1559938737906_0.9535146999653461","host":"s3://npm-registry-packages"}},"7.2.0-alpha.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-alpha.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-alpha.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"b713854d3e85592018da5b2a9396f75a5dc9f641","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-alpha.1.tgz","fileCount":47,"integrity":"sha512-Eu9lZyuVMfcVQ0i7oJVdQUL3sf+7uw3gCj8bIJvPDSePnZZHsVrpIQnCZ9cxgK7ONOxRx/ypZXYVrQvdyfDzsA==","signatures":[{"sig":"MEQCIH6C2CF898a1c5mWhBvcMY9UwKblLOXKffs+voGM9y3rAiAu6Q6Q9iaysHUZOoRO6/TWl07iUfh+3j6HokkcJyQ61w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEbaoCRA9TVsSAnZWagAAaaUP/R8eULnI44amrMgFb3jp\nT6HP3cvcvfvc6srqdV1OSa5EbBc5JHNxfGZ2yuvA3F4NBHoWJ+c/qD5Ps7OE\nixR+QjJn939kLePs8kqBnsSyZ/PRiOHMTRVw//4NscYv2N54PuCRGUmkGN7+\nL5BBdvHJz/Xh2UypiC4sgRLbwnLgghT50WJ/6KuxVw/iO4ns9/cq017qqXV4\nHzJPYujwztAovBVVS3aHQL7ENFrJQL/PMpM+33CVppOarxg2cP4bzvhHSvU6\ndlC58szMS7bMpGekwsHm9hJ+jA5WDhAN+I8NA42MlWO5Z20tsMNZ7m9OptSm\nyaBdR7sEeSJG976Ony2FXlkR2yNeH3FWB24n/+xSKV0IKMZcttgsHDbdwdZE\nuDx8lsYIzqyxbf0AvPkBTdB7giAcK4u3+45yBSwEuWnHrDmK+rZp6ccrgfGS\n71IfeeptEksJP9kSOGnQeJsO1B+9/Gaie8fv4DVUXkLHY9uLKXmPGZSxtM8v\nIJU5Y/BCP6ggRevtzA3gqRN27WCnMaCKOfAPmkuXFDXV/36IiweEqNUO4mgx\nYdDSyUSIMnZ34RZHCNArcuaq8S377/To6VrN3cMRbDbZN0YxcLEzAcBUQxkc\n4/isBMD/wr36ezjfHs4/ns/sea47Yv9b7wyNf8kbIaZ3V0uJNd+z0+Rhndel\nZijg\r\n=AiNo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"c9cc15f90fffced387a90190c005ea55ce595744","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v8.10.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"8.10.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-alpha.1_1561441959466_0.4252375608973613","host":"s3://npm-registry-packages"}},"7.2.0-alpha.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-alpha.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-alpha.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"5a4f04f3cc59d4c464e6092fdd3d1834be4f19fd","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-alpha.2.tgz","fileCount":47,"integrity":"sha512-fMKc8Z4QtQ3sTrhCsqiHXgLDmLdzqL87KW8vo9LO5sam5t2E5QgllNyrm8BFhrcOkBwWzHHzWdZqIuBPAtkZBg==","signatures":[{"sig":"MEQCIG8bC6XfC2IokwKUJ62tnLkIb8+LA9nnCQsMAdz6r7/RAiAQzgudnEV589KIJ2wN/Oxj/yJseUoPlTcnHcal2A8C5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":211642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE/qBCRA9TVsSAnZWagAA/5EP/RNHdetdxqiGv8XHBs/R\nBK1/e4BURni6Ue4s6sYp9P8edGwmKQeIIGrMvXZAtmlrbdOWHHX9eWfc3ymd\ncnzvp3QJS7Ijs9QW55rFPqTTq+h5QKaTfnmX700i3mEUnGFo6tk6HTwt/kRc\npXer+1SyRX1X55swVCH4RLxOWAxaXrQLBqbqi1luBBlctMq1/lkRlrRbb0hr\nvNQK6WenZtPP+vpabN7M2R0fg8UDmOPijtP3bhx39G6KFG34fCFzEn7ichev\nZdHfJCh4ch5hLFxDAtz+Sg3OrGckmKBByGALbwKW/+eJjQa3bdmP+LoIuO01\nGl3hZ8JmOL9XJ7X5tPMfOkXWrdOZo/GFKxMVWvb81iBVoMzf8Il0TnSIIgLm\nsZ+RHFiKQs0DqhX4taRFb1W4r2MjzIw5ouWLa9ZyrS56eBtGMAyOH7kqvwLi\nZgBZ+0db+cdSFtYyMfP05Trebrs9bquPIVjxklcxVQAXehwmAsCVT9I+TaXw\nr92QxLomvux9MUdhtBrxGOdGgJV/GeOHpujz9PIEQ9GB7HcQJKsqGjfHRRy1\nCvFhsB+Ul8kDyC6NB1AWom4iWc54vdJzqtMmliWnabdCI6nw7ib9VRMdE7cT\n6CFVSGLT+q8Kx4QNVPFgWdcvVNCWtrqgRFg/WDrtE0FJYnc9knazzlEfih18\nDD7j\r\n=I0f6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"edaa7caabc3aa3e422eb7a4c3c90377968c867af","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-alpha.2_1561590400435_0.8266089270104908","host":"s3://npm-registry-packages"}},"7.2.0-alpha.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-alpha.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-alpha.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"635c5216806d27a17db85812b62c5b9daada31c1","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-alpha.3.tgz","fileCount":40,"integrity":"sha512-aA+V7XrYYCppf9mgOn4xIqHxMM7WNNCy+Q/mAKyMOSnpoqr8pcH6eyutvZU/QFose0kV+09+9VWE3Hs+DRb2ug==","signatures":[{"sig":"MEUCIQDX3V86StAn1ZgXeh5EEiBWyTgyWoShPnYBqVXuF8fcTwIgXhYDd6IRKM5nElcH/MLzbqwIieCHpQN7oacTi7O/5LQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMO8mCRA9TVsSAnZWagAAtjEQAJH9n6M50lDe+Apzycnl\nx45b01IaHWgvb4Xb6sETKcROlWaqBBR3HJ9Zso0jMdlVu1m1jxWGvpXEPWVU\nHZed21Rklr09AM8a+kFVfnFBp1tTv6aFwainkgVXNh7drME2ND6MjJZhweTx\nIU50EqWGLL8n74EszesffBJjSoTLyxGDZrb0YEtEtpta+MCb4Ewx7dJv+P76\nmBqHCeH7zcpqcV3vL9s3PmuMkJq2kJ0TNLgOE7ZfJGN8dYJatM4rIA/ceo6Y\nWpHMeflrqkNlOV6EZ5LS60aQLcv0sAZKNt5rJYU6j4WW+xKRLJsPQ1q1NN0M\nxNVnI33xU/x6YRalgqPpetnh1CjkA8s5QDADOkQmCC4eqTdJwNpzHECLF5r3\n56zfhxcFQ7/1o5QnoKSUVQHuuRWZz97E7I5TT1bEeIqIZZojFgl/lVyJBiXR\nG8bG3s29HbMfOtjOtNxsfFV8LiaBloFU6VKYS2lhUSDf+pZoojzLEH3z/Hcy\n2mpz3kwolPCFm/C3F1nWhIk+hs/ESY0r+rVx2dpGxn1NIWGErLR/rRsW+E2q\nJvq7wG4upRrZMdZQj3SmAJoEgCencdTfn9ZuQtkwVR8IdBb0qYfVd6/aYuYj\nkrYKzqjHKyO9KeOPdE4YHNEcpruQTYBeJ4Nl3T2z5icvqJHFiLNWjeYDLOjR\nOeHG\r\n=+c17\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"ca4f57e62c5b48e931743e7a6f469e1da7914e0e","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-alpha.3_1563488037607_0.5949356313899323","host":"s3://npm-registry-packages"}},"7.2.0-alpha.4":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-alpha.4","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-alpha.4","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"44df6630fec13e596194fac27b940d00030d237a","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-alpha.4.tgz","fileCount":41,"integrity":"sha512-s2qy859Mrfqex+H2Asbp8BC3Hgwhjrxmt9ixtkAooAmogkafSP4pMKDLCgP8MzL4Ulfmnaq9nA3XIfayPmtWXw==","signatures":[{"sig":"MEUCIAFIBrpm04XsA6x2Mt/b3wmWsjqgiGjakeM9xV2YjDK7AiEAjAjocD0p1GU/amSVLfY9mXDfwhbpo+Rj1NRP/nJJscU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":214631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNf+6CRA9TVsSAnZWagAAUFgP/27r4ovKEBCrNFzv1EhZ\nRJ+PI4IPmaqJCt/3g2U1ATaikqku/8pObLg11of3oGJYwAtcMPWedsh/cqv/\n3URkovAOEiE7I0do11Gl5aoC2/9EyH/gB35BFYuWjfM+PyZh3AEGHzNFEMAx\nun8/5OfvGwWBLQqJI4CLKu+YOJKori1iZ2asPpptz1p366E4T/kYHu5ISpJs\ndLOyJM+G86cY5WSmXZI4YCEHkAYqypWv4keqTCxD0ZjPV60NgyYhCE1sEzWt\nc8z8PDYOnAPgdn0xVmbL2qjaay8SvRYJkEpWtcCAsi+v/9ZVrBMNh6aDdecO\nc2+4UGE8h/9Njcf/MUhGAZ6+ILtkfa8W9T29yxHnbHKZwgustwHoMa2gjprI\n9dW2v5LCTbSBccGaA/IbsKLk+WyCinwezRcyBjD0n0WMgFrD9t8YyTcAi9wN\nr2JF5WuicAwasFtqO4CFRk9YMn7m8dhh77Vl5JzqJmdFC9Lb5O5eb1p0a8F0\nKUiC5rFUdcJB18JoqYj+97XCY97YLMbIDqz7WYCuZtmqj1XJFr3EcPRTgf9H\n+rin4stkCC8C/YMj24f15Ce7gKC+F4+AKaaEA3PgyammSN93YjMRk1H5Co07\nYEnWYqQNTHbAYhZfOFmE8kxS4yN8tXw60LZtlLY4kf9pW6yI8tMnQG2/i/qV\nSOFc\r\n=J7/Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"72d3e96ab960915865f7d0dcd58f6a5ab64aa23b","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.15.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.15.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-alpha.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-alpha.4_1563819961697_0.19832151013681587","host":"s3://npm-registry-packages"}},"7.2.0-alpha.5":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-alpha.5","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-alpha.5","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"374e3870257a5604e2a2448e69d90fad73d4d36b","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-alpha.5.tgz","fileCount":40,"integrity":"sha512-llSzb2Yh21FigWb908BqKs5x70cpeCt2JakDsDkLLINQ0+7PohRe9IC0MkgycMB7/raD5NedO7pVVe34gID4Ew==","signatures":[{"sig":"MEUCID1G0ZNJ9GHeVN/2anDz+YtHBLKP0S5A43pxvfArw4UGAiEA8ztiwha73ANuI1ppFeI7ctNmM/mUhpduSuHPPOUAtKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOoRHCRA9TVsSAnZWagAAgNwP/jmnqrUlWSoN0YIpc6xB\nkhu75Zk32gCshsgfuWK/DizwXeEbIP1sqyjzp5qpFtxymox+lqA61s+ZKk0+\nRjUAy55OvuYXrxpfOD9DwJw/SmJbW2qriypfEfwpWZgH+tLjPhcV1WTj50Dy\nVuz3mfeOOzQaESEs5S4r2PY2epl8AvOzKFVl5hF0hFfdmKCaXEr7osexVtb8\nJL4oJye3+44BYgdEgVN5db7KAiBv27sevS2q9iU3Z1f712uZYuP9PyXi0tuv\nvNilaIfIw4BHqDnDltxTWJjzNIRRxfaooya45BOa5nPiQxIg9iBr8DL+SouP\n8qr/B26nJy1pTUjKqUTjk8gXc1/fwLCR1tEvA3Xr3NWSula47RSPVqfKKtTe\nnQj5JuTR52oFhtnN2O5gN6nRs7m9a5HnZ6ni6Xjl+dnagzmbKSWQghTSOiB+\nh4lcJqYAHQiEZAoM4LgH0tQAKbvyv17jZAgoC9g+HgTm5YDuwPkHI9BL8GVd\niIj6gMtsth/CvMZzEaM3qe04IoSkC8/ffcMn2pEUplSqJONbcO/QEs/Z4t/1\nU5iCLZTKUJ9Cf8Iehx2id8LTmwl6otsaHtVXN+l+jbBkHrG7rONRfuJ7VEdi\nbBKA23dFGfmvw40NZLTs54cKi3M7E26r1mzsaVCdteIUdFmib/F1Xe6dzfFe\n2Kam\r\n=CjDe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"754d00ca26daf77c5a025d576defb007932303da","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v8.10.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"8.10.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-alpha.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-alpha.5_1564116038487_0.5507967335844441","host":"s3://npm-registry-packages"}},"7.2.0-alpha.6":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-alpha.6","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-alpha.6","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"07e86b01374a9e01b3980cae4d53ff7ea6589ddf","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-alpha.6.tgz","fileCount":40,"integrity":"sha512-HM+gJ0BCX7/zNqGWGwcO8Dxp07DURrYzTYYZDJYVQ27I8aQqljMko8Uo2pAxawUCb7TGzQhXwW+ZREo5HKj8Sg==","signatures":[{"sig":"MEYCIQDagMItOynjbmypCKoCwvLeJfSFprZ4yCTJVymZtZX4ZwIhANr/ScS32F63GZNv51vmDV+OSQW7r45kYj8K3nznGzG0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdO/JaCRA9TVsSAnZWagAA9s8QAJhccCFDZO6Wutq4wPY4\naI9jqnkXzKI7d7SoBk/WjoekhTz6zzEKys1pRweOl3bW4W3I+s1VJZ6X/0Jw\n3VpuDbS1E9r2VE53ECZUnCPh1tXNjRo13xiCX3WyFCDDeHbvi7vl8fOn+bBs\nCJPP5WdQYvH1d38ALljGwcUn/2TaX9sT42KYLtciCMTrzT3Bgi81pcaylqee\npU/etA/pfPzm7cbX4d+Jx28AahV8uFwmvCZRPxCHvluRcK8tXH5TK9H3EJ1+\nCWeF0H0DL4K2qpGbe9JheDif2IQC0irv71kxj+kXUhpZdqLwUk5zoK0WHlbJ\nJSnoGzmc46inD1oW875jwh/nBZmQrtv0G3etdxi3B9j/jNG3VGvJOpVwY6yS\nAHSgOBaJenUtdb24gyvh+jWRu9OHY+u2IWeTE2Sy0ZRPGXqVRskWM5gPnkEV\nE8Vx95+8Sf8JjPOySVbof9soFmn1NJYEn9USVAKNmpHRo7yH/Jrh21i427TP\na8TCqr3iC3A2HQryewtIvBu2/J8Yw/PCa6qTFHQHrY6Io49OV3bmFeAHznzw\nacFf29zRkn21NmefOkfXUQCeqAD/LrurFHpkW7AljOk2gVcTNfBJdF9apR7i\niFc6AqGx0Cratj7Q9zQW/FLsMjjCB38+uGKKI/Neilvu1JRjj7egoERGf+Z5\n8PGA\r\n=PZn3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"a6ee02b54774f20d07eb521451f7d722ebb5cec0","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-alpha.6_1564209754201_0.7918735156792631","host":"s3://npm-registry-packages"}},"7.2.0-beta.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0-beta.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0-beta.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"4ed96c83c25e80b57e8e91987ea08e3c133672b1","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0-beta.1.tgz","fileCount":40,"integrity":"sha512-+a4T6MLXFAA5RZIfnIEuNOOOrCwVClF6gBAKeSv8j9flUBJp78DbXmBlJffkr/Ny8acpjtYmWXzQON+xqAC7HQ==","signatures":[{"sig":"MEYCIQDg/uHTdYZZkHf5f1bFboJDSoMcF3ncmZJpBeOWvQLpsgIhAPH+yiU3hrm5PW+TaXqkFihuzi5q+De8JrxrddJErIrx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSbB0CRA9TVsSAnZWagAAQjkP/0e49ge2ns6faCgmZqTa\npDUQMnm9fHCchi/dyjjER7zQ9APultzmhgF14mYUedOLjpSrg68B9SM0x/pB\nFplx8zQUw9rDsZuKFPOyQuIq7qjHefBtaPOhDhAULLRGxA6nShoW+2Nn5A6H\nDy3r8OldEvCbwCA5x9oYXXNyEyT3DuoDGXh5W0wA4JrXIt+eH4V/oLPpNErz\n0NvNwKt8JS14qKTp1JPPYC6A10gK8EEP8sbVZ2VYFlWafya/hcaUV7u6Vr2m\nrCrMU1OGDPYVvwD9l4qm1XyaG8wmsWH2iLVSJI1pLlXJBBytBzedO2cNevT7\nwCA02CSOJL/FSx1fK16n/KWJCeOzGc64QubNabMZIkFeQ+fhYOhXqJjE1mrc\ndaH/57A8yzT8yPT+vWNELGnD62yIuE+XGqtA5x0P34quPX4q+EQYU8aJ7tC/\nOFW4T0ZIuhtcxQMR7dHV64VZW4jr23CL2DnXCZo3DQjPNMpECjt0arTma1D5\n1O/IWMjTQ1mmecswL2vrZX3r8QmDmfU+qVcV8hhayUmD+/Wt4OOD5eiFeaqU\nna8QRggAfSv57dUkAkcRmLn8gRIKW/1DtOpukCKRDZR6/cyQyW4Y4JkKSEV2\nAD8ypooOB68BjBiIO6njETfbiZdVxbiH7+vnHuP2Jjxa6aK4Qx7BJyL/Mxc7\n/1np\r\n=CuyL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"9bf007fbea50e0958187a88f6f81df2ad07af21c","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0-beta.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0-beta.1_1565110387921_0.7628435721085491","host":"s3://npm-registry-packages"}},"7.2.0":{"name":"@luma.gl/webgl2-polyfill","version":"7.2.0","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.2.0","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"9393a60a72875a18ef93da1932702f75fae9be8a","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.2.0.tgz","fileCount":40,"integrity":"sha512-al/o8RyBhcK3a1RL0JsCvQXbl6QMmx6qazOOKNiRuHhFTa6H1Gh8Z6XcelT1F2dB6ys68/6Cg/QfAcAvwQlVyw==","signatures":[{"sig":"MEUCIQDev42yucWmGsfYLOcQ8ZZSv4n3ApTDE8YL0mU9Mlqu/QIgC4xyCyz/0ZAv0WQesUhn0GmjQ4xSSMgp6ptw0Kjp9P8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdThJQCRA9TVsSAnZWagAA3zAP/Aq/QPRvm0kojnYhR8Gn\nA/ESX5ds7BVLLOeVpa28BhREf1jSCxDgqwe89XJwL5JKyKMKJitTvCwYC9zf\nZXjuqO/N6t1H0rz/+psrm+qBP9IhmxfH8MiRPCkgbbMMZoHQ/zdm/fYE8kk1\nEg2ZWWsSBm2AVVXHQAOzhDhA5/cDzPwo/Z2s7QU+0KZdek3wvoCgAoPXHdeC\n2CmElSAVHZ1OBdR9gN0Dq4v6xaifUHcGUVNvQw8R7VQweuXBDpWhHoX5d9/C\nFgeuwRyNbAh1lbfA2Og+ILpO7sW3EXHTTyVmagUhWgfVfEHyKwEOGtoLHAYW\nobrxXp3P18xRGuMiQgnki65nLAtFwbxcgoZVA6A6Oge5eDkZZT6wjIAxME5X\ngn9SqQnQE8dB3Eb1WEzM6DR9Df4rurt5otjNPvB3LGx/WACv5xtZ0hcpTJLh\nHKihRbB0UMaEiHrpIcMtfp1pcsT5O+Pq46DIBD7XVKtupEZFJmM15T9D/gY4\nn9gfwYu2ceP4RR4aJD72faWDawJaXw0kjT4nLVyAy92D/b1VBYaSxTeDHnw3\n4n0oijqVJ67+3ODZaD1ewXOllAe8epeB2Eku61f6sIceinlYq+tYLuq91cdb\ns4ffe+H9NO2P1S+WLiKtHnlTqJeJ1kTs6Jkvu/rTEZ46Q6lWA5z8pCOWwFCO\nrU7Z\r\n=v8yk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"8318c4628a26bcdc1b3fce2e4295252aa9f8c1fd","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.2.0_1565397583542_0.7279613236440792","host":"s3://npm-registry-packages"}},"7.3.0-alpha.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"af471bfc2527833a51c357673b5d8e241ddb97d5","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.1.tgz","fileCount":41,"integrity":"sha512-InQXu8cGsQMa+4QWf72RmorU2szldaYUwstQSdy2J+ZPWStZVP/H7Rq06tgskmUSOt1Oy4cncdM2FEmxxIrr1Q==","signatures":[{"sig":"MEUCIDkTK/fiInsKL8QdzD4NzxTEb3UqW8VJR+7ZXR7qxea+AiEA3nTlbhxaHkCzxPrBkGh84DjbP23cGEt/IeY6CirhISA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":214661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXalTCRA9TVsSAnZWagAAo0gP/0ZQFO9/PQ9veomExdyY\nbUAcOeIh9kqqMkC/nV0RrMmg+skAMo6iDesTVUHSePqDlsS7XJSAtyaLK8B3\nt+CkrwbUzZSNof42w8lmz8VlVX9jK9e2vVx0Kp66w6TdrON9PhOS2KNJ4fd4\nPJCMpY4F94rLHGQfH3O6rOPwP19IyZ3IZ2SrZW6bOudnX0CWmhblyvDor0to\nCvYKaQZckUTqVPjrUc0j6QfQcIuwV6jsmfTIqIJcJh3cqpmK1uK4oj3jmhCj\nExLkzt5JWs3QRA6aTfz2b7lP0ZnD/qxwVeEifLk+rD99b9Hx62TIEbJvw7il\niyn9IjEBNwSM6/GCl41hgPCvTbq/NH/FcwzIeSzs+c9lNLU/YTzI5dngPS9Y\nDsXSP5tNtMFGxvbXQaP1Hh9+CGpCRHwv2K0FK/6QbNoyobxJu0/+ApI/8/pw\nQb9zCM01XJVMLkp5xsEFDFQKGC1lVUSg5CRatASyCDMwTUo2bDJsmyxGqxP3\nnePwKpM6thm9QMyf3Dphifg+Y7MqrJcKM8eJ62A9viYba3Ko0e2uu325ASXX\nU8/SWPzBdLUUBlb+ogBoXmu4FK/hRad2X0wyUn+vHMioR60co4SsyjvvGv21\ngK0JkZAtSulMqmZKxoZ9elacID/AFBX2RCEFw8Unnr7CWReGKo3qw4cpjKZ0\n4KM5\r\n=1r+X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"cf5d80d7b19b0201e9435006a788f8f0ab4c6e3c","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.15.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.15.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.1_1566419282563_0.041712317956583256","host":"s3://npm-registry-packages"}},"7.3.0-alpha.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"49f66c9921817137fb85acc86fa22ad6970ed8e4","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.2.tgz","fileCount":40,"integrity":"sha512-SkNh/1Vrzlq8FFDqRPbPiq3KWE0KInVCvsrwoBPgrh34dPUankMecM8T5gvECwayN31WcOhloMRayKrbiWAlew==","signatures":[{"sig":"MEUCIQCyQW8bmgXAd07Cq/6PY9RugqnPNWif6a6MSwjy7lx2VwIgPMqTDke94OhYMawkQh3rplmKpy/8joNOle+jS10Lv5E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZbBDCRA9TVsSAnZWagAAX3wP/RP4Jc6FBkrEKjMir54t\nGryxKYOQJLMM4O6eGt/8bQlTvpaqwoqXYz/DZHfi1CpaIwnW+Ob3n9Tir8qc\nVwy4/NVxZ0uW0IaIiUSuQCMPAanAUX/y+9hfz9YjTWfoE+SzgRx80Eo4YdDk\ntqobVu+AHrgUOf2HRogCVf4O6uItckciWfhzcdYaCfjPWWMfgIQ9EpxyWbg5\nL8iWgnNkhkgTb5PEqTs19cH36yN/epIaGbQsrXaOe8ul7Z44tJpLH3L+M4Qe\n05skeZzPRGYOee3FB4C9ds+vslJUBs/L9V8VIVWIDL/9QYomE+bpvJxy6mN6\n85CpTwwMTInEmpmoojhYspmKHWYwV9dXM/9iERAt+zfR8t4hjvZk/dp5Uvnw\nQwB/cuyK/Xjxi/X7P8HJjcSSgC383g5wgcMoBgMsGW9EnVHMJTCoz80fLJTR\nnoE5ymaOSPYERI2jSbwXRNLT+HMw7LrAN24ZMEr3HHBHezMT4OvLtxRZ1JDB\ncq/HOP4ErXYIV9ZiQc01Kg3DY/W7GJZ85os/ns3XrBGI829xYaKOmJJBcV47\nIUR16N4AXAIpUjL8wNkzWl5p9jkyYLTyuon4LMokBH+h4sRLrBntfcWIfnWx\n0o///DUT7x3UQBKxbH+KNZGc3JyMGCrxpqwWanAH9CTFWH7Gm5H/xeLmDlUl\nxMda\r\n=0vl6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"f1a055c2e928e519be81676f5e0314bc9ae16fe9","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.2_1566945346482_0.27823113396259225","host":"s3://npm-registry-packages"}},"7.3.0-alpha.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"4e877930565806f59d1a6dd68781d70ea3f31c34","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.3.tgz","fileCount":40,"integrity":"sha512-/WX/yQu8stIS4rnVfXcLtP6iuepmxySzsHioWTpTbvmBGyoncZDLeSjIS4LC6+W89klBNYf+WpZWwbhSEyk0cg==","signatures":[{"sig":"MEYCIQC9Jd69//d15gTqHsmF1WxUgPvR7AP/20gffjUYqS69TQIhAO2U20U6rXlq0+/OKM3URSBJuJjS3+7FMyDBvu7ds4c5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZt4YCRA9TVsSAnZWagAAkH8P/iP+d25NGVxDLODBPamv\nexmtVl2w2swi+5kjTJ2xrRZHCB2463WBKI92cC/YZiiB7RxlJ0ceVifv/erO\n0ReWgLkBlzE/ayK+MNetXep+QpntSZjtt+SnnjUHd/DakmL9DbWOWK8rueMP\np7Qgm2QOO6qCze04mal52vSMr8J5Am9j+gHPlh9fsDNuf+cf3W3dFX7o0Jia\nRpPDuzGJJs1ImzUDoHEA0VaI+Z+N419DFtZIXhDBsp98es+ONApF4IL7Yq1y\nLSJsizMFwFTXeAnI7FMLhZzBoh6/+lxXqEDQE7rVV1bAJdyzUlRd0CJYw7fb\nd4knU0lrk7+joRYXAmWsolqBFoTOLV7r/z6Is1rx63miVKZLi+pSW1cN9GxA\nRImp45E59COHttF5NktVjH6lTp++efJvJOs4dHrQaw611yPNO56b9/wV/M7C\nKCIb40I1MMg/GOoAo2l/s+94WOLuAGxLdX3ewWW4WfQQ5hXB8GwGwcGuflFz\nMdnUs7awh1NvBwzjCtFHvO+BPgDw0tPBxQdwnxWZ10+SQxRZBayIYFYDJJ7j\nVWMxXfsLyqQlbaxFg6DUbHUfm0oh34oj/WqCQPMGZbaHr8DYAPad5LE9avjq\nn7ZCu1CEfejAGNgyh6OUL6+pRkwkgIIoYPVYGJ4/AY5oGCAIRALWWqLVRbUH\nI2CN\r\n=5bbt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"6ac629e9a8257c69e0ebe004629a6e84432a7f7c","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.3_1567022615757_0.2050586365320819","host":"s3://npm-registry-packages"}},"7.3.0-alpha.4":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.4","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.4","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"02a070bf7bbd76f5981c1db7ab93d2235a232ed6","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.4.tgz","fileCount":40,"integrity":"sha512-41GrsE7lodfhdA1DyLmbImLFDid7Koh7OJ48khzIoK+RcXipK9Rcuf+c0S+exm/ZXLMd2F2KV15y7pdRDlfiMA==","signatures":[{"sig":"MEYCIQCHRo3wvt7etiW07sqJ8MCxPl8UznRvxcJ83Ulza532LgIhAMV1Gl6H9mxRf/Tz+wD5zEVcYbHFhzg7vj4epLTb+Xil","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZvXKCRA9TVsSAnZWagAArucP/iZkExQegwhwVE9FPVDt\nkSTaIjRn+OPC5pzjMmvNo0ejeyRDK8ZmXBXhqvJeHFgurVbG5qLbppqigwm1\nsa5MmaZTwweBDC2MVwHltDvJGsMNT4wNgwg1tbAuOvqFlcuTIrq4R/eAQxPz\nXX+W2xyORvJGyFwuyv2F1bJBu0oKYSpKAwWhwZ2oQmIBfLRadDsePk/rxMa+\neNS2fKFiu4JZi8k69j4RimlTK4N1GYBp59KdE1dFtSkZVw+vdIxtFJ1MbKSE\nh4CNWLaREwjb6OGgNrUmXQPx/9duf8P7qT9IYxs77IxWCkrKcHvmtWCj+vkB\nNHTcIirJhNvGpuE6hi7qPTNuQd8IVU+lyDKCocJH9M8gIqXO9xnxtHp1mYHb\nh2isIpX6nYAdqR2TXHMaSb7wbvXAbsVdHUG50d1IHYqib+SncNCYtUbFLcpc\nIN4eq0/5WqQxuJxgrGWnIgpx8SxU8tlNCzFYhPDUBTB9DPRIo4BqvqQCW5ow\ntQIQhDwheSOPVxUCOw+VJFkuj6NlnZhdp+xoAc8rtWJHHbo1QYLwIY/GZSsq\n8ZMRyH0A1hZxrXkEkYyHFVi4biD60XwheUVm2kjWSVtrPuJ0+tba/5lj7KGn\nuyoDBXXLh6IO2/2SUsnz+gJ8Rf4q4qNLl0NnNDmFdrEmj8snGSsTGIiNIbH3\nptkZ\r\n=zCin\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"5e8c810e2c71752e9cdcc586a95074664654a540","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.4_1567028678998_0.21797510087794403","host":"s3://npm-registry-packages"}},"7.3.0-alpha.5":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.5","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.5","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"d4655ca5d0f56791f286abbc733f36be344f27c6","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.5.tgz","fileCount":40,"integrity":"sha512-gDyQ7kHUqE92u1x6W0HutJs36Ba6TiRqNfmOt4Tyags8VaKtsVmcCMLaF19JsoHLFfdoB8E9IuiwDx3IgCmENg==","signatures":[{"sig":"MEUCIQCVZ40RZhWnm1H2IurSNoM0MhwYq6LpzEIYJQVUlBIImQIgBlDeiPKbQhQHmk68g7vub7/cxuQ/a4sbGxJrYR1CnRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZ/UMCRA9TVsSAnZWagAA6DcP/2I1PTUEjvRw8LgNQkGn\naRL4XqzJ1Gs27KDVLbFU4rbJtQQpleEOT98fcQqTscbCTwa+ROfT1UZkv4G2\nj3drVyWZmYBVMQzKaySstCNsVEDrrvo8y4tNuYS96mnl5DBt79USx0jYYEZ7\noWK+vOKPlZGdr013H+001uOagI3J5tZj2kmvxXFla0IkrwyEGL4xy1t04gfk\nXA0hux1EHIikjLEEaXsJ6XvIgKT/s29EELUJUodQtnI6IVAaXRqn6LDAO7nW\nzqSNP03sO+6twMPxgyXiV6hqiFSDJbsQdZVQ4FrHS22ZWDN98d7bFtAiepwY\nLD3P3i3rPjatLVSnsi8LdZYY9C9wGUJNUkrkKIj5lyYlyjVRS9Sd3vpDcvj4\n2LzyuXTv6uWJf7huwPcrMTe2oBVsSWDOK+1FGgjL65GHC4FtyjgEzP5V2f8H\nkZcXh11ahQMyTsT8HJgOgBi2dMghG9cgF6ZwCwnNfz/TNAES3yuptgiYS91W\nqUoULigZl2RYr65kzc2rPd4c/WbNiWJWWFTFKi4+jREU4kYxLH8QNMdobzIX\nAdBreBCVVTsIAYh2a1AUeOvBmt5rgjL1/P9jwJ/5eae80/1gHbP0iE/MBSH/\n167uM+P7o+wvXX5EIEAo3iX7JVUI6NtE6fxKq3eHzi5bD8C72roH/vI67JDt\nYXCd\r\n=O+8M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"516debe2cc98a49aced52de925d222487b6ae9bc","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.5_1567094028001_0.11620059810294547","host":"s3://npm-registry-packages"}},"7.3.0-alpha.6":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.6","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.6","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"8159b0900bad84bbd1a3d43ec0271188491b4a5d","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.6.tgz","fileCount":40,"integrity":"sha512-LcdcC4Ff4pjK72xSNSDWAV/nK1hfRmh/wPjik3xWQ4REUcdsMO7HT9paoR9dbzyQ2h5QjGOSzR7tW6WIg//FtQ==","signatures":[{"sig":"MEUCICpEc/X0xpLSuu2xzItyq4C+tb1Qj9xEGfJHxWBOadEZAiEA3feUexzeTmBQU4FHFpduPr1WUkrK9GGr52R+NKRrKBw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb+PtCRA9TVsSAnZWagAAuvIP+wZv8X3/4262wGykkV0p\nNjSJ66zACzrw7goE4ktWHT2fEcVtQoH5RdSY1o+tHEWj6z3/v+fd30DH20he\n6Mz7b32b8mRat53/ocaBFACua+y1tG011SmFFrsoFzPpcBng3Ic4b3gWEcWt\nGSbN/XYKywrSQGKdYxHOwi9piweFNeCBfCduZI5jRxXR1xdV3ox1DuwBfinn\nd+yclK9xjNGUXx8mPvXuVZx9xNcQUMlCp/HiGwHdRouDtiWjA8NNfRr3Bzkm\nGjYKdVpGhfnHKP3M+MBMpnICMabji439RmOPcLeQaV/RkJTplA2M+2X1gqZH\n70kFaTh0sCa1RpqZ7LdeipWZ2p/lAaJlivhZQCdmMhYasfcBr9gjoXoVTHDO\nBGHJTg3rEr/sDNK/emYc58VxysSKqwn4jUHrRnk0BSKZChYREwYeYoS8nkRi\njzvFVibwMDmGtXgznaazXmQekreU7lPNle0oAWZQQKtavmbzXeU8vbMy26yy\n2DfiQFWvuwqdJ+h3JsWqB5r5tMtqGtaoEiOGQbVAIZ0l0wwNT73NUb7Pp8FV\nwBCLpjBVNTSA/yCxN1cA+3M+7PjKvk2vohQGOy6fvPMHoaa2Anwq9gnb0Xly\nT1TyJXwtmIrqTmVp/2Z+ncIwfKAt7c1mrEHu95/gthaSZQWIQbbVKS2WmqiQ\nucOC\r\n=GttF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"6a3d027967da08ee15109d2723374279d36009d0","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.6_1567613933184_0.737438680236868","host":"s3://npm-registry-packages"}},"7.3.0-alpha.7":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.7","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.7","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"37214d053bb7bcee0f8a7ca7af8c78975759f1a5","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.7.tgz","fileCount":40,"integrity":"sha512-yfMUQc8bd+LfeLkRf+XNvP4+CUs0dYVSakycTCT9scLP0ak1l8fONJ+Lo0+3G7bdcPIOMFTcXy/k5XPEuhFGAw==","signatures":[{"sig":"MEUCIQDW7KBz5GsQo/2E8THQloXAk+ZIyUAe0bJKNwPZjrwK/wIgWdy/UNqcIJ7U5VALPj1pKeTkE8xmd7dIpTV6BAqQFdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcqyjCRA9TVsSAnZWagAAfVEQAIp//k61nXgOiEduE2Fl\nhtW9fu1BhK05ac/+hyRXuvCzsv+WmlvkqcILQp/TMPBmpH2IV+SUNok3O1FE\nPPBapYDPYo0fla42IxVXMq5Sx0xU/6ajLHQ7UZhfzB5g5T+shwYeJrPL0GbS\nB9K2CGX7cbV+CC5+YjSOdlyft7mLnbAj06LJ5z59FZ/uKsedSEgfeE50RjOM\n1q/p1s2TK2UJNrgB1WCyHrNEU3jkkoCRGISPMqUQ5p9WaHLo0882c5wSAG7w\nLTeEyuD+LimWwMfMAuG44kTgbbqPyVD9TtxasDJ2APKDjWjTUCc05sAQc4aM\nFlhpxAcklAlFEYlf78C4O72tTO1Bk+aULcyew5QRT+j8UH1deJwUdIos+1hA\ns6rvh56nJG+a1z+1AQiefKUU1LwoQfGJ3RKyWd+PPU55EINQvIZVbdZcUryD\nBWk/YvLodTP1Slr05nTQmt07x+hizR1FqhpnLoziFAkCvdVw5dLSfo1XrB+J\nHq+2zvoDGo/aBHumbrOBCmfRJYnhYIfYdyrq15SeYxy1MCMCXYJ6n+vZBdby\n7464wqR2BQpGJSKyU01BgmgXAw7JuUwfGYKh8BXtgcxEnjfe9M+AGewkRhk9\n8re4JMvNOc7pNAgTahx/BiTH5dsdTxymuhf5jNS50Eme2dvIi/20t7JVbJrv\nF8Lu\r\n=Xcvr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"617b66df549e06e52105ceabfa9d135d5feccdcf","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.7_1567796386559_0.1793508437228739","host":"s3://npm-registry-packages"}},"7.3.0-alpha.8":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.8","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.8","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"ccd4eb58794c2a24e093442f2b923d60611149b3","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.8.tgz","fileCount":40,"integrity":"sha512-RbDZF/Lotr5YfkoXiwoodZr7pA6ktK4dlAA3J8CMpbiNuy2NSjsqwrFX5HKI65//LreHcmZ4RunGViWufS33lQ==","signatures":[{"sig":"MEQCIAvwOLO+u6G9PPUqANIQ/X7rbvcJhxFxP921wzF9FzpeAiBTFMoCg8a1zLJrCTHrQj48BlKrPaqQjTzic3EE+qxwJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeq2QCRA9TVsSAnZWagAA46IP/jmed1WOPPdxNJbMkckm\nog57adU/tXOi6YNRCq92DQpGV/fcPgE4Hb8EwnLJJzX36pmQijNurm8LB/yA\nV/MRHLKUjKPzLdqpoz4DtlUxahoEZNebHAXUxTae8485ihSnA11q7szvFXUo\nMXNCoPcZ1OB8ulhhjUHudoXZqnCoMKzXiK0emqM1aQlcvB6E+AUH7n6q5M1M\nezq1Ed74T8lah0s0easC9h4lg3PvAw6tw+wPDRfXs9KByCYxkfdb26tzuBKF\n+hUM/pI8eAMCpDbJxdWhbTdlYVIscHFlTbmOj4AuyWHykjxB6Kr9yPdgV08w\nkL4rh+UiFy7zVtSxR9KMztpI/af5TdP2CNHdzmWlL2mu7pq2LlWNuK3ECmw8\nEDpIikfvN4u/FyL6OZtLZ0W6iKOoJfjaViKUTCLIeGmbhDw5WCa6bRMGMZCM\n27hu4FpbgYu5t8WDStf8E9o7q2p8v+NQIZKXpFTaF9kOa+OFBPL0mOTWzjyQ\nL7sROtvqLIF1H9Q/Q0DxsQ6m8avZ7xEeyxlgWk8/SPVMfIQdXJOZF0s1eEqS\n3+xM0CT3a2g6snNDsHi0Z85qpQsza+fsj7FtysVKAmRLukJmvtPGq/juN+CK\n62EKR57oef5NtuseDWhZuH3Wm3+KbMi3fhXxq4syqEtEhkJfnt8O97qNvuA9\ntjeu\r\n=gnYX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"24536152b5552e7c7b57a35464deb5164200d090","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"jianh","email":"jianh@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.8_1568320911778_0.4536730821496828","host":"s3://npm-registry-packages"}},"7.3.0-alpha.9":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-alpha.9","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-alpha.9","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"48c6e2ebe055d0087c129198426a7910403cf221","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-alpha.9.tgz","fileCount":40,"integrity":"sha512-TsRVGSrlScCwjGqUdagkpbsE6heiKNwuJgdAZoHTLsNDmmZp2G9901MqXWi558p3Np+zQ+ktLkiAjc/jeOTrfQ==","signatures":[{"sig":"MEUCIBREfsnWWF3OQ+GFHBXU7/PSy+xgp3cNCand4XVIZyCJAiEA3DAchRgp7JVbyG8l3ke8GHSkvCLk1KgUdz1U8FcjoP8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfCSgCRA9TVsSAnZWagAAaXMP/Au5b/UlCmN4xjxSaZrt\neneNNgR6CNjLMufD/716BHPT3RH1F87kSMHNWYkDtRAIr2+9k+q1jNBGlfQz\ntdPCQbkEA/ExJEmxVbA28yQvFqDfX0mS3j+18V+jPElqmddDO2kdViCw0gY3\nfyk+iPKv3NNoAFS2zNzQDMe2huN1x7hjiXk2lBEhdNSSOa4djWY5ZjsFJLgs\ngFAX8tewlZbiVT47Fy8TivWJ1ArXwWKbvL3OzOwzdXnh2QdO3LXmbeE7/rn1\n1pvBnAWuBmSCLtxcY0TZ9KOqYpLNQ0TIeNVxGU+kxIvT0Q5qsafVpt6OFf7H\n6uOJb6Zs0K+kwQosRJ9V1HMO/r746SzF5/JTa/JyKaQEcKX7YjbnTxTsKU4U\nc4U64+n/wsdGV8lSlNPT8Iu84zN4B9QFlx2VP4Od+kkDkhEdwZeewHYwZLmO\n/uVz/QcYYBWKWx7nTXKhXjGBh9e0Dd/lzpos1UAALieeWwErX1PLCM7PXV8W\nZnlZbBHxfVBuGlwwXglsjGmtFnCBTaaxFqyzIt4Fggv4ttkkirRSGlk1wYXK\nccWx3JzQ9ymeRq4ljbo6VXSzvhU8IlOiqT4LTi8eTJ/ZzWOadjWqzKkGXAhf\nsdn2uN97iuImr2ngaK0ia/DALiUXzWixfjUTs6E+r+HC50d5W8LC8W4DFYps\nJIQA\r\n=MOFF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"69697e053842455ffc91386eb0cd2cd054714459","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-alpha.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-alpha.9_1568416928418_0.6628283627572797","host":"s3://npm-registry-packages"}},"7.3.0-beta.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-beta.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-beta.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"991d70f5d64211ec3629f64885352a51b5b18f34","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-beta.1.tgz","fileCount":40,"integrity":"sha512-WbGocHe7m3dKRtj+i3DAJSpKknw+RFzPDK0A4Azaef7aApKUjO2b8eayUEdPEsDAgYxlbc/7poh4B71uN16jrg==","signatures":[{"sig":"MEQCIBgaz400XKxOEhKeA7tulaH17mIhTS2+2zwnT0yXfaETAiB+7Ryalkng6qln7sEUY1NRqX0Uc0Nkm6+UEM5UxcnpXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgSPMCRA9TVsSAnZWagAAohIP/jwumxDP0dKMjLIh8qW/\nL7rZUDKBVETh53DlXeyFYGuQtE6z0cU4scgtQoSZXIvUTCcy5lmWXr5rQKGM\nlWyhrZ2he3eWp5bTvyS5HwqvD9gqXr/fAMAiaP8fHWCdy69IE6Nk8+5qEwlW\nFwNVACfQC/UDFWCzqK8725xSXOowz6ScA/ISeo7KbfbPzEihTW70f3UfyOf1\nZvhuZT7BjHymA/6fGlzg7gnmvikrW97tlfi0X9zWmRiBPc0oiMzYsbfgH+8R\nblRgSmNNAvGaNCezg94Skx26T8pEfJwup+06KuR5EcO1hhUaVtSAfl8JTpjx\nNrn46xWB9yOYJ25NvxiVjuafWh55QBg+y7WxoERBXaOYfsdaY8Sr71Rv4sAY\nHedga1eyy6ElB/p2US7sabk6wkLhDNlhshsgmBxRXlTClUYQQ33w3UqnqFyk\nwbL/QCzgcYEYPcBsR4rRku+BoWwa5jRgYdKBIKBBZe1S80MILQ70LDKvHQJm\nNuxgC7Ru9m17fkIV2bQ8wVzamtHVSTtdovFVmlCVbxIKUw23BqC2CxYzM+Yx\nzJePDzqCcpG2g7M/fOC/wDPN49LYrrd1o7DuFhm4teFqqn1yxWShBx3XnYyd\nzn2DmTwUcQLK2kONcDtuVzAnVk/8IsOisDqEDu5RwvMKf+UFP8UmbJkM/R6T\nhKfm\r\n=bp2h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"f04b050a0994cac705e905976fb41a419eb86f79","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-beta.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-beta.1_1568744396012_0.18647355826630818","host":"s3://npm-registry-packages"}},"7.3.0-beta.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-beta.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-beta.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"625046b71fe0bfd29fa9d48441a58d78484da74d","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-beta.2.tgz","fileCount":40,"integrity":"sha512-hbc09dnnG3OTUvrZ2K1spyzQ9t/v9SEkMbJVugc2azrzVk149VKQ62k3R60PEop/5lcQYW1ie4IHYIelHteoLQ==","signatures":[{"sig":"MEUCIF/UquL6G8lwSG8ReADl4dD9L6qbfO3l4muFSKr3oXoAAiEA4UAdPTO0qcNTqTeD11gGlSjqo8+CQMtAQNEdq+fjsjQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgXL9CRA9TVsSAnZWagAAr5AQAJJp6T9EA6HglOZb7cgO\n76hyEfrAoov5PriVwUWw1OPItNZKCcneWRALRthI1NfLigVnsvLV94/9I+wA\no51/8vPoHz1JH1sWMbExXFQuq/UK2FxPZgyDy75QuMWkg3jplDc6E7eef+zC\n9VgGof+EWyNX8MN/aNvRAbL+JZmuoLr/Xp7UsqGrkl5l/QJuGa5XhV+U1CdN\nA4BLxPxDH6OLF0SgDPhrlc2rmKyI2wN08LGZIQLbK1RFogNgD8LzCkhM+aQ3\nSX0z2Eb54EvN+/coZhTcWtYgGJgMujmUSn6HK+gUf4gF4bCIBsr6far0ol9u\n+awlwL1xFM1DytvnA1soNQQuZ0AaB7A06TBme2zwAsIHTFBPZwsGF++8Xe1n\nrqFIg2BWLZVPIcNiKg0uchr6w75p+hFah5bCJyltjk6CYP7HBqnfLDphlht6\nXoPVCJjVo5MYUP4/i4eDRHhMsoYtjcXilnLmfX+2wUGVsukzXRGBDRHVvl5c\n9kkw8NIo26zen9Xh24MjIAFiui/EYX0hKjXnzUJcXvyXAfuZoxlLIrHwcCCt\nKWsBTqHOxaJCAgQx7dIhUZKqp93Ddd5Qr4Qk/+wXoXchSkpsmzM4OdSC2KS0\nDWW6HCmKekWuzMAp2bXOAOupJ+JVHFFARAEtXOVM+wOtLYjmNkGQiSinepIx\nWgJl\r\n=8Dle\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"f58d82d7793207d8d6c35e8e5a5af915ffcf2bbb","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.16.3+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.16.3","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-beta.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-beta.2_1568764669241_0.3330519967748806","host":"s3://npm-registry-packages"}},"7.3.0-beta.3":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-beta.3","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-beta.3","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"348bad40c53553d4081cd69059821bb4d5f54b99","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-beta.3.tgz","fileCount":40,"integrity":"sha512-DvR5uFkw2J3Z8nxPPlGPFcNZavNu9oUxNf7EeubjoserhtVGyu2qOYg9nWPPVHTcAfBoTeOC5XDoKkfc4n6bVw==","signatures":[{"sig":"MEUCICCwK8IPmEJUn4wVqAJ7Qyvz5ETWMVR0j9A8dH0Bt44AAiEAx5z3HPuorBhQCDNBBDRHVoojTM6U6v2ENVVFnTO1mhs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiqweCRA9TVsSAnZWagAABKUP/A4M2wyUyqYvh00Re0yh\nRrAWVOS3K5fD4gfu2kZPnmuyoUUuOPydnyydfnRxBPl0p9QeqKBr+PWgL5vv\na7gEjw90q+bWjBsNPvzhpfyRYRjxHlvOpcHjplV735PwjW2EwWYamPcstKoM\n3FAH+TOFIULUYrqZkdp9IpXtKdrvRbg/Ml/RnEfWarwxKyYJNxoTE1809bFV\nrgUxQvJS0uYLiGDk6Ypqfrf8NnkRFYO8P5thVFs9/hE6kQLR2lQMFN4TCl0q\nXZJTxFszuXSJhqvSCH/ATyv362ALsUkRczt9JTOoFUVOM248hJuTnMNNQ2zp\nSt1ZqxN8zmL/I4T6yrLfEQuuXrD5eM+M6zp+jC7FgF4aYLqDR1n23WPZFJ4l\nrg5zVuF6npXe3mnb7MgfPQOwMQFsZjS4UQQ0DeceRuM8gUslBYHrpA5j468J\nl0k3WnZFp36RFcbS47SMnuVenVCAw2VL04Gp/HeZGPjap94RWSlQWC3Sx8HM\nrkkZNC9UsMp2vi1BidSjZHaQEqTKXcDS5m4oAc00xKxT9HO3ttclLeehpqKf\nbyrgAkkaYwKIINYGoxFYJWqXku1tMbPoqExWdCG3AcC5O5zoW/BYkLD1fhoQ\nbu4UyyKkLYtcxTrcrknuKLRuE6MiWPE9AjgnBET4Ir18uZ4t1Lul5qxJJuzz\nGkmj\r\n=7s5B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"077b3766e4a572a51d459fb7e392918fcc75ab8f","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-beta.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-beta.3_1569369118345_0.577861519199951","host":"s3://npm-registry-packages"}},"7.3.0-beta.4":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0-beta.4","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0-beta.4","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"d192b82a2da2a794ccafbe70f13ab61fb0953223","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0-beta.4.tgz","fileCount":40,"integrity":"sha512-bqthFXsoZmU8BQnd8yq58lJEdPFFHbNuKcdeIvk4hKHTGtuE4h0qxATaJ165zBpDR1RZy1n76z/ceq0rKfa5Tw==","signatures":[{"sig":"MEUCIQC2shoR4AJNn5ULf7gqm1wUXcBByPxWa/8kWRjc2RHggQIgDDafY+9eMkCvR9r4lut4d+0d+7SgCAfs1xqjMCvHoJk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdi6+XCRA9TVsSAnZWagAAu1EP+wWJu813z58sxNS+OZWA\nG4gt6zWG6hhd8jhdxdQBWxBCyAeDBeIj//QDDSAD+61pb1ro2KfVExE4Ngx0\nC5+62hVz6XPPQM14ttO3RUKV+uJbB0zxbBaCbjlJFDauCg/lvOpGhLduAwbk\nOcwUafi6hDAFTpuigJQtRmGl2aMB8kMVnd82RnNJKcUVvSUpWBLfFfZUXygo\ncRjRpr3VTpjsOHzWZ0AToAWIVvmI7hqmYsSXje40aQygp7n7nqnugMn7x7hm\nvU5kPn/kACujiTxN5bt6+oCS50ngMg2qphiyVXkFEbKBogehP0CO3MgZ0Azs\nWPttiql47l9QHaGoKmadTtgVGKkdmR6zMU2lFa/Xu+rsA8/DBEKHxkS6qSV5\nT8pH6Uf9RkjJgihKYI7ihhz0dJ0TIZ6Q5sbX9F0zzr1UWJymrb9LI2+oPjUC\nmv077w9KUYZqa+d+g/ECvHVPmWeXk9RQJehbANJF6P7n42pXzgFjlqB8RfCF\nCONgGabsE4Viea4wO4X4Alvhlky8sEjy01SoCrwzVBFx9RlKKXin4MBGvibu\nFbgdD6syOwJtuaukfBgHG1sPMdj1OCVm1fo/Tc2OS6T+fdxE6HYiUboJkCdh\nvG7RBI01LZRSEIW3As4++fUXN0Egi/LtU1TeKUbeg83Uc10SQn5V65Kkr6dg\nfjek\r\n=n8bk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"be291c70d46875820ead661b8404715ce1154edf","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0-beta.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0-beta.4_1569435542960_0.1050730348921507","host":"s3://npm-registry-packages"}},"7.3.0":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.0","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.0","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"20042aa451d24fc77c40011dcb8cabf1d4995f4f","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.0.tgz","fileCount":40,"integrity":"sha512-OH+JpwOTIZBd1EKP2TRaoKuNAZKQlEJj69HoeDqukO79PFSz4vmlJwC2kscwdBGVKG+IYQiyxcaIlAJBd0uzhw==","signatures":[{"sig":"MEYCIQDNTe5ZLNSpiO+xAMgA8HqELgF+wTLS+NvRJTSqYkZXdAIhAIwRY4KAf3GydI74P71HA98Wd2OrRRH4X9rTNTjiE4cO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjTTNCRA9TVsSAnZWagAAL/MP/3BaLnNIX98wcXh451XL\nlMASaqdz3ijQ4c/W+Tx0Bzf98pF5fnFLQPqErWSrRzUvW3Aux7AbXfsGxSCE\n4PJY5dxJRxLAIbtTXlXrWeUUDt/kaQ0N4YVBqTAZ8RZoXB93XgedCFvPgrJP\nkZh9imNEV9GTWtoQrvTgx/Vn5AdC7wN/8DWIb/bW7zWgtU7JDVsbq5sVHREc\nqYYHQ4QRDnYJ9HsyheLRvYnA3ML7sijCMEWpMN8Bh4+kkGyHj62iqu5Ze54Y\n6bm/rNlpoHc0lPLqoDxflFledzHdPe1ZXxC/XpqAxSpygYnimSbsCxIFlHWF\nlLanVTByi1r7SAxMmWmV9VU+FN5gOuygF7r6X8ABvhza1de84NzP3K3iB8nV\npsgFLWPnVNCNJSzZXaCzNUefaoTpeku2Rra843OrC9M1Li4hpxj7sLhMANcA\n/XIOU7rtMVX5wPa1g7zu/5b+Q27m6pf+1P3Aq3ChGWPCD6DPhvG743Gu5XFy\nyYmbqjPYz5orrljG/+eU5WBMWvXLVt4WCu9JYpQj8W1ZYlsD0hjX8drjTjkn\nLbWYarBz3775crP4+KZAwVV/Xm0hfwAVwkjXAumFAZAnZ38p6TGJjWfc3lpd\n+QeLmuCVKnCry90ti3dn7exxUnl4vafjEnqsBSwwonKzPdkOpClV5NXyM6om\nOtlw\r\n=SeSk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"1e6b82df3cf73855fb7e412fcf1d268567a4e650","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"tsherif","email":"tareksherif@pm.me"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.9.0+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"11.9.0","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.0_1569535181190_0.6427913940417886","host":"s3://npm-registry-packages"}},"7.4.0-alpha.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.4.0-alpha.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.4.0-alpha.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"7b900f9e413979f09f9fe5af42e6a7808a2cda33","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.4.0-alpha.1.tgz","fileCount":40,"integrity":"sha512-o2pvBpnLw1rmPzrjWVrY48K+ttfmULs3R5fPoulqFg8QtaMbcBWxczsIBf2km+jTqFTJOjWNjowxhrSaefs1aw==","signatures":[{"sig":"MEUCIQDiEgnqJGBPtdp44C3sZpXYvjfdAugj1hFEy2c5j3fkowIgFOErhDNDGGAxq0gcA8fYtJHAi9EwzffkQO8YwVcKFdk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk9ACCRA9TVsSAnZWagAA5pMQAKAtQdy+UjTts7gEvCPb\nXyxwZ94cgHjaPpgcm5h2WVmucfngR/PjjdeI6r7YPbDTTc3+UMvkWEgq/WuY\n7ke5JtjfXqqeeHdQ78bLKlAuuuKXYnu2vhz081uCcBcSTjIuP4TBv81mQkUE\nXd3rg66erHOR2vuUeDS/n58d+PSRvST0ZtljTTtBGZ9Dp9FuHuHPSojMpBp1\nAZmo9Xl31PTyUW5zuD3UdWER0CXhe6iJeziZMf7xjEkBCA3shpkigiW52R+o\n3zEjesDb3q9qVBeYmw3ladkckYtpp+64gg5Q6bk/z/BIlqczNDIV4SOofB31\nNB7Us3M7FkibKs7pGJR2/uhCzi32D17qy1Rj+anY4vgyOWrm9+c1bhaXBWYz\nuzDk68idM7l0dzYSXim7ZQgjtzOMx5GnOJUDBabcK9vrxcPL5YJdOVIOKyMi\n+qwVz/umrzkQjkTkmJcdo2jjPetyu+rnbrFMJc92OddOh/Ar0leuGM/DzS3z\nuOMDm5qyq9f+XXHJjWmO2djjZ0XuXtOGOWsTF79PW0HEAXMJteVeccAr2a8Q\n+uQbOPk10pOW7s9wRfCvUxPx95+tCX0xcwf4AlK5fc4/H+CBXagpRk9wWHIF\ndyaTPMKdydsZLOXbrXtuCHFlC6RUF4FrhAw3gcKc1vrpdo7mkkUzr9JXihGY\nPlLz\r\n=zdhT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"77358f20783dde922070cc148c51353f57f70996","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.16.3+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.16.3","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.4.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.4.0-alpha.1_1569968130262_0.5681900288018071","host":"s3://npm-registry-packages"}},"7.3.1":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.1","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.1","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"58620345dd9914e691b1ece10f9e23c05e7d07df","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.1.tgz","fileCount":40,"integrity":"sha512-/WhpzE6cC2RMUOj+TsJld/BU7QEyFUbG35A6fZ23owy8Cjk8VBOZ+NzopNZ80sYhPJjsJPkwpquv2iHmWSXn8Q==","signatures":[{"sig":"MEUCIBWcq/q0thYBFFmeU6uGAgIpkXIvzBTvVdaKYIdg8GwfAiEA/Wrta1289fSm3FG7NjGL39m0UVVeaWtV/AZLGBaBRvM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlWQuCRA9TVsSAnZWagAAlEsP/jL98ht/BQ+6EoAMBWrb\nWITwdZQea1LVwX6/TMmHicCX7ZOwcTGB11HjZW1CS5C1aiZTUCL6TkZ10fHZ\nGevv3Wt6Pl+VreyZs2AI7QG1nMC0uYTmF85xQkR8VK380ZIozWtg0gAOY8p3\nNotGLZuy2OdBpxZp86TTQSFqsVsYOgw0oFNVp4WyISQPCQwUjMPnu3DSgOFY\nB6y/vfvJunt6KKhJLOlFDHBhvm5qsnV0+kIEi9fJb1LTJKoQzoFh6nz2jDoY\nOabfTOd7MSj3mLypki7X1g6XVVkgCrRJa1/uly3YqSZhElMbRlSCb4nVw0E/\nCaVm9CG9MgMU+i1VgVIV1uZ/z5US3avqTOs9Lb9CbGULKgiFR1bVTd7SUr9I\nv9qWK3h6+uU6M1z6/Olaiq4uYUQPeJBw9Cbk7uetkGh6QKCkizliGhG6syNf\nWXR2KVrM8YEXwyGqPZAfnw5jeUEG0MjLXenZBiZDrQ9GwujxbRgrZBptOan5\nplJrv69/4rJFKaPuUQ11xkHfZ9sF6LO+OQYOW4jo4ktsy6Yujic+Ip0pPdGU\nPX+en8aiOihquiDXzqTZDpAA1PVxXqtLToJJJOM2xLNYgyH24M7NF/+6lwKX\nXUAOlHKfuY4Tz/H7ByZy74bcIwO+qQ0pPI7DbY2PB7373LtEjtl0Z/Fk6D6h\nzdvC\r\n=hXo2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"03c5ee4cd14415c089af7655305a5df0733cdd6c","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.1_1570071598063_0.8842964830425224","host":"s3://npm-registry-packages"}},"7.4.0-alpha.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.4.0-alpha.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.4.0-alpha.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"208429027de0e1e39d17c69334d5abdb3cd1851c","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.4.0-alpha.2.tgz","fileCount":40,"integrity":"sha512-MHGfsuGweqSOGZPshsquCQVmuoU7ytHjnCN8luLw+1tPOYHKZzWR/yif9GMnIH0jRx5cwjBnnazh7+MY1dgVIg==","signatures":[{"sig":"MEQCIEomQPBUmbAOvM2w9hgf6F2Fsd//suusgoPaGm/atlsLAiApyqbInDo2i6+k1j7oNGByFVDmfWt+nIghvc7O+I4w8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl886CRA9TVsSAnZWagAArhcQAJW9j2OrcIKBDIVA7SQJ\n1ZxN3Vqwkeog2K5DeEdZMZrT5WF1rAm3Iz9NFMhHBKfAvqwa16JZIlMj4Usu\nmZloO5JQG6mH9Lj/hpAEdMtn0Ckpii0uV+h8drE24hJhNinJMJh3oyj1Vkjl\nj8aqtuks9uTp1KNKgc43RgmABQ0hlsmerLD7SgBVjA+uIJE4s4rlKNrmDwEe\nc+5TrTxsIcFSm8+9VpyyAPyVjbONZJ3fdL9F10rquaRIs0StiPfzINj9Miv5\n23DFDO4nN3vjvE/Oj9wUcRq7r72I5tvdqxleCmDuhyJGERPwGWMikt2DBJt0\n5hk2D3wUDt7kAw6MBNXvuQMA1mzc+5GYlJ/dxVZ9i1pUx+VT+XKR9ZFHYNKr\nikNIln/3wEfXXWcXXRpGiH6OUjmQIv4pki5qo4cGwD5M8UYShajlnRjwTssL\nBEpfEKnGyGlM1J2ZHWgd+zM6mBTwWm4ZDq2wambamvk7a9p5IyCHoJluX/AQ\ndfSLSU3P+gnlLW5Fpc/HeRnBPsuaOPnb2KJ8EIdOCZdhV3aW+BId2HZ+EcIR\nc6BNUCKp5kNMuL7BzL6oHLqnyjyPMKuYwCgCAT5Lv/ryrVovFx1aDsZO6qX4\naW5oDum2UaBN/2+Gka9l9DBfdQFZLgc3UthtVY//JajcEsACKQe3djpHbp4R\nsABz\r\n=7Y4N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","gitHead":"9e0402154cd180e539baca244519383a993fe099","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"pessimistress","email":"cxiaoji@gmail.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.16.3+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.16.3","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.4.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.4.0-alpha.2_1570230074212_0.27861275225157445","host":"s3://npm-registry-packages"}},"7.3.2":{"name":"@luma.gl/webgl2-polyfill","version":"7.3.2","keywords":["webgl2","webgl","polyfill"],"license":"MIT","_id":"@luma.gl/webgl2-polyfill@7.3.2","maintainers":[{"name":"1chandu","email":"chandu@uber.com"},{"name":"georgios-uber","email":"georgios@uber.com"},{"name":"gnavvy","email":"gnavvy@gmail.com"},{"name":"ibgreen","email":"ib.green.home@gmail.com"},{"name":"jianh","email":"jianh@uber.com"},{"name":"pessimistress","email":"cxiaoji@gmail.com"},{"name":"tsherif","email":"tareksherif@pm.me"}],"homepage":"https://github.com/uber/luma.gl#readme","bugs":{"url":"https://github.com/uber/luma.gl/issues"},"dist":{"shasum":"266a7a2d2c2c338360e8f766984cf559d2230521","tarball":"https://registry.npmjs.org/@luma.gl/webgl2-polyfill/-/webgl2-polyfill-7.3.2.tgz","fileCount":40,"integrity":"sha512-PMt5xqQ+u7tIqfUaL3s4nuWl604WFNcl1F1ohSUFeEzIIuxFiF6gsdEEvC5VqGoMFxI8T4FOTSeHYIr6uP4+4w==","signatures":[{"sig":"MEUCID2+w7P+kmfVOulj0drxrYe7UaVAYOJY/SLeuJT+KNi3AiEA7ZxVwQ3FHDE77s81WvnMADT3rC14LH6MJ80i16PqWP8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpjkfCRA9TVsSAnZWagAAFDIP/inbq1F07kVUGwMjYMYY\nkLtixfclqd99ajA3PNMUuj5Kulx2hbxxWriEZXvO15Z+XN5+Cny8mL7OP42y\nmuCLToiaR85nULGDFaGLgVDkGJShEMYx99bRTV7SILpKnGDgPwbgqNfbGbVU\nw29PPV73z6w8ftF7EiOkZ/miJLByxp86X5sv2bZqbqHkCC1dRXNCem+Tu07K\n2EEJ+ErWRvSRCRwaY/GxkXLVy3Qip0jqXPnoxYMgdHuPprPihYF72TVJQL/C\nXJBJre7pBXePTKEiaMppkvICsG4ZlwYCClqzL3VcHXQ7SgAe+YLb/D2dvAz2\nbTaLXMkHAza1FjhsCChOkhcqFNYVS5Hnt2b41Mo7zGLQm8Ps+cgAcEByKswE\nanWWV0KDrVrDAecBUnzH7CjjzOgrscrxR8PZjMqHgjd4b4svtor9CMtCyeEn\nz4r5v7rMIwHmfTc4qw35Xg36UFsZs5qZ9vv7r8PNd371TVnjAfbAiGm9di+9\nC9vJoZwMpiWlR03vV87tY0cUwtDqOwL7ejo6lGumKdKmvnSfGn8sxyrra+ae\nPM9iF7mzKrFO+aT+gKquYQsSdPz48bJODykbq6MG7AoIHQjCPiE84E2LmibC\nC0jQyx5Vwqd7TRUkBBfs6sgo2xbdbha81eoMPpGTV0CyOxDlJ5pdSSef9/1d\nCU5D\r\n=IJqS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es5/index.js","esnext":"dist/es6/index.js","module":"dist/esm/index.js","gitHead":"f425977255e8ecad243d34bc4e805445f8d738fe","scripts":{"pre-build":"npm run build-bundle && npm run build-bundle -- --env.dev","build-bundle":"webpack --display=minimal --config ../../scripts/bundle.config.js"},"_npmUser":{"name":"1chandu","email":"chandu@uber.com"},"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v10.14.1+x64 (darwin)","description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","directories":{},"_nodeVersion":"10.14.1","dependencies":{"@babel/runtime":"^7.0.0","@luma.gl/constants":"7.3.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/webgl2-polyfill_7.3.2_1571174687405_0.46062678819210756","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-02-11T23:32:39.080Z","modified":"2025-04-17T17:54:16.855Z","7.0.0-alpha.8":"2019-02-11T23:32:40.024Z","7.0.0-alpha.11":"2019-02-13T23:25:21.297Z","7.0.0-alpha.13":"2019-03-01T19:54:20.987Z","7.0.0-alpha.14":"2019-03-11T18:38:10.283Z","7.0.0-alpha.15":"2019-03-12T16:53:52.776Z","7.0.0-alpha.18":"2019-03-26T00:04:50.518Z","7.0.0-alpha.19":"2019-03-27T17:51:07.258Z","7.0.0-alpha.22":"2019-03-29T16:11:31.545Z","7.0.0-alpha.23":"2019-03-29T23:13:13.423Z","7.0.0-alpha.24":"2019-03-29T23:45:17.041Z","7.0.0-alpha.25":"2019-03-30T00:06:40.834Z","7.0.0-beta.1":"2019-04-01T18:40:06.498Z","7.0.0-beta.2":"2019-04-02T19:44:46.574Z","7.0.0-beta.3":"2019-04-02T21:00:31.757Z","7.0.0-beta.4":"2019-04-03T22:06:32.773Z","7.0.0-beta.5":"2019-04-04T21:56:08.234Z","7.0.0-beta.6":"2019-04-05T19:11:28.561Z","7.0.0-beta.7":"2019-04-10T16:57:03.318Z","7.0.0-beta.8":"2019-04-11T21:33:28.854Z","7.0.0-beta.9":"2019-04-12T21:40:14.477Z","7.0.0-rc.1":"2019-04-14T20:58:48.633Z","7.0.0-rc.2":"2019-04-16T18:59:35.859Z","7.0.0-rc.3":"2019-04-16T19:11:23.706Z","7.0.0":"2019-04-19T20:35:36.424Z","7.0.1":"2019-04-30T18:50:40.130Z","7.1.0-alpha.1":"2019-05-09T20:10:31.502Z","7.0.2":"2019-05-21T02:28:43.164Z","7.1.0-alpha.2":"2019-05-21T14:09:08.938Z","7.1.0-alpha.3":"2019-05-21T18:17:08.751Z","7.1.0-alpha.4":"2019-05-22T20:08:31.570Z","7.1.0-alpha.5":"2019-05-30T23:06:28.432Z","7.0.3":"2019-05-30T23:48:45.756Z","7.1.0-beta.1":"2019-05-31T21:10:20.665Z","7.1.0":"2019-06-05T17:52:58.311Z","7.1.1":"2019-06-07T20:18:58.078Z","7.2.0-alpha.1":"2019-06-25T05:52:39.681Z","7.2.0-alpha.2":"2019-06-26T23:06:40.642Z","7.2.0-alpha.3":"2019-07-18T22:13:57.750Z","7.2.0-alpha.4":"2019-07-22T18:26:01.847Z","7.2.0-alpha.5":"2019-07-26T04:40:38.603Z","7.2.0-alpha.6":"2019-07-27T06:42:34.376Z","7.2.0-beta.1":"2019-08-06T16:53:08.082Z","7.2.0":"2019-08-10T00:39:43.827Z","7.3.0-alpha.1":"2019-08-21T20:28:02.763Z","7.3.0-alpha.2":"2019-08-27T22:35:46.754Z","7.3.0-alpha.3":"2019-08-28T20:03:35.901Z","7.3.0-alpha.4":"2019-08-28T21:44:39.167Z","7.3.0-alpha.5":"2019-08-29T15:53:48.231Z","7.3.0-alpha.6":"2019-09-04T16:18:53.318Z","7.3.0-alpha.7":"2019-09-06T18:59:46.670Z","7.3.0-alpha.8":"2019-09-12T20:41:51.935Z","7.3.0-alpha.9":"2019-09-13T23:22:08.588Z","7.3.0-beta.1":"2019-09-17T18:19:56.147Z","7.3.0-beta.2":"2019-09-17T23:57:49.380Z","7.3.0-beta.3":"2019-09-24T23:51:58.493Z","7.3.0-beta.4":"2019-09-25T18:19:03.326Z","7.3.0":"2019-09-26T21:59:41.358Z","7.4.0-alpha.1":"2019-10-01T22:15:30.480Z","7.3.1":"2019-10-03T02:59:58.228Z","7.4.0-alpha.2":"2019-10-04T23:01:14.347Z","7.3.2":"2019-10-15T21:24:47.566Z"},"bugs":{"url":"https://github.com/uber/luma.gl/issues"},"license":"MIT","homepage":"https://github.com/uber/luma.gl#readme","keywords":["webgl2","webgl","polyfill"],"repository":{"url":"git+https://github.com/uber/luma.gl.git","type":"git"},"description":"WebGL2 API Polyfills for WebGL1 WebGLRenderingContext","maintainers":[{"email":"cxiaoji@gmail.com","name":"pessimistress"},{"email":"ib@unfolded.ai","name":"ibgreen"},{"email":"felixpalmer+npm@gmail.com","name":"felixpalmer"},{"email":"belom88@yandex.ru","name":"belom88"},{"email":"dm@donmccurdy.com","name":"donmccurdy"},{"email":"KappCK@googlemail.com","name":"kaapp"},{"email":"chris@gervang.com","name":"chrisgervang"}],"readme":"# @luma.gl/webgl2-polyfill\n\nThis module installs a partial set of polyfills for WebGL1 contexts, making them more API compatible with WebGL2.\n\n* It adds WebGL2 methods to the WebGL1 context, and simply forwards the calls to WebGL1 extensions.\n* It also overrides some `getParameter` type calls returning default values when WebGL2 constants are used.\n\nThis way applications can use the WebGL2 API even when using WebGL1 with extensions. While you will still have to check that the extensions you need are available, using the WebGL2 API removes multiple code paths from your application and prepares your code base for WebGL2.\n\n\n## Usage\n\n```\nyarn add @luma.gl/webgl2-polyfill\n```\n\n```\nimport polyfillContext from '@luma.gl/webgl2-polyfill';\n\nconst gl = canvas.getContext('webgl');\npolyfillContext(gl);\n// New methods are now available on the context\n```\n\n\n## Functions\n\n### polyfillContext(gl : WebGLRenderingContext) : WebGLRenderingContext\n\nInstalls WebGL2 polyfills on the supplied context.\n\nReturns: the supplied context, with additional methods added (unless it was already a `WebGL2RenderingContext` in which case those methods were already present).\n\nNote: Can be called multiple times and will only install the polyfills once.\n\n\n## Polyfill List\n\nAfter `polyfillContext` has been called on a `WebGLRenderingContext`, the following `WebGL2RenderingContext` methods will be available on the context:\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createVertexArray()`     | `OES_vertex_array_object` | throws error             |\n| `gl.deleteVertexArray()`     |                           | ignored                  |\n| `gl.bindVertexArray()`       |                           | ignored                  |\n| `gl.isVertexArray()`         |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.vertexAttribDivisor()`   | `ANGLE_instanced_arrays`  | throws error             |\n| `gl.drawElementsInstanced()` |                           | ignored                  |\n| `gl.drawArraysInstanced()`   |                           | ignored                  |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.drawBuffers()`           | `WEBGL_draw_buffers`      | throws error             |\n\n| Polyfilled Method            | Uses Extension            | Fallback if no extension |\n| ---                          | ---                       | ---                      |\n| `gl.createQuery()`           | `EXT_disjoint_timer_query` | throws error            |\n| `gl.deleteQuery()`           |                           | ignored                  |\n| `gl.beginQuery()`            |                           | ignored                  |\n| `gl.endQuery()`              |                           | ignored                  |\n| `gl.getQuery()`              |                           | ignored                  |\n| `gl.getQueryParameter()`     |                           | ignored                  |\n\n\n\n## Remarks\n\n* This module was originally created as a helper for [luma.gl](http://luma.gl), but is designed to be independently usable in other projects. It has no dependencies and makes no assumptions about other modules being available.\n","readmeFilename":"README.md"}