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 "SkDevice.h" | |
14 #include "SkDraw.h" | 13 #include "SkDraw.h" |
15 #include "SkDrawable.h" | 14 #include "SkDrawable.h" |
16 #include "SkDrawFilter.h" | 15 #include "SkDrawFilter.h" |
17 #include "SkDrawLooper.h" | 16 #include "SkDrawLooper.h" |
18 #include "SkErrorInternals.h" | 17 #include "SkErrorInternals.h" |
19 #include "SkImage.h" | 18 #include "SkImage.h" |
20 #include "SkImage_Base.h" | 19 #include "SkImage_Base.h" |
21 #include "SkMatrixUtils.h" | 20 #include "SkMatrixUtils.h" |
22 #include "SkMetaData.h" | 21 #include "SkMetaData.h" |
23 #include "SkNinePatchIter.h" | 22 #include "SkNinePatchIter.h" |
(...skipping 3029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3053 | 3052 |
3054 SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { | 3053 SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { |
3055 fCanvas->restoreToCount(fSaveCount); | 3054 fCanvas->restoreToCount(fSaveCount); |
3056 } | 3055 } |
3057 | 3056 |
3058 #ifdef SK_SUPPORT_LEGACY_NEW_SURFACE_API | 3057 #ifdef SK_SUPPORT_LEGACY_NEW_SURFACE_API |
3059 SkSurface* SkCanvas::newSurface(const SkImageInfo& info, const SkSurfaceProps* p
rops) { | 3058 SkSurface* SkCanvas::newSurface(const SkImageInfo& info, const SkSurfaceProps* p
rops) { |
3060 return this->makeSurface(info, props).release(); | 3059 return this->makeSurface(info, props).release(); |
3061 } | 3060 } |
3062 #endif | 3061 #endif |
OLD | NEW |