Updates are needed for WebGL 2.0 in the following methods which get and set global context state: getParameter getIndexedParameter isEnabled pixelStorei
Taking this. Most if not all of these were already upgraded in other bugs.
With recent updates from Bug 208875, Bug 209518, Bug 213906, and others, getParameter appears to be complete.
With recent updates from Bug 205823, Bug 209518, Bug 213906, and perhaps others, getIndexedParameter appears to be fully implemented.
Looking into isEnabled and in particular validateCapability, it was found that a couple of methods were placed on WebGLRenderingContext earlier so that they could be overridden in WebGL2RenderingContext. Mmoving them to WebGLRenderingContextBase removes duplicated code, so will put up a patch for that. pixelStorei was completed in Bug 209516 and Bug 210766.
Created attachment 405216 [details] Patch
Committed r264889: <https://trac.webkit.org/changeset/264889> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405216 [details].
<rdar://problem/66107719>