/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../chunks/_rollupPluginBabelHelpers","../../core/maybe","./testDoublePrecisionArithmetic","./testFloatBufferBlend","./testSamplerPrecision","./testSVGPremultipliedAlpha"],(function(e,t,i,s,r,n,o){"use strict";let l=function(){function e(e){this.context=e,this._floatBufferBlendWorking=r.testFloatBufferBlend(e),o.testSVGPremultipliedAlpha(e).then((e=>this._svgAlwaysPremultipliesAlpha=!e))}return t._createClass(e,[{key:"floatBufferBlendWorking",get:function(){if(i.isNone(this._floatBufferBlendWorking))throw new Error("floatBufferBlendWorking test not yet available");return this._floatBufferBlendWorking}},{key:"svgAlwaysPremultipliesAlpha",get:function(){if(i.isNone(this._svgAlwaysPremultipliesAlpha))throw new Error("svgAlwaysPremultipliesAlpha test not yet available");return this._svgAlwaysPremultipliesAlpha}},{key:"doublePrecisionRequiresObfuscation",get:function(){if(i.isNone(this._doublePrecisionRequiresObfuscation)){const e=s.testDoublePrecisionArithmetic(this.context,!1),t=s.testDoublePrecisionArithmetic(this.context,!0);this._doublePrecisionRequiresObfuscation=0!==e&&(0===t||e/t>5)}return this._doublePrecisionRequiresObfuscation}},{key:"ignoresSamplerPrecision",get:function(){return i.isNone(this._ignoresSamplerPrecision)&&(this._ignoresSamplerPrecision=n.testSamplerPrecision(this.context)),this._ignoresSamplerPrecision}}]),e}();e.WebGLDriverTest=l,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
