aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkBlitter.cpp4
-rw-r--r--src/core/SkBlitter.h1
-rw-r--r--src/core/SkComposeShader.h3
-rw-r--r--src/core/SkCoreBlitters.h2
4 files changed, 0 insertions, 10 deletions
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp
index 86c49d08ae..d3c60b7739 100644
--- a/src/core/SkBlitter.cpp
+++ b/src/core/SkBlitter.cpp
@@ -29,10 +29,6 @@ bool SkBlitter::resetShaderContext(const SkShader::ContextRec&) {
return true;
}
-SkShader::Context* SkBlitter::getShaderContext() const {
- return nullptr;
-}
-
const SkPixmap* SkBlitter::justAnOpaqueColor(uint32_t* value) {
return nullptr;
}
diff --git a/src/core/SkBlitter.h b/src/core/SkBlitter.h
index fd6ca8c110..ac4712ed48 100644
--- a/src/core/SkBlitter.h
+++ b/src/core/SkBlitter.h
@@ -111,7 +111,6 @@ public:
* Special methods for SkShaderBlitter. On all other classes this is a no-op.
*/
virtual bool resetShaderContext(const SkShader::ContextRec&);
- virtual SkShader::Context* getShaderContext() const;
/**
* Special methods for blitters that can blit more than one row at a time.
diff --git a/src/core/SkComposeShader.h b/src/core/SkComposeShader.h
index 95da9c8f80..7f9ff69ca8 100644
--- a/src/core/SkComposeShader.h
+++ b/src/core/SkComposeShader.h
@@ -45,9 +45,6 @@ public:
ComposeShaderContext(const SkComposeShader&, const ContextRec&,
SkShader::Context* contextA, SkShader::Context* contextB);
- SkShader::Context* getShaderContextA() const { return fShaderContextA; }
- SkShader::Context* getShaderContextB() const { return fShaderContextB; }
-
virtual ~ComposeShaderContext();
void shadeSpan(int x, int y, SkPMColor[], int count) override;
diff --git a/src/core/SkCoreBlitters.h b/src/core/SkCoreBlitters.h
index 23fca0f402..3ff1e1df18 100644
--- a/src/core/SkCoreBlitters.h
+++ b/src/core/SkCoreBlitters.h
@@ -44,8 +44,6 @@ public:
*/
bool resetShaderContext(const SkShader::ContextRec&) override;
- SkShader::Context* getShaderContext() const override { return fShaderContext; }
-
protected:
uint32_t fShaderFlags;
const SkShader* fShader;