OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 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 "SkBitmapDevice.h" | 8 #include "SkBitmapDevice.h" |
9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 #include "SkCanvasPriv.h" | 10 #include "SkCanvasPriv.h" |
11 #include "SkClipStack.h" | 11 #include "SkClipStack.h" |
12 #include "SkColorFilter.h" | 12 #include "SkColorFilter.h" |
13 #include "SkDraw.h" | 13 #include "SkDraw.h" |
14 #include "SkDrawable.h" | 14 #include "SkDrawable.h" |
15 #include "SkDrawFilter.h" | 15 #include "SkDrawFilter.h" |
16 #include "SkDrawLooper.h" | 16 #include "SkDrawLooper.h" |
17 #include "SkErrorInternals.h" | 17 #include "SkErrorInternals.h" |
18 #include "SkImage.h" | 18 #include "SkImage.h" |
19 #include "SkImage_Base.h" | 19 #include "SkImage_Base.h" |
| 20 #include "SkImageFilter.h" |
| 21 #include "SkImageFilterCache.h" |
20 #include "SkMatrixUtils.h" | 22 #include "SkMatrixUtils.h" |
21 #include "SkMetaData.h" | 23 #include "SkMetaData.h" |
22 #include "SkNinePatchIter.h" | 24 #include "SkNinePatchIter.h" |
23 #include "SkPaintPriv.h" | 25 #include "SkPaintPriv.h" |
24 #include "SkPatchUtils.h" | 26 #include "SkPatchUtils.h" |
25 #include "SkPicture.h" | 27 #include "SkPicture.h" |
26 #include "SkRasterClip.h" | 28 #include "SkRasterClip.h" |
27 #include "SkReadPixelsRec.h" | 29 #include "SkReadPixelsRec.h" |
28 #include "SkRRect.h" | 30 #include "SkRRect.h" |
29 #include "SkSmallAllocator.h" | 31 #include "SkSmallAllocator.h" |
(...skipping 3030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3060 | 3062 |
3061 SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { | 3063 SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { |
3062 fCanvas->restoreToCount(fSaveCount); | 3064 fCanvas->restoreToCount(fSaveCount); |
3063 } | 3065 } |
3064 | 3066 |
3065 #ifdef SK_SUPPORT_LEGACY_NEW_SURFACE_API | 3067 #ifdef SK_SUPPORT_LEGACY_NEW_SURFACE_API |
3066 SkSurface* SkCanvas::newSurface(const SkImageInfo& info, const SkSurfaceProps* p
rops) { | 3068 SkSurface* SkCanvas::newSurface(const SkImageInfo& info, const SkSurfaceProps* p
rops) { |
3067 return this->makeSurface(info, props).release(); | 3069 return this->makeSurface(info, props).release(); |
3068 } | 3070 } |
3069 #endif | 3071 #endif |
OLD | NEW |