| 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 "GrBlend.h" | 12 #include "GrBlend.h" |
| 13 #include "GrColor.h" | 13 #include "GrColor.h" |
| 14 #include "GrEffectStage.h" | 14 #include "GrEffectStage.h" |
| 15 #include "GrPaint.h" | 15 #include "GrPaint.h" |
| 16 #include "GrPoint.h" | |
| 17 #include "GrRenderTarget.h" | 16 #include "GrRenderTarget.h" |
| 18 #include "GrStencil.h" | 17 #include "GrStencil.h" |
| 19 #include "GrTemplates.h" | 18 #include "GrTemplates.h" |
| 20 #include "GrTexture.h" | 19 #include "GrTexture.h" |
| 21 #include "GrTypesPriv.h" | 20 #include "GrTypesPriv.h" |
| 22 #include "effects/GrSimpleTextureEffect.h" | 21 #include "effects/GrSimpleTextureEffect.h" |
| 23 | 22 |
| 24 #include "SkMatrix.h" | 23 #include "SkMatrix.h" |
| 25 #include "SkTypes.h" | 24 #include "SkTypes.h" |
| 26 #include "SkXfermode.h" | 25 #include "SkXfermode.h" |
| (...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 * @param count the number of attributes being set, limited to kMaxVer
texAttribCnt. | 1052 * @param count the number of attributes being set, limited to kMaxVer
texAttribCnt. |
| 1054 */ | 1053 */ |
| 1055 void setVertexAttribs(const GrVertexAttrib attribs[], int count); | 1054 void setVertexAttribs(const GrVertexAttrib attribs[], int count); |
| 1056 | 1055 |
| 1057 typedef SkRefCnt INHERITED; | 1056 typedef SkRefCnt INHERITED; |
| 1058 }; | 1057 }; |
| 1059 | 1058 |
| 1060 GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags); | 1059 GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags); |
| 1061 | 1060 |
| 1062 #endif | 1061 #endif |
| OLD | NEW |