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 "GrDrawTarget.h" | 11 #include "GrDrawTarget.h" |
12 #include "GrClipMaskManager.h" | 12 #include "GrClipMaskManager.h" |
13 #include "SkPath.h" | 13 #include "SkPath.h" |
14 | 14 |
15 class GrContext; | 15 class GrContext; |
16 class GrGpuObject; | |
17 class GrIndexBufferAllocPool; | 16 class GrIndexBufferAllocPool; |
18 class GrPath; | 17 class GrPath; |
19 class GrPathRange; | 18 class GrPathRange; |
20 class GrPathRenderer; | 19 class GrPathRenderer; |
21 class GrPathRendererChain; | 20 class GrPathRendererChain; |
22 class GrStencilBuffer; | 21 class GrStencilBuffer; |
23 class GrVertexBufferAllocPool; | 22 class GrVertexBufferAllocPool; |
24 | 23 |
25 class GrGpu : public GrDrawTarget { | 24 class GrGpu : public GrDrawTarget { |
26 public: | 25 public: |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 // these are mutable so they can be created on-demand | 538 // these are mutable so they can be created on-demand |
540 mutable GrIndexBuffer* fQuadInd
exBuffer; | 539 mutable GrIndexBuffer* fQuadInd
exBuffer; |
541 // Used to abandon/release all resources created by this GrGpu. TODO: Move t
his | 540 // Used to abandon/release all resources created by this GrGpu. TODO: Move t
his |
542 // functionality to GrResourceCache. | 541 // functionality to GrResourceCache. |
543 ObjectList fObjectL
ist; | 542 ObjectList fObjectL
ist; |
544 | 543 |
545 typedef GrDrawTarget INHERITED; | 544 typedef GrDrawTarget INHERITED; |
546 }; | 545 }; |
547 | 546 |
548 #endif | 547 #endif |
OLD | NEW |