[Webkit-unassigned] [Bug 229606] Potential Memory Leak in Safari 15 (iOS) when calling gl.bindTexture()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 27 14:01:42 PDT 2021


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

Kenneth Russell <kbr at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |217581, 218100, 217212
           Assignee|webkit-unassigned at lists.web |kkinnunen at apple.com
                   |kit.org                     |

--- Comment #1 from Kenneth Russell <kbr at google.com> ---
Could this be related to other earlier reported leaks where IOSurfaces were held on for too long? Bug 217581, Bug 218100 and Bug 217212 (which fixed the other two). I somewhat doubt it because this app's just dealing with several regular, non-IOSurface-backed textures.

There is a call to "webglUtils.resizeCanvasToDisplaySize(gl.canvas);" in the rendering loop; is this short-circuiting itself on this device or is it doing something?

Kimmo, would you be able to try reproducing this on-device? Everything looks fine on macOS 11.5.2 with Safari Technology Preview Release 130 (Safari 15.0, WebKit 16612.1.26.1.5). Chrome as well.

Aside: every time the Activity Monitor updates, the browser drops one or more animation frames.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=217212
[Bug 217212] Cocoa: Make WebGLLayer not dependent on  GraphicsContextGLOpenGL
https://bugs.webkit.org/show_bug.cgi?id=217581
[Bug 217581] The tab is crashed when WebGL canvas is resized
https://bugs.webkit.org/show_bug.cgi?id=218100
[Bug 218100] Rapidly resizing a WebGL-rendered canvas leaks memory
-- 
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/20210827/b05b8104/attachment-0001.htm>


More information about the webkit-unassigned mailing list