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" | |
15 #include "SkRasterClip.h" | 14 #include "SkRasterClip.h" |
16 #include "SkRRect.h" | 15 #include "SkRRect.h" |
17 #include "SkTypes.h" | 16 #include "SkTypes.h" |
18 | 17 |
19 #if SK_SUPPORT_GPU | 18 #if SK_SUPPORT_GPU |
20 #include "GrTexture.h" | 19 #include "GrTexture.h" |
21 #include "SkGr.h" | 20 #include "SkGr.h" |
22 #include "SkGrPixelRef.h" | 21 #include "SkGrPixelRef.h" |
23 #endif | 22 #endif |
24 | 23 |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 srcM.fRowBytes = 0; | 355 srcM.fRowBytes = 0; |
357 srcM.fFormat = SkMask::kA8_Format; | 356 srcM.fFormat = SkMask::kA8_Format; |
358 | 357 |
359 SkIPoint margin; // ignored | 358 SkIPoint margin; // ignored |
360 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { | 359 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { |
361 dst->set(dstM.fBounds); | 360 dst->set(dstM.fBounds); |
362 } else { | 361 } else { |
363 dst->set(srcM.fBounds); | 362 dst->set(srcM.fBounds); |
364 } | 363 } |
365 } | 364 } |
OLD | NEW |