Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3dd9c1955d735274837e980b0f75e066b4e49dce
      
https://github.com/WebKit/WebKit/commit/3dd9c1955d735274837e980b0f75e066b4e49dce
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTileBuffer.cpp

  Log Message:
  -----------
  [Skia] Set maximum size for skia internal resources cache and textures used 
for glyph cache
https://bugs.webkit.org/show_bug.cgi?id=317914

Reviewed by Nikolas Zimmermann.

Now that deferred display list is enabled with the skia compositor, we
are using more internal skia resources, so it's important to set the
limits for skia internal caches depending the device.

* Source/WebCore/platform/graphics/PlatformDisplay.h:
* Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp:
(WebCore::glyphCacheTextureMaximumBytes):
(WebCore::initializeMaxResourceCacheBytes):
(WebCore::SkiaGLContext::maxResourceCacheBytes const):
(WebCore::SkiaGLContext::SkiaGLContext):
(WebCore::PlatformDisplay::maxSkiaResourceCacheBytes const):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedTileBuffer.cpp:
(WebCore::CoordinatedAcceleratedTileBuffer::create):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to