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

Side by Side Diff: include/core/SkImageFilter.h

Issue 15600003: Remove SkImageFilter::getInputResult(), since its return value is not (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 2011 Google Inc. 2 * Copyright 2011 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 SkImageFilter_DEFINED 8 #ifndef SkImageFilter_DEFINED
9 #define SkImageFilter_DEFINED 9 #define SkImageFilter_DEFINED
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 explicit SkImageFilter(SkFlattenableReadBuffer& rb); 152 explicit SkImageFilter(SkFlattenableReadBuffer& rb);
153 153
154 virtual void flatten(SkFlattenableWriteBuffer& wb) const SK_OVERRIDE; 154 virtual void flatten(SkFlattenableWriteBuffer& wb) const SK_OVERRIDE;
155 155
156 // Default impl returns false 156 // Default impl returns false
157 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 157 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
158 SkBitmap* result, SkIPoint* offset); 158 SkBitmap* result, SkIPoint* offset);
159 // Default impl copies src into dst and returns true 159 // Default impl copies src into dst and returns true
160 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*); 160 virtual bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*);
161 161
162 // Return the result of processing the given input, or the source bitmap
163 // if we have no connected input at that index.
164 SkBitmap getInputResult(int index, Proxy*, const SkBitmap& src, const SkMatr ix&,
165 SkIPoint*);
166
167 private: 162 private:
168 typedef SkFlattenable INHERITED; 163 typedef SkFlattenable INHERITED;
169 int fInputCount; 164 int fInputCount;
170 SkImageFilter** fInputs; 165 SkImageFilter** fInputs;
171 }; 166 };
172 167
173 #endif 168 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698