DescriptionFix display list canvas not rendering correctly on high dpi displays
The decision to use an intermediate rasterization buffer so that
the canvas can be renderered at the right resolution was be made
at record time in GraphicsContext::drawPicture. That code was unable
to determine whether the content would be further scaled by the
compositor, so it was often making the wrong decision. This change
uses a new option on SkPictureImageFilter to defer the decision
to playback time. This change also sets the filter level on the
SkPictureImageFilter, which solve the problem of respecting
the image-rendering:pexelated CSS style.
Note: the tests for issue 439251, which is fixed by this change,
are in a separate change that is still under review:
https://codereview.chromium.org/562583002/
BUG=439251, 432992
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187187
Patch Set 1 #Patch Set 2 : update #
Total comments: 4
Patch Set 3 : corrections #Messages
Total messages: 15 (4 generated)
|