Chromium Code Reviews
Description2D canvas: pass unmodified primitive bounds to saveLayer().
There is no longer a need for callers to call computeFastBounds() on
the bounds passed to SkCanvas::saveLayer(). Any margin required by
image filters in the SkPaint will be handled internally by Skia.
Also, rather than modifying the CTM and mapping the bounds by hand,
use an SkLocalMatrixImageFilter to apply the inverse CTM to filter
parameters, and pass the original primitive bounds. (2D canvas
semantics require that shadow offsets and other filter parameters
are unaffected by the CTM).
R=junov@chromium.org
BUG=570002
Committed: https://crrev.com/aea5bd2c15641110e9f9d5361134823af0e51d4f
Cr-Commit-Position: refs/heads/master@{#365477}
Patch Set 1 #Patch Set 2 : mark some more tests NeedsRebaseline #
Total comments: 1
Messages
Total messages: 20 (8 generated)
|
||||||||||||||||||||||||||||