OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The Android Open Source Project | 2 * Copyright 2016 The Android Open Source Project |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkAntiRun.h" | 8 #include "SkAntiRun.h" |
9 #include "SkBlitter.h" | 9 #include "SkBlitter.h" |
10 #include "SkEdge.h" | 10 #include "SkEdge.h" |
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1303 } | 1303 } |
1304 | 1304 |
1305 if (clip.isBW()) { | 1305 if (clip.isBW()) { |
1306 AAAFillPath(path, clip.bwRgn(), blitter); | 1306 AAAFillPath(path, clip.bwRgn(), blitter); |
1307 } else { | 1307 } else { |
1308 SkRegion tmp; | 1308 SkRegion tmp; |
1309 SkAAClipBlitter aaBlitter; | 1309 SkAAClipBlitter aaBlitter; |
1310 | 1310 |
1311 tmp.setRect(clip.getBounds()); | 1311 tmp.setRect(clip.getBounds()); |
1312 aaBlitter.init(blitter, &clip.aaRgn()); | 1312 aaBlitter.init(blitter, &clip.aaRgn()); |
1313 AAAFillPath(path, tmp, &aaBlitter); | 1313 AAAFillPath(path, tmp, &aaBlitter, true); |
1314 } | 1314 } |
1315 } | 1315 } |
OLD | NEW |