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

Side by Side Diff: include/effects/SkImageSource.h

Issue 1820503002: Delete SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@fix-animator
Patch Set: Include SkImage Created 4 years, 9 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 | « include/core/SkWriteBuffer.h ('k') | src/android/SkBitmapRegionDecoder.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 SkImageSource_DEFINED 8 #ifndef SkImageSource_DEFINED
9 #define SkImageSource_DEFINED 9 #define SkImageSource_DEFINED
10 10
11 #include "SkImage.h"
11 #include "SkImageFilter.h" 12 #include "SkImageFilter.h"
12 13
13 class SkImage;
14
15 class SK_API SkImageSource : public SkImageFilter { 14 class SK_API SkImageSource : public SkImageFilter {
16 public: 15 public:
17 static SkImageFilter* Create(SkImage*); 16 static SkImageFilter* Create(SkImage*);
18 static SkImageFilter* Create(SkImage*, 17 static SkImageFilter* Create(SkImage*,
19 const SkRect& srcRect, 18 const SkRect& srcRect,
20 const SkRect& dstRect, 19 const SkRect& dstRect,
21 SkFilterQuality); 20 SkFilterQuality);
22 21
23 void computeFastBounds(const SkRect& src, SkRect* dst) const override; 22 void computeFastBounds(const SkRect& src, SkRect* dst) const override;
24 23
(...skipping 14 matching lines...) Expand all
39 SkFilterQuality); 38 SkFilterQuality);
40 39
41 sk_sp<SkImage> fImage; 40 sk_sp<SkImage> fImage;
42 SkRect fSrcRect, fDstRect; 41 SkRect fSrcRect, fDstRect;
43 SkFilterQuality fFilterQuality; 42 SkFilterQuality fFilterQuality;
44 43
45 typedef SkImageFilter INHERITED; 44 typedef SkImageFilter INHERITED;
46 }; 45 };
47 46
48 #endif 47 #endif
OLDNEW
« no previous file with comments | « include/core/SkWriteBuffer.h ('k') | src/android/SkBitmapRegionDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698