Bug 253614 - Use the Copy CompositeOperator when copying canvas into its layer
Summary: Use the Copy CompositeOperator when copying canvas into its layer
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
Depends on:
Blocks:
 
Reported: 2023-03-08 16:24 PST by Matt Woodrow
Modified: 2023-03-09 19:33 PST (History)
4 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 2023-03-08 16:24:37 PST
When the canvas buffer is the only draw into the layer, we should be able to just directly copy the pixels instead of blending. This also means we can skip clearing the back buffer.
Comment 1 Matt Woodrow 2023-03-08 16:26:36 PST
Pull request: https://github.com/WebKit/WebKit/pull/11264
Comment 2 EWS 2023-03-09 19:32:50 PST
Committed 261484@main (876cd0f5d213): <https://commits.webkit.org/261484@main>

Reviewed commits have been landed. Closing PR #11264 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-09 19:33:16 PST
<rdar://problem/106533934>