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 #include "SkXfermode.h" | 9 #include "SkXfermode.h" |
10 #include "SkXfermode_proccoeff.h" | 10 #include "SkXfermode_proccoeff.h" |
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 if (!xfer) { | 1064 if (!xfer) { |
1065 return SkXfermode::kOpaque_SrcColorOpacity == opacityType; | 1065 return SkXfermode::kOpaque_SrcColorOpacity == opacityType; |
1066 } | 1066 } |
1067 | 1067 |
1068 return xfer->isOpaque(opacityType); | 1068 return xfer->isOpaque(opacityType); |
1069 } | 1069 } |
1070 | 1070 |
1071 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode) | 1071 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode) |
1072 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode) | 1072 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode) |
1073 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END | 1073 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END |
| 1074 |
| 1075 void SkXfermode::doNothing() const {} |
OLD | NEW |