Bug 264031 - CanvasRenderingContext::clearAccumulatedDirtyRect is redundant
Summary: CanvasRenderingContext::clearAccumulatedDirtyRect is redundant
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-01 02:28 PDT by Kimmo Kinnunen
Modified: 2023-11-01 02:30 PDT (History)
2 users (show)

See Also:


Attachments

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