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

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

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/SkMatrixImageFilter.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 SkMatrixConvolutionImageFilter(const SkISize& kernelSize, 70 SkMatrixConvolutionImageFilter(const SkISize& kernelSize,
71 const SkScalar* kernel, 71 const SkScalar* kernel,
72 SkScalar gain, 72 SkScalar gain,
73 SkScalar bias, 73 SkScalar bias,
74 const SkIPoint& kernelOffset, 74 const SkIPoint& kernelOffset,
75 TileMode tileMode, 75 TileMode tileMode,
76 bool convolveAlpha, 76 bool convolveAlpha,
77 SkImageFilter* input, 77 SkImageFilter* input,
78 const CropRect* cropRect, 78 const CropRect* cropRect,
79 uint32_t uniqueID); 79 uint32_t uniqueID);
80 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 80 void flatten(SkWriteBuffer&) const SK_OVERRIDE;
81 81
82 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 82 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
83 SkBitmap* result, SkIPoint* loc) const SK_OVERRID E; 83 SkBitmap* result, SkIPoint* loc) const SK_OVERRID E;
84 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const SK_OVERRIDE; 84 bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const SK_OVER RIDE;
85 85
86 86
87 #if SK_SUPPORT_GPU 87 #if SK_SUPPORT_GPU
88 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const Sk Matrix&, 88 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const Sk Matrix&,
89 const SkIRect& bounds) const SK_OVERRIDE; 89 const SkIRect& bounds) const SK_OVERRIDE;
90 #endif 90 #endif
91 91
92 private: 92 private:
93 SkISize fKernelSize; 93 SkISize fKernelSize;
94 SkScalar* fKernel; 94 SkScalar* fKernel;
(...skipping 18 matching lines...) Expand all
113 SkBitmap* result, 113 SkBitmap* result,
114 const SkIRect& rect, 114 const SkIRect& rect,
115 const SkIRect& bounds) const; 115 const SkIRect& bounds) const;
116 void filterBorderPixels(const SkBitmap& src, 116 void filterBorderPixels(const SkBitmap& src,
117 SkBitmap* result, 117 SkBitmap* result,
118 const SkIRect& rect, 118 const SkIRect& rect,
119 const SkIRect& bounds) const; 119 const SkIRect& bounds) const;
120 }; 120 };
121 121
122 #endif 122 #endif
OLDNEW
« no previous file with comments | « include/effects/SkMagnifierImageFilter.h ('k') | include/effects/SkMatrixImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698