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

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

Issue 1905753002: Image filters: remove SkBitmap-based cache. (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 | « include/core/SkImageFilter.h ('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 2012 The Android Open Source Project 2 * Copyright 2012 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 #ifndef SkMatrixConvolutionImageFilter_DEFINED 8 #ifndef SkMatrixConvolutionImageFilter_DEFINED
9 #define SkMatrixConvolutionImageFilter_DEFINED 9 #define SkMatrixConvolutionImageFilter_DEFINED
10 10
11 #include "SkImageFilter.h" 11 #include "SkImageFilter.h"
12 #include "SkScalar.h" 12 #include "SkScalar.h"
13 #include "SkSize.h" 13 #include "SkSize.h"
14 #include "SkPoint.h" 14 #include "SkPoint.h"
15 15
16 class SkBitmap;
17
16 /*! \class SkMatrixConvolutionImageFilter 18 /*! \class SkMatrixConvolutionImageFilter
17 Matrix convolution image filter. This filter applies an NxM image 19 Matrix convolution image filter. This filter applies an NxM image
18 processing kernel to a given input image. This can be used to produce 20 processing kernel to a given input image. This can be used to produce
19 effects such as sharpening, blurring, edge detection, etc. 21 effects such as sharpening, blurring, edge detection, etc.
20 */ 22 */
21 23
22 class SK_API SkMatrixConvolutionImageFilter : public SkImageFilter { 24 class SK_API SkMatrixConvolutionImageFilter : public SkImageFilter {
23 public: 25 public:
24 /*! \enum TileMode */ 26 /*! \enum TileMode */
25 enum TileMode { 27 enum TileMode {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const SkIRect& bounds) const; 124 const SkIRect& bounds) const;
123 void filterBorderPixels(const SkBitmap& src, 125 void filterBorderPixels(const SkBitmap& src,
124 SkBitmap* result, 126 SkBitmap* result,
125 const SkIRect& rect, 127 const SkIRect& rect,
126 const SkIRect& bounds) const; 128 const SkIRect& bounds) const;
127 129
128 typedef SkImageFilter INHERITED; 130 typedef SkImageFilter INHERITED;
129 }; 131 };
130 132
131 #endif 133 #endif
OLDNEW
« no previous file with comments | « include/core/SkImageFilter.h ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698