Bug 257722 - Remove GraphicsLayerPaintBehavior
Summary: Remove GraphicsLayerPaintBehavior
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-05 12:47 PDT by Said Abou-Hallawa
Modified: 2023-06-22 18:09 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2023-06-05 12:47:53 PDT
After 264679@main, deciding whether an image should be decoded asynchronously or not, now depends on the flag NodeRareData::m_hasEverPaintedImages. No layer state will affect this decision anymore. So GraphicsLayerPaintBehavior can be removed. This will allow removing RemoteLayerTreeContext::setNextRenderingUpdateRequiresSynchronousImageDecoding() and LocalFrameView::invalidateImagesWithAsyncDecodes() as well.
Comment 1 Radar WebKit Bug Importer 2023-06-05 12:49:00 PDT
<rdar://problem/110272345>
Comment 2 Said Abou-Hallawa 2023-06-05 12:53:02 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14678
Comment 3 Said Abou-Hallawa 2023-06-22 18:09:14 PDT
GraphicsLayerPaintBehavior is still used after https://commits.webkit.org/265328@main.