blob: 005fdfebf639ff8d9f4da30cd243cb258b541ffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
diff --git a/include/private/gpu/ganesh/GrContext_Base.h b/include/private/gpu/ganesh/GrContext_Base.h
index 847e76f232..e27d9454f8 100644
--- a/include/private/gpu/ganesh/GrContext_Base.h
+++ b/include/private/gpu/ganesh/GrContext_Base.h
@@ -20,7 +20,7 @@ class GrDirectContext;
class GrImageContext;
class GrRecordingContext;
-class GrContext_Base : public SkRefCnt {
+class SK_API GrContext_Base : public SkRefCnt {
public:
~GrContext_Base() override;
@@ -32,7 +32,7 @@ public:
/*
* The 3D API backing this context
*/
- SK_API GrBackendApi backend() const;
+ GrBackendApi backend() const;
/*
* Retrieve the default GrBackendFormat for a given SkColorType and renderability.
@@ -41,16 +41,16 @@ public:
*
* The caller should check that the returned format is valid.
*/
- SK_API GrBackendFormat defaultBackendFormat(SkColorType, GrRenderable) const;
+ GrBackendFormat defaultBackendFormat(SkColorType, GrRenderable) const;
- SK_API GrBackendFormat compressedBackendFormat(SkImage::CompressionType) const;
+ GrBackendFormat compressedBackendFormat(SkImage::CompressionType) const;
/**
* Gets the maximum supported sample count for a color type. 1 is returned if only non-MSAA
* rendering is supported for the color type. 0 is returned if rendering to this color type
* is not supported at all.
*/
- SK_API int maxSurfaceSampleCountForColorType(SkColorType colorType) const;
+ int maxSurfaceSampleCountForColorType(SkColorType colorType) const;
// TODO: When the public version is gone, rename to refThreadSafeProxy and add raw ptr ver.
sk_sp<GrContextThreadSafeProxy> threadSafeProxy();
|