Bug 241450

Summary: Don't allocate device pixel ratio scaled backing stores for layers that contain only unscaled bitmap content
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: acery.ycy, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=242847
https://bugs.webkit.org/show_bug.cgi?id=244543
Bug Depends on: 247251    
Bug Blocks:    

Description Matt Woodrow 2022-06-08 22:30:46 PDT
For layers that contain only unscaled bitmap content (like a canvas or image), then we don't need to allocate a device pixel ratio scaled backing store, since it's pointlessly upscaling.

<rdar://89515405>
Comment 1 Matt Woodrow 2022-06-08 22:39:00 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1405
Comment 2 EWS 2022-06-21 20:13:03 PDT
Committed r295718 (251723@main): <https://commits.webkit.org/251723@main>

Reviewed commits have been landed. Closing PR #1405 and removing active labels.
Comment 3 Matt Woodrow 2022-11-29 14:47:47 PST
*** Bug 242847 has been marked as a duplicate of this bug. ***