Bug 212170

Summary: OES_texture_half_float_linear unavailable on WebGL 1.0 on iOS with ANGLE
Product: WebKit Reporter: Kenneth Russell <kbr>
Component: WebGLAssignee: Kenneth Russell <kbr>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, ews-watchlist, graouts, jdarpinian, justin_fan, kondapallykalyan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 210524, 212005    
Bug Blocks: 126404, 212228    
Attachments:
Description Flags
Patch
none
Patch dino: review+, kbr: commit-queue+

Description Kenneth Russell 2020-05-20 15:08:58 PDT
The WebGL extension OES_texture_half_float_linear is unavailable on iOS (tested locally on the simulator) with WebKit's ANGLE backend for WebGL.

ANGLE isn't advertising this extension to OpenGL ES 2.0 contexts when it's using an OpenGL ES 3.0 context under the hood.

Once Bug 210524 is addressed and OES_texture_half_float is properly exposed, this must be fixed as well to avoid regressions.
Comment 1 Kenneth Russell 2020-05-20 17:09:31 PDT
Created attachment 399915 [details]
Patch
Comment 2 Kenneth Russell 2020-05-20 17:11:29 PDT
Attached is the needed patch to ANGLE. Not ready for review or EWS testing yet; it depends on the patch for Bug 210524 landing.

Have tested this minimally on the iOS Simulator; it makes the oes-texture-half-float-linear.html test pass, and the extension is actually enabled.
Comment 3 Kenneth Russell 2020-05-20 17:28:44 PDT
Created attachment 399918 [details]
Patch
Comment 4 EWS Watchlist 2020-05-20 17:29:32 PDT
Note that there are important steps to take when updating ANGLE. See http://trac.webkit.org/wiki/UpdatingANGLE
Comment 5 Dean Jackson 2020-05-20 17:35:29 PDT
Committed r261976: <https://trac.webkit.org/changeset/261976>
Comment 6 Radar WebKit Bug Importer 2020-05-20 17:36:15 PDT
<rdar://problem/63471341>