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 GrContext_DEFINED | 8 #ifndef GrContext_DEFINED |
9 #define GrContext_DEFINED | 9 #define GrContext_DEFINED |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 class GrPath; | 36 class GrPath; |
37 class GrPipelineBuilder; | 37 class GrPipelineBuilder; |
38 class GrResourceEntry; | 38 class GrResourceEntry; |
39 class GrResourceCache; | 39 class GrResourceCache; |
40 class GrResourceProvider; | 40 class GrResourceProvider; |
41 class GrTestTarget; | 41 class GrTestTarget; |
42 class GrTextBlobCache; | 42 class GrTextBlobCache; |
43 class GrTextContext; | 43 class GrTextContext; |
44 class GrTextureParams; | 44 class GrTextureParams; |
45 class GrVertexBuffer; | 45 class GrVertexBuffer; |
| 46 class GrStrokeInfo; |
46 class GrSwizzle; | 47 class GrSwizzle; |
47 class SkTraceMemoryDump; | 48 class SkTraceMemoryDump; |
48 | 49 |
49 class SK_API GrContext : public SkRefCnt { | 50 class SK_API GrContext : public SkRefCnt { |
50 public: | 51 public: |
51 /** | 52 /** |
52 * Creates a GrContext for a backend context. | 53 * Creates a GrContext for a backend context. |
53 */ | 54 */ |
54 static GrContext* Create(GrBackend, GrBackendContext, const GrContextOptions
& options); | 55 static GrContext* Create(GrBackend, GrBackendContext, const GrContextOptions
& options); |
55 static GrContext* Create(GrBackend, GrBackendContext); | 56 static GrContext* Create(GrBackend, GrBackendContext); |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 SkAutoTUnref<const GrCaps> fCaps; | 497 SkAutoTUnref<const GrCaps> fCaps; |
497 uint32_t fContextUniqueID; | 498 uint32_t fContextUniqueID; |
498 | 499 |
499 friend class GrContext; | 500 friend class GrContext; |
500 friend class SkImage; | 501 friend class SkImage; |
501 | 502 |
502 typedef SkRefCnt INHERITED; | 503 typedef SkRefCnt INHERITED; |
503 }; | 504 }; |
504 | 505 |
505 #endif | 506 #endif |
OLD | NEW |