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/opts/SkRasterPipeline_opts.h | |
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/opts/SkRasterPipeline_opts.h')
-rw-r--r-- | src/opts/SkRasterPipeline_opts.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/opts/SkRasterPipeline_opts.h b/src/opts/SkRasterPipeline_opts.h index fb0271b822..0a7441b304 100644 --- a/src/opts/SkRasterPipeline_opts.h +++ b/src/opts/SkRasterPipeline_opts.h @@ -1221,11 +1221,6 @@ namespace { namespace SK_OPTS_NS { - SI std::function<void(size_t, size_t)> - compile_pipeline(const SkRasterPipeline::Stage* stages, int nstages) { - return Compiled{stages,nstages}; - } - SI void run_pipeline(size_t x, size_t n, const SkRasterPipeline::Stage* stages, int nstages) { static const int kStackMax = 256; |