Bug 217107

Summary: Fix EXT_color_buffer_half_float on iOS
Product: WebKit Reporter: James Darpinian <jdarpinian>
Component: WebGLAssignee: James Darpinian <jdarpinian>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, ews-watchlist, graouts, kbr, kondapallykalyan, thomas.kranz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 216010    
Bug Blocks: 126404    
Attachments:
Description Flags
Patch
none
Patch none

James Darpinian
Reported 2020-09-29 15:24:41 PDT
Fix EXT_color_buffer_half_float on iOS
Attachments
Patch (3.02 KB, patch)
2020-09-29 15:25 PDT, James Darpinian
no flags
Patch (3.02 KB, patch)
2020-09-29 15:52 PDT, James Darpinian
no flags
James Darpinian
Comment 1 2020-09-29 15:25:14 PDT
EWS Watchlist
Comment 2 2020-09-29 15:26:10 PDT
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
James Darpinian
Comment 3 2020-09-29 15:26:58 PDT
*** Bug 216998 has been marked as a duplicate of this bug. ***
Kenneth Russell
Comment 4 2020-09-29 15:48:20 PDT
Comment on attachment 410058 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=410058&action=review Looks good; one small question. r+ > Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp:296 > + functions->hasExtension("GL_EXT_color_buffer_half_float")) Should this be "hasGLESExtension" (here and upstream)?
James Darpinian
Comment 5 2020-09-29 15:52:16 PDT
James Darpinian
Comment 6 2020-09-29 15:53:25 PDT
Comment on attachment 410058 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=410058&action=review >> Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp:296 >> + functions->hasExtension("GL_EXT_color_buffer_half_float")) > > Should this be "hasGLESExtension" (here and upstream)? Sure, it doesn't make a difference here because the GLES check is redundant to the one in isAtLeastGLES, but it makes sense to be consistent.
EWS
Comment 7 2020-09-29 16:32:02 PDT
Committed r267770: <https://trac.webkit.org/changeset/267770> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410061 [details].
Radar WebKit Bug Importer
Comment 8 2020-09-29 16:33:15 PDT
Thomas Kranz
Comment 9 2021-02-01 03:19:21 PST
As of iOS/iPadOS 14.4, this does not seem to be fixed for WebGL2 contexts. It DOES work with Safari on macOS. The extension is reported for WebGL on both platforms.
Kenneth Russell
Comment 10 2021-02-03 21:23:51 PST
The ANGLE backend for WebGL 2.0 hasn't shipped in Safari on iOS yet, I'm afraid. As soon as WebGL 2.0 is enabled by default on iOS - no longer experimentally - this will work.
Thomas Kranz
Comment 11 2021-02-05 01:15:33 PST
Oops, please forgive my unattentive reading of the ticket. :( I suppose we don't have a timeframe for the switch on iOS, do we?
Kenneth Russell
Comment 12 2021-02-05 16:10:37 PST
I'm afraid we don't.
Note You need to log in before you can comment on or make changes to this bug.