OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
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 | 10 |
11 #ifndef SkGr_DEFINED | 11 #ifndef SkGr_DEFINED |
12 #define SkGr_DEFINED | 12 #define SkGr_DEFINED |
13 | 13 |
14 #include <stddef.h> | 14 #include <stddef.h> |
15 | 15 |
16 // Gr headers | 16 // Gr headers |
17 #include "GrContext.h" | 17 #include "GrContext.h" |
18 #include "GrTextureAccess.h" | 18 #include "GrTextureAccess.h" |
19 #include "GrTypes.h" | 19 #include "GrTypes.h" |
20 | 20 |
21 // skia headers | 21 // skia headers |
22 #include "SkBitmap.h" | 22 #include "SkBitmap.h" |
| 23 #include "SkClipStack.h" |
23 #include "SkPath.h" | 24 #include "SkPath.h" |
24 #include "SkPoint.h" | 25 #include "SkPoint.h" |
25 #include "SkRegion.h" | 26 #include "SkRegion.h" |
26 #include "SkClipStack.h" | |
27 | 27 |
28 //////////////////////////////////////////////////////////////////////////////// | 28 //////////////////////////////////////////////////////////////////////////////// |
29 // Sk to Gr Type conversions | 29 // Sk to Gr Type conversions |
30 | 30 |
31 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff); | 31 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff); |
32 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff); | 32 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff); |
33 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff); | 33 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff); |
34 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff); | 34 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff); |
35 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff); | 35 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff); |
36 GR_STATIC_ASSERT((int)kIDC_GrBlendCoeff == (int)SkXfermode::kIDC_Coeff); | 36 GR_STATIC_ASSERT((int)kIDC_GrBlendCoeff == (int)SkXfermode::kIDC_Coeff); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 bool* doBicubic); | 137 bool* doBicubic); |
138 | 138 |
139 //////////////////////////////////////////////////////////////////////////////// | 139 //////////////////////////////////////////////////////////////////////////////// |
140 // Classes | 140 // Classes |
141 | 141 |
142 class SkGlyphCache; | 142 class SkGlyphCache; |
143 | 143 |
144 //////////////////////////////////////////////////////////////////////////////// | 144 //////////////////////////////////////////////////////////////////////////////// |
145 | 145 |
146 #endif | 146 #endif |
OLD | NEW |