DescriptionBounds fixes for SkXfermodeImageFilter:
1) Change the default bounds to the union of the foreground and background bounds.
2) Use a canvas translate instead of manually offsetting the foreground and background bounds by the union.
3) Apply the transfer mode to all pixels, including those outside the foreground rect by using a difference clip.
Covered by the offset test cases in the xfermodeimagefilter GM (will need rebaselines).
R=reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12652
Patch Set 1 #Patch Set 2 : Add comment to ignored-tests #
Messages
Total messages: 4 (0 generated)
|