[webkit-changes] [WebKit/WebKit] ab998e: ANGLE Metal program memory cache is unbounded

Kimmo Kinnunen noreply at github.com
Mon Feb 13 17:54:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab998e353f1014efc9a02dc03375f1c98204bad8
      https://github.com/WebKit/WebKit/commit/ab998e353f1014efc9a02dc03375f1c98204bad8
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm

  Log Message:
  -----------
  ANGLE Metal program memory cache is unbounded
https://bugs.webkit.org/show_bug.cgi?id=251915
rdar://105174119

Reviewed by Matt Woodrow.

Disable the memory cache for now, it may consume too much memory
on pages that compile many programs. It does not benefit normal
WebGL apps, as those should not recompile the same program over and
over again.

* Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
(WebCore::initializeEGLDisplay):

Canonical link: https://commits.webkit.org/260235@main




More information about the webkit-changes mailing list