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 | 11 |
12 #include "GrBlend.h" | 12 #include "GrBlend.h" |
13 #include "GrDrawTargetCaps.h" | 13 #include "GrDrawTargetCaps.h" |
| 14 #include "GrGeometryProcessor.h" |
14 #include "GrGpuResourceRef.h" | 15 #include "GrGpuResourceRef.h" |
15 #include "GrProcessorStage.h" | 16 #include "GrProcessorStage.h" |
16 #include "GrRenderTarget.h" | 17 #include "GrRenderTarget.h" |
17 #include "GrStencil.h" | 18 #include "GrStencil.h" |
18 #include "SkMatrix.h" | 19 #include "SkMatrix.h" |
19 #include "effects/GrSimpleTextureEffect.h" | 20 #include "effects/GrSimpleTextureEffect.h" |
20 | 21 |
21 class GrDrawTargetCaps; | 22 class GrDrawTargetCaps; |
22 class GrOptDrawState; | 23 class GrOptDrawState; |
23 class GrPaint; | 24 class GrPaint; |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 mutable uint32_t fCachedCapsID; | 826 mutable uint32_t fCachedCapsID; |
826 | 827 |
827 friend class GrOptDrawState; | 828 friend class GrOptDrawState; |
828 | 829 |
829 typedef SkRefCnt INHERITED; | 830 typedef SkRefCnt INHERITED; |
830 }; | 831 }; |
831 | 832 |
832 GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags); | 833 GR_MAKE_BITFIELD_OPS(GrDrawState::BlendOptFlags); |
833 | 834 |
834 #endif | 835 #endif |
OLD | NEW |