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

Side by Side Diff: src/svg/SkSVGDevice.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 | « src/gpu/SkGpuDevice.cpp ('k') | tests/ImageFilterCacheTest.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 2015 Google Inc. 2 * Copyright 2015 Google Inc.
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 #ifndef SkSVGDevice_DEFINED 8 #ifndef SkSVGDevice_DEFINED
9 #define SkSVGDevice_DEFINED 9 #define SkSVGDevice_DEFINED
10 10
11 #include "SkDevice.h" 11 #include "SkDevice.h"
12 #include "SkTemplates.h"
12 13
13 class SkXMLWriter; 14 class SkXMLWriter;
14 15
15 class SkSVGDevice : public SkBaseDevice { 16 class SkSVGDevice : public SkBaseDevice {
16 public: 17 public:
17 static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer); 18 static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer);
18 19
19 SkImageInfo imageInfo() const override; 20 SkImageInfo imageInfo() const override;
20 21
21 protected: 22 protected:
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 68
68 SkXMLWriter* fWriter; 69 SkXMLWriter* fWriter;
69 SkAutoTDelete<AutoElement> fRootElement; 70 SkAutoTDelete<AutoElement> fRootElement;
70 SkAutoTDelete<ResourceBucket> fResourceBucket; 71 SkAutoTDelete<ResourceBucket> fResourceBucket;
71 SkBitmap fLegacyBitmap; 72 SkBitmap fLegacyBitmap;
72 73
73 typedef SkBaseDevice INHERITED; 74 typedef SkBaseDevice INHERITED;
74 }; 75 };
75 76
76 #endif // SkSVGDevice_DEFINED 77 #endif // SkSVGDevice_DEFINED
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | tests/ImageFilterCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698