diff options
author | Mike Klein <mtklein@chromium.org> | 2017-02-16 06:51:48 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-16 12:23:06 +0000 |
commit | 8729e5bbf7c436fd7c7c13182adbbfb419f566b5 (patch) | |
tree | 956ab4a697887e8529e311c34a44486875760239 /src/core/SkRasterPipeline.cpp | |
parent | 394d414452a5d654731b0b5a3669f8e2420048b3 (diff) |
Simplify more: remove SkRasterPipeline::compile().
It's easier to work on SkJumper if everything funnels through run().
I don't anticipate huge benefit from compile() without JITing,
but it's something we can always put back if we find a need.
Change-Id: Id5256fd21495e8195cad1924dbad81856416d913
Reviewed-on: https://skia-review.googlesource.com/8468
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkRasterPipeline.cpp')
-rw-r--r-- | src/core/SkRasterPipeline.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkRasterPipeline.cpp b/src/core/SkRasterPipeline.cpp index 81b98677b2..42f0212f1a 100644 --- a/src/core/SkRasterPipeline.cpp +++ b/src/core/SkRasterPipeline.cpp @@ -31,10 +31,6 @@ void SkRasterPipeline::run(size_t x, size_t n) const { } } -std::function<void(size_t, size_t)> SkRasterPipeline::compile() const { - return SkOpts::compile_pipeline(fStages.data(), SkToInt(fStages.size())); -} - void SkRasterPipeline::dump() const { SkDebugf("SkRasterPipeline, %d stages\n", SkToInt(fStages.size())); for (auto&& st : fStages) { |