diff options
author | 2013-12-12 21:00:58 +0000 | |
---|---|---|
committer | 2013-12-12 21:00:58 +0000 | |
commit | 0682019f2161af00168bb1984918753f2a1c1e54 (patch) | |
tree | 3a91cb4ab9ed5ccaa9ee6a9bca1742139381eaa9 /tests/AtomicTest.cpp | |
parent | 30289512f988eca34534ca856c1a31536e05146e (diff) |
Bounds 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
Review URL: https://codereview.chromium.org/112683004
git-svn-id: http://skia.googlecode.com/svn/trunk@12652 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/AtomicTest.cpp')
0 files changed, 0 insertions, 0 deletions