[Webkit-unassigned] [Bug 227081] New: Using a video as a source for a WebGL texture is slow and hangs on iOS 15

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 16 10:34:59 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227081

            Bug ID: 227081
           Summary: Using a video as a source for a WebGL texture is slow
                    and hangs on iOS 15
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: paris at 8thwall.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com

Created attachment 431562

  --> https://bugs.webkit.org/attachment.cgi?id=431562&action=review

Video of the repro app running on an iPhone12 Pro Max with iOS 15

On iOS 15 using a video as a texture is very slow and hangs. This is a regression from iOS 14.6. 

Repro app: https://8w.8thwall.app/performance-test-video-texture
Repro code: https://codesandbox.io/s/video-texture-performance-test-hmybu

This sample code uses a Three.js THREE.VideoTexture as the texture for a material on a cube. Result:
- iPhone 12 Pro Max iOS 15.0: The render loop takes ~60 ms and has constant hangs with both WebGL 1 and WebGL 2, and with "WebGL via Metal" = true / false. 
- iPhone 12 Pro iOS 14.6: The render loops takes 4.2 ms with no hangs with both WebGL 1 and WebGL 2.
As noted above I have tested with WebGL 1 / 2 and "WebGL via Metal" = true / false (on iOS 15), and no combination fixes the issue on iOS 15 or causes it to repro on iOS 14.6.

Attached is a video of the repro app. Please let me know if I can provide more info, thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210616/9da8f88f/attachment.htm>


More information about the webkit-unassigned mailing list