OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 GrCustomXfermodePriv_DEFINED | 8 #ifndef GrCustomXfermodePriv_DEFINED |
9 #define GrCustomXfermodePriv_DEFINED | 9 #define GrCustomXfermodePriv_DEFINED |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 const GrProcOptInfo& coveragePOI) const override; | 78 const GrProcOptInfo& coveragePOI) const override; |
79 | 79 |
80 bool onIsEqual(const GrXPFactory& xpfBase) const override { | 80 bool onIsEqual(const GrXPFactory& xpfBase) const override { |
81 const GrCustomXPFactory& xpf = xpfBase.cast<GrCustomXPFactory>(); | 81 const GrCustomXPFactory& xpf = xpfBase.cast<GrCustomXPFactory>(); |
82 return fMode == xpf.fMode; | 82 return fMode == xpf.fMode; |
83 } | 83 } |
84 | 84 |
85 GR_DECLARE_XP_FACTORY_TEST; | 85 GR_DECLARE_XP_FACTORY_TEST; |
86 | 86 |
87 SkXfermode::Mode fMode; | 87 SkXfermode::Mode fMode; |
| 88 GrBlendEquation fHWBlendEquation; |
88 | 89 |
89 typedef GrXPFactory INHERITED; | 90 typedef GrXPFactory INHERITED; |
90 }; | 91 }; |
91 #endif | 92 #endif |
92 | 93 |
OLD | NEW |