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

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

Issue 1709753002: Mark existing image filter entry points that will be going away with Deprecated (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update to ToT Created 4 years, 10 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/effects/SkMagnifierImageFilter.h ('k') | include/effects/SkMergeImageFilter.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 * 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
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const SkScalar* kernel, 70 const SkScalar* kernel,
71 SkScalar gain, 71 SkScalar gain,
72 SkScalar bias, 72 SkScalar bias,
73 const SkIPoint& kernelOffset, 73 const SkIPoint& kernelOffset,
74 TileMode tileMode, 74 TileMode tileMode,
75 bool convolveAlpha, 75 bool convolveAlpha,
76 SkImageFilter* input, 76 SkImageFilter* input,
77 const CropRect* cropRect); 77 const CropRect* cropRect);
78 void flatten(SkWriteBuffer&) const override; 78 void flatten(SkWriteBuffer&) const override;
79 79
80 bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 80 bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&,
81 SkBitmap* result, SkIPoint* loc) const override; 81 SkBitmap* result, SkIPoint* loc) const override ;
82 void onFilterNodeBounds(const SkIRect&, const SkMatrix&, SkIRect*, MapDirect ion) const override; 82 void onFilterNodeBounds(const SkIRect&, const SkMatrix&, SkIRect*, MapDirect ion) const override;
83 bool canComputeFastBounds() const override; 83 bool canComputeFastBounds() const override;
84 84
85 #if SK_SUPPORT_GPU 85 #if SK_SUPPORT_GPU
86 bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&, 86 bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&,
87 const SkIRect& bounds) const override; 87 const SkIRect& bounds) const override;
88 #endif 88 #endif
89 89
90 private: 90 private:
91 SkISize fKernelSize; 91 SkISize fKernelSize;
(...skipping 19 matching lines...) Expand all
111 SkBitmap* result, 111 SkBitmap* result,
112 const SkIRect& rect, 112 const SkIRect& rect,
113 const SkIRect& bounds) const; 113 const SkIRect& bounds) const;
114 void filterBorderPixels(const SkBitmap& src, 114 void filterBorderPixels(const SkBitmap& src,
115 SkBitmap* result, 115 SkBitmap* result,
116 const SkIRect& rect, 116 const SkIRect& rect,
117 const SkIRect& bounds) const; 117 const SkIRect& bounds) const;
118 }; 118 };
119 119
120 #endif 120 #endif
OLDNEW
« no previous file with comments | « include/effects/SkMagnifierImageFilter.h ('k') | include/effects/SkMergeImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698