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

Side by Side Diff: include/core/SkBitmapDevice.h

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 | « gyp/core.gypi ('k') | include/core/SkDevice.h » ('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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
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 #ifndef SkBitmapDevice_DEFINED 9 #ifndef SkBitmapDevice_DEFINED
10 #define SkBitmapDevice_DEFINED 10 #define SkBitmapDevice_DEFINED
11 11
12 #include "SkBitmap.h" 12 #include "SkBitmap.h"
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkColor.h" 14 #include "SkColor.h"
15 #include "SkDevice.h" 15 #include "SkDevice.h"
16 #include "SkImageFilter.h"
17 #include "SkImageInfo.h" 16 #include "SkImageInfo.h"
18 #include "SkRect.h" 17 #include "SkRect.h"
19 #include "SkScalar.h" 18 #include "SkScalar.h"
20 #include "SkSize.h" 19 #include "SkSize.h"
21 #include "SkSurfaceProps.h" 20 #include "SkSurfaceProps.h"
22 #include "SkTypes.h" 21 #include "SkTypes.h"
23 22
24 class SkDraw; 23 class SkDraw;
24 class SkImageFilterCache;
25 class SkMatrix; 25 class SkMatrix;
26 class SkPaint; 26 class SkPaint;
27 class SkPath; 27 class SkPath;
28 class SkPixelRef; 28 class SkPixelRef;
29 class SkPixmap; 29 class SkPixmap;
30 class SkRRect; 30 class SkRRect;
31 class SkSurface; 31 class SkSurface;
32 class SkXfermode; 32 class SkXfermode;
33 struct SkPoint; 33 struct SkPoint;
34 34
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 // used to change the backend's pixels (and possibly config/rowbytes) 156 // used to change the backend's pixels (and possibly config/rowbytes)
157 // but cannot change the width/height, so there should be no change to 157 // but cannot change the width/height, so there should be no change to
158 // any clip information. 158 // any clip information.
159 void replaceBitmapBackendForRasterSurface(const SkBitmap&) override; 159 void replaceBitmapBackendForRasterSurface(const SkBitmap&) override;
160 160
161 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override; 161 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
162 162
163 sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) over ride; 163 sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) over ride;
164 164
165 SkImageFilter::Cache* getImageFilterCache() override; 165 SkImageFilterCache* getImageFilterCache() override;
166 166
167 SkBitmap fBitmap; 167 SkBitmap fBitmap;
168 168
169 void setNewSize(const SkISize&); // Used by SkCanvas for resetForNextPictur e(). 169 void setNewSize(const SkISize&); // Used by SkCanvas for resetForNextPictur e().
170 170
171 typedef SkBaseDevice INHERITED; 171 typedef SkBaseDevice INHERITED;
172 }; 172 };
173 173
174 #endif // SkBitmapDevice_DEFINED 174 #endif // SkBitmapDevice_DEFINED
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698