Bug 264031

Summary: CanvasRenderingContext::clearAccumulatedDirtyRect is redundant
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Description Kimmo Kinnunen 2023-11-01 02:28:11 PDT
CanvasRenderingContext::clearAccumulatedDirtyRect is redundant

Instead, the dirty rect should be cleared during buffer swap operation.
Canvas 2DContext should clear the dirty rect when it is indicated that the drawing buffer should be swapped to display buffer.
Comment 1 Radar WebKit Bug Importer 2023-11-01 02:30:52 PDT
<rdar://problem/117786631>