OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 GrDrawTarget_DEFINED | 8 #ifndef GrDrawTarget_DEFINED |
9 #define GrDrawTarget_DEFINED | 9 #define GrDrawTarget_DEFINED |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "SkPath.h" | 24 #include "SkPath.h" |
25 #include "SkStrokeRec.h" | 25 #include "SkStrokeRec.h" |
26 #include "SkTArray.h" | 26 #include "SkTArray.h" |
27 #include "SkTLazy.h" | 27 #include "SkTLazy.h" |
28 #include "SkTypes.h" | 28 #include "SkTypes.h" |
29 #include "SkXfermode.h" | 29 #include "SkXfermode.h" |
30 | 30 |
31 class GrBatch; | 31 class GrBatch; |
32 class GrClip; | 32 class GrClip; |
33 class GrDrawTargetCaps; | 33 class GrDrawTargetCaps; |
| 34 class GrGeometryProcessor; |
34 class GrPath; | 35 class GrPath; |
35 class GrPathRange; | 36 class GrPathRange; |
36 class GrPipeline; | 37 class GrPipeline; |
37 | 38 |
38 class GrDrawTarget : public SkRefCnt { | 39 class GrDrawTarget : public SkRefCnt { |
39 public: | 40 public: |
40 SK_DECLARE_INST_COUNT(GrDrawTarget) | 41 SK_DECLARE_INST_COUNT(GrDrawTarget) |
41 | 42 |
42 typedef GrPathRange::PathIndexType PathIndexType; | 43 typedef GrPathRange::PathIndexType PathIndexType; |
43 typedef GrPathRendering::PathTransformType PathTransformType; | 44 typedef GrPathRendering::PathTransformType PathTransformType; |
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 virtual bool setupClip(GrPipelineBuilder*, | 853 virtual bool setupClip(GrPipelineBuilder*, |
853 GrPipelineBuilder::AutoRestoreFragmentProcessors*, | 854 GrPipelineBuilder::AutoRestoreFragmentProcessors*, |
854 GrPipelineBuilder::AutoRestoreStencil*, | 855 GrPipelineBuilder::AutoRestoreStencil*, |
855 GrScissorState* scissorState, | 856 GrScissorState* scissorState, |
856 const SkRect* devBounds) SK_OVERRIDE; | 857 const SkRect* devBounds) SK_OVERRIDE; |
857 | 858 |
858 typedef GrDrawTarget INHERITED; | 859 typedef GrDrawTarget INHERITED; |
859 }; | 860 }; |
860 | 861 |
861 #endif | 862 #endif |
OLD | NEW |