Bug 220727

Summary: Implement efficient way to collect images that are likely visible in the viewport
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, changseok, esprehn+autocc, ews-watchlist, ggaren, glenn, japhet, kondapallykalyan, pdr, sachit092partapv, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 220726    
Attachments:
Description Flags
patch
ggaren: review+
patch none

Description Antti Koivisto 2021-01-19 02:40:29 PST
To implement visibility based resource load scheduling we need to know what is visible.
Comment 1 Antti Koivisto 2021-01-19 05:35:32 PST
Created attachment 417871 [details]
patch
Comment 2 Geoffrey Garen 2021-01-19 13:18:22 PST
Comment on attachment 417871 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=417871&action=review

r=me

> Source/WebCore/loader/cache/CachedResourceLoader.cpp:1535
> +        auto url = cachedImage.url().string();

Seems unused?

> Source/WebCore/rendering/RenderElement.h:299
> -    
> +

Whitespace
Comment 3 Antti Koivisto 2021-01-19 23:19:02 PST
Created attachment 417944 [details]
patch
Comment 4 EWS 2021-01-20 00:07:28 PST
Committed r271638: <https://trac.webkit.org/changeset/271638>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417944 [details].
Comment 5 Radar WebKit Bug Importer 2021-01-20 00:08:17 PST
<rdar://problem/73392925>