<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WebGL error : Failed to execute 'shaderSource' in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-error-failed-to-execute-shadersource/m-p/1382368#M83645</link>
    <description>&lt;P&gt;Any luck with this? We are running into the same issue!&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 18:08:17 GMT</pubDate>
    <dc:creator>Tony_J_Van_Der_Wielen</dc:creator>
    <dc:date>2024-02-14T18:08:17Z</dc:date>
    <item>
      <title>WebGL error : Failed to execute 'shaderSource'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-error-failed-to-execute-shadersource/m-p/1298223#M81348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue with WebGL in a Web app built using Web appbuilder. I get the following warning "&lt;U&gt;&lt;EM&gt;Too many active WebGL contexts&lt;/EM&gt;&lt;/U&gt;" when the app loads followed by an error when I open &lt;U&gt;some&lt;/U&gt; layer from the layer list widget: &lt;EM&gt;Uncaught TypeError: &lt;U&gt;Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader&lt;/U&gt;&lt;/EM&gt;&lt;U&gt;'&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;I know from reading the different posts that there's a maximum number of layers to be rendered using Webgl in the 3.x JS API but what I don't know is what makes a layer "WebGL Enabled".&lt;BR /&gt;&lt;BR /&gt;What are the criterias for a layer to be needing a WebGL Context rendering ? Most of our map layers come from our REST API and were added individually to the web map using the full layer url ex:&lt;BR /&gt;&lt;A href="https://server-domain/arcgis/rest/services/folder/service/MapServer/1" target="_blank"&gt;https://server-domain/arcgis/rest/services/folder/service/MapServer/1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In our Webmap we have around 80 layers from MapServer url + 10 WMS layers. Only 3-4 layers have the&amp;nbsp;&lt;EM&gt;&lt;U&gt;Failed to execute 'shaderSource'.&lt;/U&gt;&lt;/EM&gt; when opend in the layer list widget.&lt;/P&gt;&lt;P&gt;Any input would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 18:02:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-error-failed-to-execute-shadersource/m-p/1298223#M81348</guid>
      <dc:creator>AdminRFVL</dc:creator>
      <dc:date>2023-06-12T18:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: WebGL error : Failed to execute 'shaderSource'</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-error-failed-to-execute-shadersource/m-p/1382368#M83645</link>
      <description>&lt;P&gt;Any luck with this? We are running into the same issue!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 18:08:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webgl-error-failed-to-execute-shadersource/m-p/1382368#M83645</guid>
      <dc:creator>Tony_J_Van_Der_Wielen</dc:creator>
      <dc:date>2024-02-14T18:08:17Z</dc:date>
    </item>
  </channel>
</rss>

