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 GrGpu_DEFINED | 8 #ifndef GrGpu_DEFINED |
9 #define GrGpu_DEFINED | 9 #define GrGpu_DEFINED |
10 | 10 |
11 #include "GrGpuCommandBuffer.h" | 11 #include "GrGpuCommandBuffer.h" |
12 #include "GrPipelineBuilder.h" | |
13 #include "GrProgramDesc.h" | 12 #include "GrProgramDesc.h" |
14 #include "GrSwizzle.h" | 13 #include "GrSwizzle.h" |
15 #include "GrAllocator.h" | 14 #include "GrAllocator.h" |
16 #include "GrTextureParamsAdjuster.h" | 15 #include "GrTextureParamsAdjuster.h" |
17 #include "GrTypes.h" | 16 #include "GrTypes.h" |
18 #include "GrXferProcessor.h" | 17 #include "GrXferProcessor.h" |
19 #include "SkPath.h" | 18 #include "SkPath.h" |
20 #include "SkTArray.h" | 19 #include "SkTArray.h" |
21 | 20 |
22 class GrBatchTracker; | 21 class GrBatchTracker; |
23 class GrBuffer; | 22 class GrBuffer; |
24 class GrContext; | 23 class GrContext; |
| 24 struct GrContextOptions; |
25 class GrGLContext; | 25 class GrGLContext; |
26 class GrMesh; | 26 class GrMesh; |
27 class GrNonInstancedVertices; | 27 class GrNonInstancedVertices; |
28 class GrPath; | 28 class GrPath; |
29 class GrPathRange; | 29 class GrPathRange; |
30 class GrPathRenderer; | 30 class GrPathRenderer; |
31 class GrPathRendererChain; | 31 class GrPathRendererChain; |
32 class GrPathRendering; | 32 class GrPathRendering; |
33 class GrPipeline; | 33 class GrPipeline; |
34 class GrPrimitiveProcessor; | 34 class GrPrimitiveProcessor; |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 SkTArray<const MultisampleSpecs*, true> fMultisa
mpleSpecsMap; | 575 SkTArray<const MultisampleSpecs*, true> fMultisa
mpleSpecsMap; |
576 GrTAllocator<MultisampleSpecs> fMultisa
mpleSpecsAllocator; | 576 GrTAllocator<MultisampleSpecs> fMultisa
mpleSpecsAllocator; |
577 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. | 577 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. |
578 GrContext* fContext
; | 578 GrContext* fContext
; |
579 | 579 |
580 friend class GrPathRendering; | 580 friend class GrPathRendering; |
581 typedef SkRefCnt INHERITED; | 581 typedef SkRefCnt INHERITED; |
582 }; | 582 }; |
583 | 583 |
584 #endif | 584 #endif |
OLD | NEW |