aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-01-26 12:33:20 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-26 18:09:36 +0000
commit3311b1513d9a4993a70303cc8d64e070e81b16e0 (patch)
tree8a929f398955c4c2cd514e07653c068cbc3abc37
parent7a1f09ca2b0859655dfe5fbca3e4e2eae6144f9c (diff)
Remove SkBlitter::getShaderContext()
Unused. Also ComposeShaderContext::getShaderContext{A,B}. R=reed@google.com,mtklein@google.com Change-Id: I36a8346f0c7e842455774339f388c04920db0040 Reviewed-on: https://skia-review.googlesource.com/7613 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
-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;