OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 GrDrawState_DEFINED | 8 #ifndef GrDrawState_DEFINED |
9 #define GrDrawState_DEFINED | 9 #define GrDrawState_DEFINED |
10 | 10 |
11 #include "GrBackendEffectFactory.h" | 11 #include "GrBackendEffectFactory.h" |
12 #include "GrColor.h" | 12 #include "GrColor.h" |
13 #include "GrEffectStage.h" | 13 #include "GrEffectStage.h" |
14 #include "GrPaint.h" | 14 #include "GrPaint.h" |
| 15 #include "GrPoint.h" |
15 #include "GrRefCnt.h" | 16 #include "GrRefCnt.h" |
16 #include "GrRenderTarget.h" | 17 #include "GrRenderTarget.h" |
17 #include "GrStencil.h" | 18 #include "GrStencil.h" |
18 #include "GrTemplates.h" | 19 #include "GrTemplates.h" |
19 #include "GrTexture.h" | 20 #include "GrTexture.h" |
20 #include "GrTypesPriv.h" | 21 #include "GrTypesPriv.h" |
21 #include "effects/GrSimpleTextureEffect.h" | 22 #include "effects/GrSimpleTextureEffect.h" |
22 | 23 |
23 #include "SkMatrix.h" | 24 #include "SkMatrix.h" |
24 #include "SkXfermode.h" | 25 #include "SkXfermode.h" |
(...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 * @param count the number of attributes being set, limited to kMaxVer
texAttribCnt. | 1091 * @param count the number of attributes being set, limited to kMaxVer
texAttribCnt. |
1091 */ | 1092 */ |
1092 void setVertexAttribs(const GrVertexAttrib attribs[], int count); | 1093 void setVertexAttribs(const GrVertexAttrib attribs[], int count); |
1093 | 1094 |
1094 typedef GrRefCnt INHERITED; | 1095 typedef GrRefCnt INHERITED; |
1095 }; | 1096 }; |
1096 | 1097 |
1097 GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags); | 1098 GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags); |
1098 | 1099 |
1099 #endif | 1100 #endif |
OLD | NEW |