Bug 244877

Summary: Call prepareForDisplayWithPaint in OffscreenCanvas::commitToPlaceholderCanvas
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   
Bug Depends on:    
Bug Blocks: 183720    

Description Matt Woodrow 2022-09-06 21:39:40 PDT
Looks like WebGLRenderingContextBase needs this to be called, so that paintRenderingResultsToCanvas() knows that this is a 'display' and clears the back buffer.
Comment 1 Matt Woodrow 2022-09-06 21:44:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4087
Comment 2 EWS 2022-09-07 20:31:46 PDT
Committed 254259@main (0f38a84a5524): <https://commits.webkit.org/254259@main>

Reviewed commits have been landed. Closing PR #4087 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-09-07 20:32:16 PDT
<rdar://problem/99678333>