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

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

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/animator/SkSnapshot.cpp ('k') | src/core/SkImageFilter.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 "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
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
OLDNEW
« no previous file with comments | « src/animator/SkSnapshot.cpp ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698