Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: src/core/SkCanvas.cpp

Issue 1919063002: Image filters: de-nest SkImageFilter::Cache and Cache::Key. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix copyright Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkBitmapDevice.cpp ('k') | src/core/SkDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/core/SkBitmapDevice.cpp ('k') | src/core/SkDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698