DescriptionTreat calls to CanvasRenderingContext2D.clearRect as operations that clear the canvas
Currently RecordingImageBufferSurface determines whether
the canvas was cleared by tracking opaque draws. For this
purpose we need all draw operations that completely
overwrite the destination pixels to be treated as opaque
even though the resulting pixels may not be opaque
(alpha = 1). To solve this problem we introduce an alternate
mode of operation in OpaqueRegionSkia, which was renamed to
RegionTracker, to reflect its new more generic vocation.
BUG=397205
TEST=blink platform unit test RecordingImageBufferSurface.clearRect
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179074
Patch Set 1 #
Total comments: 2
Patch Set 2 : applied review comments #Patch Set 3 : rebase #Patch Set 4 : fix compile errors in unit tests #Patch Set 5 : regionTrackingEnabled #Messages
Total messages: 9 (0 generated)
|