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 "GrPathRendering.h" | 12 #include "GrPathRendering.h" |
13 #include "GrProgramDesc.h" | 13 #include "GrProgramDesc.h" |
14 #include "SkPath.h" | 14 #include "SkPath.h" |
15 | 15 |
16 class GrContext; | 16 class GrContext; |
17 class GrIndexBufferAllocPool; | 17 class GrIndexBufferAllocPool; |
| 18 class GrOptDrawState; |
18 class GrPath; | 19 class GrPath; |
19 class GrPathRange; | 20 class GrPathRange; |
20 class GrPathRenderer; | 21 class GrPathRenderer; |
21 class GrPathRendererChain; | 22 class GrPathRendererChain; |
22 class GrStencilBuffer; | 23 class GrStencilBuffer; |
23 class GrVertexBufferAllocPool; | 24 class GrVertexBufferAllocPool; |
24 | 25 |
25 class GrGpu : public SkRefCnt { | 26 class GrGpu : public SkRefCnt { |
26 public: | 27 public: |
27 | 28 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 int fGpuTrac
eMarkerCount; | 503 int fGpuTrac
eMarkerCount; |
503 GrTraceMarkerSet fActiveT
raceMarkers; | 504 GrTraceMarkerSet fActiveT
raceMarkers; |
504 GrTraceMarkerSet fStoredT
raceMarkers; | 505 GrTraceMarkerSet fStoredT
raceMarkers; |
505 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. | 506 // The context owns us, not vice-versa, so this ptr is not ref'ed by Gpu. |
506 GrContext* fContext
; | 507 GrContext* fContext
; |
507 | 508 |
508 typedef SkRefCnt INHERITED; | 509 typedef SkRefCnt INHERITED; |
509 }; | 510 }; |
510 | 511 |
511 #endif | 512 #endif |
OLD | NEW |