OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkXfermode_DEFINED | 10 #ifndef SkXfermode_DEFINED |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 This method will not be called directly by the client, so it need not | 239 This method will not be called directly by the client, so it need not |
240 be implemented if your subclass has overridden xfer32/xfer16/xferA8 | 240 be implemented if your subclass has overridden xfer32/xfer16/xferA8 |
241 */ | 241 */ |
242 virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst) const; | 242 virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst) const; |
243 | 243 |
244 private: | 244 private: |
245 enum { | 245 enum { |
246 kModeCount = kLastMode + 1 | 246 kModeCount = kLastMode + 1 |
247 }; | 247 }; |
248 | 248 |
249 // TODO(benjaminwagner): This is crazy, but it fixes the Google3 Android bui
ld. :-( | |
250 virtual void doNothing() const; | |
251 | |
252 typedef SkFlattenable INHERITED; | 249 typedef SkFlattenable INHERITED; |
253 }; | 250 }; |
254 | 251 |
255 #endif | 252 #endif |
OLD | NEW |