SK_API in src/gpu cleanup
Change-Id: I14d6f7ef06c3cfcefd0813dd5013e4185b12d8cc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/235804
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrDDLContext.cpp b/src/gpu/GrDDLContext.cpp
index 27a8667..4cfdad4 100644
--- a/src/gpu/GrDDLContext.cpp
+++ b/src/gpu/GrDDLContext.cpp
@@ -15,7 +15,7 @@
* The DDL Context is the one in effect during DDL Recording. It isn't backed by a GrGPU and
* cannot allocate any GPU resources.
*/
-class SK_API GrDDLContext : public GrContext {
+class GrDDLContext : public GrContext {
public:
GrDDLContext(sk_sp<GrContextThreadSafeProxy> proxy)
: INHERITED(proxy->backend(), proxy->priv().options(), proxy->priv().contextID()) {
diff --git a/src/gpu/GrLegacyDirectContext.cpp b/src/gpu/GrLegacyDirectContext.cpp
index 932c241..ffd224d 100644
--- a/src/gpu/GrLegacyDirectContext.cpp
+++ b/src/gpu/GrLegacyDirectContext.cpp
@@ -33,7 +33,7 @@
static const bool kDefaultReduceOpListSplitting = false;
#endif
-class SK_API GrLegacyDirectContext : public GrContext {
+class GrLegacyDirectContext : public GrContext {
public:
GrLegacyDirectContext(GrBackendApi backend, const GrContextOptions& options)
: INHERITED(backend, options)
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h
index f73e43c..26f7c7f 100644
--- a/src/gpu/GrPathRenderer.h
+++ b/src/gpu/GrPathRenderer.h
@@ -30,7 +30,7 @@
/**
* Base class for drawing paths into a GrOpList.
*/
-class SK_API GrPathRenderer : public SkRefCnt {
+class GrPathRenderer : public SkRefCnt {
public:
GrPathRenderer();
diff --git a/src/gpu/GrReducedClip.h b/src/gpu/GrReducedClip.h
index 6c95556..25b05df 100644
--- a/src/gpu/GrReducedClip.h
+++ b/src/gpu/GrReducedClip.h
@@ -21,7 +21,7 @@
* This class takes a clip stack and produces a reduced set of elements that are equivalent to
* applying that full stack within a specified query rectangle.
*/
-class SK_API GrReducedClip {
+class GrReducedClip {
public:
using Element = SkClipStack::Element;
using ElementList = SkTLList<SkClipStack::Element, 16>;
diff --git a/src/gpu/GrRenderTargetContext.h b/src/gpu/GrRenderTargetContext.h
index b334a16..d3b8cc2 100644
--- a/src/gpu/GrRenderTargetContext.h
+++ b/src/gpu/GrRenderTargetContext.h
@@ -55,7 +55,7 @@
/**
* A helper object to orchestrate commands (draws, etc...) for GrSurfaces that are GrRenderTargets.
*/
-class SK_API GrRenderTargetContext : public GrSurfaceContext {
+class GrRenderTargetContext : public GrSurfaceContext {
public:
~GrRenderTargetContext() override;
diff --git a/src/gpu/GrSurfaceContext.h b/src/gpu/GrSurfaceContext.h
index 8c66ac9..eb94a25 100644
--- a/src/gpu/GrSurfaceContext.h
+++ b/src/gpu/GrSurfaceContext.h
@@ -34,7 +34,7 @@
/**
* A helper object to orchestrate commands for a particular surface
*/
-class SK_API GrSurfaceContext {
+class GrSurfaceContext {
public:
virtual ~GrSurfaceContext() = default;
diff --git a/src/gpu/GrTextureContext.h b/src/gpu/GrTextureContext.h
index cf09283..ac9a43c 100644
--- a/src/gpu/GrTextureContext.h
+++ b/src/gpu/GrTextureContext.h
@@ -23,7 +23,7 @@
* A helper object to orchestrate commands (currently just copies) for GrSurfaces that are
* GrTextures and not GrRenderTargets.
*/
-class SK_API GrTextureContext : public GrSurfaceContext {
+class GrTextureContext : public GrSurfaceContext {
public:
~GrTextureContext() override;
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp
index 56ce729..2a0f774 100644
--- a/src/gpu/gl/GrGLAssembleInterface.cpp
+++ b/src/gpu/gl/GrGLAssembleInterface.cpp
@@ -37,6 +37,6 @@
return nullptr;
}
-SK_API const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetProc get) {
+const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetProc get) {
return GrGLMakeAssembledInterface(ctx, get).release();
}
diff --git a/src/gpu/ops/GrDefaultPathRenderer.h b/src/gpu/ops/GrDefaultPathRenderer.h
index 07c1058..871a8c6 100644
--- a/src/gpu/ops/GrDefaultPathRenderer.h
+++ b/src/gpu/ops/GrDefaultPathRenderer.h
@@ -16,7 +16,7 @@
* Subclass that renders the path using the stencil buffer to resolve fill rules
* (e.g. winding, even-odd)
*/
-class SK_API GrDefaultPathRenderer : public GrPathRenderer {
+class GrDefaultPathRenderer : public GrPathRenderer {
public:
GrDefaultPathRenderer();
diff --git a/src/gpu/ops/GrTessellatingPathRenderer.h b/src/gpu/ops/GrTessellatingPathRenderer.h
index 0381988..2ebcd79 100644
--- a/src/gpu/ops/GrTessellatingPathRenderer.h
+++ b/src/gpu/ops/GrTessellatingPathRenderer.h
@@ -14,7 +14,7 @@
* Subclass that renders the path by converting to screen-space trapezoids plus
* extra 1-pixel geometry for AA.
*/
-class SK_API GrTessellatingPathRenderer : public GrPathRenderer {
+class GrTessellatingPathRenderer : public GrPathRenderer {
public:
GrTessellatingPathRenderer();
#if GR_TEST_UTILS
diff --git a/src/gpu/text/GrSDFMaskFilter.cpp b/src/gpu/text/GrSDFMaskFilter.cpp
index 85705c1e..23660f5 100644
--- a/src/gpu/text/GrSDFMaskFilter.cpp
+++ b/src/gpu/text/GrSDFMaskFilter.cpp
@@ -13,7 +13,7 @@
#include "src/core/SkWriteBuffer.h"
#include "src/gpu/text/GrSDFMaskFilter.h"
-class SK_API GrSDFMaskFilterImpl : public SkMaskFilterBase {
+class GrSDFMaskFilterImpl : public SkMaskFilterBase {
public:
GrSDFMaskFilterImpl();
diff --git a/src/gpu/text/GrSDFMaskFilter.h b/src/gpu/text/GrSDFMaskFilter.h
index b934a63..6dfbaf0 100644
--- a/src/gpu/text/GrSDFMaskFilter.h
+++ b/src/gpu/text/GrSDFMaskFilter.h
@@ -14,7 +14,7 @@
This mask filter converts an alpha mask to a signed distance field representation
*/
-class SK_API GrSDFMaskFilter : public SkMaskFilter {
+class GrSDFMaskFilter : public SkMaskFilter {
public:
static sk_sp<SkMaskFilter> Make();
};