Chromium Code Reviews
DescriptionCheck rect under-invalidations
There are two modes:
- Using RuntimeEnabledFeatures::slimmingPaintUnderInvalidationChecking.
When the feature is enabled, for each paint, changed pixels without
invalidation are logged and marked red.
- In layout tests, when tracking paint invalidation, content_shell will
crash if there are any changed pixels without invalidation.
The method is: for each GraphicsLayer, after each paint, save the
painted picture. After another paint, rasterize the old and new pictures
into bitmaps and compare the bitmaps. If any pixel changed but not
covered by paint invalidations between the paints, take action (log,
mark as red or crash).
BUG=617799, 619242
R=chrishtr@chromium.org, pdr@chromium.org
Committed: https://crrev.com/43b0c4f23351a0bbfaccfea8d0ce10fec85977db
Cr-Commit-Position: refs/heads/master@{#399331}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : Only DCHECK_IS_ON() #
Total comments: 6
Patch Set 6 : #Patch Set 7 : #Patch Set 8 : #
Total comments: 3
Patch Set 9 : Tolerate invisible differences #
Total comments: 1
Patch Set 10 : x #Patch Set 11 : x #Patch Set 12 : x #Messages
Total messages: 25 (11 generated)
|