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 SkArithmeticMode_gpu_DEFINED | 8 #ifndef SkArithmeticMode_gpu_DEFINED |
9 #define SkArithmeticMode_gpu_DEFINED | 9 #define SkArithmeticMode_gpu_DEFINED |
10 | 10 |
| 11 #include "SkTypes.h" |
| 12 |
11 #if SK_SUPPORT_GPU | 13 #if SK_SUPPORT_GPU |
12 | 14 |
13 #include "GrCoordTransform.h" | 15 #include "GrCoordTransform.h" |
14 #include "GrFragmentProcessor.h" | 16 #include "GrFragmentProcessor.h" |
15 #include "GrTextureAccess.h" | 17 #include "GrTextureAccess.h" |
16 #include "GrTypes.h" | 18 #include "GrTypes.h" |
17 #include "GrXferProcessor.h" | 19 #include "GrXferProcessor.h" |
18 | 20 |
19 class GrInvariantOutput; | 21 class GrInvariantOutput; |
20 class GrProcOptInfo; | 22 class GrProcOptInfo; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 GR_DECLARE_XP_FACTORY_TEST; | 177 GR_DECLARE_XP_FACTORY_TEST; |
176 | 178 |
177 float fK1, fK2, fK3, fK4; | 179 float fK1, fK2, fK3, fK4; |
178 bool fEnforcePMColor; | 180 bool fEnforcePMColor; |
179 | 181 |
180 typedef GrXPFactory INHERITED; | 182 typedef GrXPFactory INHERITED; |
181 }; | 183 }; |
182 | 184 |
183 #endif | 185 #endif |
184 #endif | 186 #endif |
OLD | NEW |