Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(967)

Side by Side Diff: include/gpu/GrContext.h

Issue 22881005: Replace uses of GR_API by SK_API. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrConfig.h ('k') | include/gpu/GrNoncopyable.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 21 matching lines...) Expand all
32 class GrPathRenderer; 32 class GrPathRenderer;
33 class GrResourceEntry; 33 class GrResourceEntry;
34 class GrResourceCache; 34 class GrResourceCache;
35 class GrStencilBuffer; 35 class GrStencilBuffer;
36 class GrTextureParams; 36 class GrTextureParams;
37 class GrVertexBuffer; 37 class GrVertexBuffer;
38 class GrVertexBufferAllocPool; 38 class GrVertexBufferAllocPool;
39 class GrSoftwarePathRenderer; 39 class GrSoftwarePathRenderer;
40 class SkStrokeRec; 40 class SkStrokeRec;
41 41
42 class GR_API GrContext : public GrRefCnt { 42 class SK_API GrContext : public GrRefCnt {
43 public: 43 public:
44 SK_DECLARE_INST_COUNT(GrContext) 44 SK_DECLARE_INST_COUNT(GrContext)
45 45
46 /** 46 /**
47 * Creates a GrContext for a backend context. 47 * Creates a GrContext for a backend context.
48 */ 48 */
49 static GrContext* Create(GrBackend, GrBackendContext); 49 static GrContext* Create(GrBackend, GrBackendContext);
50 50
51 /** 51 /**
52 * Returns the number of GrContext instances for the current thread. 52 * Returns the number of GrContext instances for the current thread.
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 } 1013 }
1014 1014
1015 GrTexture* texture() { return fTexture; } 1015 GrTexture* texture() { return fTexture; }
1016 1016
1017 private: 1017 private:
1018 GrContext* fContext; 1018 GrContext* fContext;
1019 GrTexture* fTexture; 1019 GrTexture* fTexture;
1020 }; 1020 };
1021 1021
1022 #endif 1022 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrConfig.h ('k') | include/gpu/GrNoncopyable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698