DescriptionFix a problem with scaled filters in tiled SkPicture playback.
The matrix used during filter application should be up-to-date, so that
the filter parameters can be scaled by the CTM (e.g., for hiDPI).
However, tiled playback defers setting of the matrix until after the
restore() call which draws the filter, which is too late. Moving the
setMatrix() ahead of the restore() sequence fixes the problem.
TEST=ImageFilterMatrixTest
R=junov@chromium.org
Committed: https://code.google.com/p/skia/source/detail?r=13331
Patch Set 1 #Patch Set 2 : @*&$&#$^ codereview #
Total comments: 1
Patch Set 3 : Fix 100-cols #Patch Set 4 : Fix nit #
Messages
Total messages: 5 (0 generated)
|