Bug 241450 - Don't allocate device pixel ratio scaled backing stores for layers that contain only unscaled bitmap content
Summary: Don't allocate device pixel ratio scaled backing stores for layers that conta...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
: 242847 (view as bug list)
Depends on: 247251
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-08 22:30 PDT by Matt Woodrow
Modified: 2022-11-29 14:47 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***