Bug 253614

Summary: Use the Copy CompositeOperator when copying canvas into its layer
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>