aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-04-21 14:08:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-21 19:02:28 +0000
commit1be0db86aae4f69df4b71cc387eeda70d72afd56 (patch)
tree80018a789c8fa71f4f72a86db9a0149a852b95be /src/core
parentdc80eaa97142b8635c50b8154f648f9098fdbd15 (diff)
long live SkJumper
Change-Id: I5de3c8daae80e437b3553ab6afcee7120a1bb775 Reviewed-on: https://skia-review.googlesource.com/14038 Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkOpts.cpp3
-rw-r--r--src/core/SkRasterPipeline.cpp10
-rw-r--r--src/core/SkRasterPipeline.h2
3 files changed, 0 insertions, 15 deletions
diff --git a/src/core/SkOpts.cpp b/src/core/SkOpts.cpp
index 273c654754..4666e73ce3 100644
--- a/src/core/SkOpts.cpp
+++ b/src/core/SkOpts.cpp
@@ -43,7 +43,6 @@
#include "SkBlurImageFilter_opts.h"
#include "SkChecksum_opts.h"
#include "SkMorphologyImageFilter_opts.h"
-#include "SkRasterPipeline_opts.h"
#include "SkSwizzler_opts.h"
#include "SkXfermode_opts.h"
@@ -84,8 +83,6 @@ namespace SkOpts {
DEFINE_DEFAULT(hash_fn);
- DEFINE_DEFAULT(run_pipeline);
-
DEFINE_DEFAULT(convolve_vertically);
DEFINE_DEFAULT(convolve_horizontally);
DEFINE_DEFAULT(convolve_4_rows_horizontally);
diff --git a/src/core/SkRasterPipeline.cpp b/src/core/SkRasterPipeline.cpp
index 3e3fe3bd85..d307bdd118 100644
--- a/src/core/SkRasterPipeline.cpp
+++ b/src/core/SkRasterPipeline.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkOpts.h"
#include "SkRasterPipeline.h"
SkRasterPipeline::SkRasterPipeline() {}
@@ -20,15 +19,6 @@ void SkRasterPipeline::extend(const SkRasterPipeline& src) {
src.fStages.begin(), src.fStages.end());
}
-void SkRasterPipeline::run(size_t x, size_t n) const {
- if (!fStages.empty()) {
- if (this->run_with_jumper(x, n)) {
- return;
- }
- SkOpts::run_pipeline(x,n, fStages.data(), SkToInt(fStages.size()));
- }
-}
-
void SkRasterPipeline::dump() const {
SkDebugf("SkRasterPipeline, %d stages\n", SkToInt(fStages.size()));
for (auto&& st : fStages) {
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h
index 09632b0264..d100de0a9b 100644
--- a/src/core/SkRasterPipeline.h
+++ b/src/core/SkRasterPipeline.h
@@ -134,8 +134,6 @@ public:
bool empty() const { return fStages.empty(); }
private:
- bool run_with_jumper(size_t x, size_t n) const;
-
std::vector<Stage> fStages;
};