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 "GrRefCnt.h" | |
13 #include "GrClipMaskManager.h" | 12 #include "GrClipMaskManager.h" |
14 #include "SkPath.h" | 13 #include "SkPath.h" |
15 | 14 |
16 class GrContext; | 15 class GrContext; |
17 class GrIndexBufferAllocPool; | 16 class GrIndexBufferAllocPool; |
18 class GrPath; | 17 class GrPath; |
19 class GrPathRenderer; | 18 class GrPathRenderer; |
20 class GrPathRendererChain; | 19 class GrPathRendererChain; |
21 class GrResource; | 20 class GrResource; |
22 class GrStencilBuffer; | 21 class GrStencilBuffer; |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 // these are mutable so they can be created on-demand | 529 // these are mutable so they can be created on-demand |
531 mutable GrIndexBuffer* fQuadInd
exBuffer; | 530 mutable GrIndexBuffer* fQuadInd
exBuffer; |
532 // Used to abandon/release all resources created by this GrGpu. TODO: Move t
his | 531 // Used to abandon/release all resources created by this GrGpu. TODO: Move t
his |
533 // functionality to GrResourceCache. | 532 // functionality to GrResourceCache. |
534 ResourceList fResourc
eList; | 533 ResourceList fResourc
eList; |
535 | 534 |
536 typedef GrDrawTarget INHERITED; | 535 typedef GrDrawTarget INHERITED; |
537 }; | 536 }; |
538 | 537 |
539 #endif | 538 #endif |
OLD | NEW |