Bug 257722

Summary: Remove GraphicsLayerPaintBehavior
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED INVALID    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=257358
https://bugs.webkit.org/show_bug.cgi?id=256620

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.