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; | |
47 class GrSwizzle; | 46 class GrSwizzle; |
48 class SkTraceMemoryDump; | 47 class SkTraceMemoryDump; |
49 | 48 |
50 class SK_API GrContext : public SkRefCnt { | 49 class SK_API GrContext : public SkRefCnt { |
51 public: | 50 public: |
52 /** | 51 /** |
53 * Creates a GrContext for a backend context. | 52 * Creates a GrContext for a backend context. |
54 */ | 53 */ |
55 static GrContext* Create(GrBackend, GrBackendContext, const GrContextOptions
& options); | 54 static GrContext* Create(GrBackend, GrBackendContext, const GrContextOptions
& options); |
56 static GrContext* Create(GrBackend, GrBackendContext); | 55 static GrContext* Create(GrBackend, GrBackendContext); |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 SkAutoTUnref<const GrCaps> fCaps; | 496 SkAutoTUnref<const GrCaps> fCaps; |
498 uint32_t fContextUniqueID; | 497 uint32_t fContextUniqueID; |
499 | 498 |
500 friend class GrContext; | 499 friend class GrContext; |
501 friend class SkImage; | 500 friend class SkImage; |
502 | 501 |
503 typedef SkRefCnt INHERITED; | 502 typedef SkRefCnt INHERITED; |
504 }; | 503 }; |
505 | 504 |
506 #endif | 505 #endif |
OLD | NEW |