Bug 211758

Summary: WebGLLayer clobbers TEXTURE_2D binding on iOS
Product: WebKit Reporter: James Darpinian <jdarpinian>
Component: ANGLEAssignee: James Darpinian <jdarpinian>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, changseok, dino, esprehn+autocc, ews-watchlist, graouts, gyuyoung.kim, justin_fan, kbr, kkinnunen, kondapallykalyan, noam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 207858, 183151    
Attachments:
Description Flags
Patch
none
EWS test
none
Patch none

Description James Darpinian 2020-05-11 17:34:26 PDT
WebGLLayer clobbers TEXTURE_2D binding on iOS
Comment 1 James Darpinian 2020-05-11 17:37:53 PDT
Created attachment 399075 [details]
Patch
Comment 2 James Darpinian 2020-05-11 17:53:13 PDT
Fixes tests:
fast/canvas/webgl/webgl-texture-binding-preserved.html
webgl/1.0.3/conformance/canvas/texture-bindings-unaffected-on-resize.html
webgl/1.0.3/conformance/extensions/oes-element-index-uint.html
webgl/1.0.3/conformance/misc/delayed-drawing.html
webgl/1.0.3/conformance/misc/uninitialized-test.html
webgl/1.0.3/conformance/state/state-uneffected-after-compositing.html
webgl/1.0.3/conformance/textures/default-texture.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgb565.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba4444.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas-rgba5551.html
webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-webgl-canvas.html
Comment 3 Dean Jackson 2020-05-11 18:56:42 PDT
Created attachment 399085 [details]
EWS test
Comment 4 Dean Jackson 2020-05-11 19:52:21 PDT
Committed r261541: <https://trac.webkit.org/changeset/261541>
Comment 5 Radar WebKit Bug Importer 2020-05-11 19:53:16 PDT
<rdar://problem/63117651>
Comment 6 Kenneth Russell 2020-05-12 08:48:19 PDT
Great work James finding and fixing this!
Comment 7 Kimmo Kinnunen 2020-08-20 04:50:25 PDT
Reopening to attach new patch.
Comment 8 Kimmo Kinnunen 2020-08-20 04:50:28 PDT
Created attachment 406924 [details]
Patch
Comment 9 Kenneth Russell 2020-08-20 09:52:04 PDT
Comment on attachment 406924 [details]
Patch

Hi Kimmo!

This patch looks fine since it's small and didn't mark the old one as obsolete. In the future though please file new bugs and block them on the old ones. WebKit's bug process is best set up for one patch per bug.

Setting r+.
Comment 10 EWS 2020-08-21 10:43:59 PDT
Committed r266009: <https://trac.webkit.org/changeset/266009>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 406924 [details].