OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #include "SkMaskFilter.h" | 10 #include "SkMaskFilter.h" |
11 #include "SkBlitter.h" | 11 #include "SkBlitter.h" |
12 #include "SkDraw.h" | 12 #include "SkDraw.h" |
13 #include "SkCachedData.h" | 13 #include "SkCachedData.h" |
| 14 #include "SkPath.h" |
14 #include "SkRasterClip.h" | 15 #include "SkRasterClip.h" |
15 #include "SkRRect.h" | 16 #include "SkRRect.h" |
16 #include "SkTypes.h" | 17 #include "SkTypes.h" |
17 | 18 |
18 #if SK_SUPPORT_GPU | 19 #if SK_SUPPORT_GPU |
19 #include "GrTexture.h" | 20 #include "GrTexture.h" |
20 #include "SkGr.h" | 21 #include "SkGr.h" |
21 #include "SkGrPixelRef.h" | 22 #include "SkGrPixelRef.h" |
22 #endif | 23 #endif |
23 | 24 |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 srcM.fRowBytes = 0; | 356 srcM.fRowBytes = 0; |
356 srcM.fFormat = SkMask::kA8_Format; | 357 srcM.fFormat = SkMask::kA8_Format; |
357 | 358 |
358 SkIPoint margin; // ignored | 359 SkIPoint margin; // ignored |
359 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { | 360 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { |
360 dst->set(dstM.fBounds); | 361 dst->set(dstM.fBounds); |
361 } else { | 362 } else { |
362 dst->set(srcM.fBounds); | 363 dst->set(srcM.fBounds); |
363 } | 364 } |
364 } | 365 } |
OLD | NEW |