[webkit-changes] [WebKit/WebKit] a05f1b: Shrink in-memory display list buffers when shrinkT...

Cameron McCormack noreply at github.com
Wed Feb 15 20:36:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a05f1b5d1351ea0824c32e1ec195b0c42132078a
      https://github.com/WebKit/WebKit/commit/a05f1b5d1351ea0824c32e1ec195b0c42132078a
  Author: Cameron McCormack <heycam at apple.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/displaylists/DisplayListItemBuffer.cpp

  Log Message:
  -----------
  Shrink in-memory display list buffers when shrinkToFit() is called
https://bugs.webkit.org/show_bug.cgi?id=252295
<rdar://problem/105482300>

Reviewed by Simon Fraser.

It's only the current writable buffer that's likely to have a lot of
wasted space.

* Source/WebCore/platform/graphics/displaylists/DisplayListItemBuffer.cpp:
(WebCore::DisplayList::ItemBuffer::shrinkToFit):

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




More information about the webkit-changes mailing list