diff options
author | Mike Klein <mtklein@chromium.org> | 2016-10-25 13:31:21 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2016-10-25 18:04:16 +0000 |
commit | e9f74b89c09772dd5abae1c0709c711d7cdb6535 (patch) | |
tree | 96e72a059facdc06f0ea39f2037e77d08eac6453 /src/opts/SkOpts_hsw.cpp | |
parent | aebfb45104eeb6dab5dbbedda13c2eaa7b7f7868 (diff) |
SkRasterPipeline::compile().
I'm not yet caching these in the blitter, and speed is essentially unchanged in the bench where I am now building and compiling the pipeline only once. This may not be able to stay a simple std::function after I figure out caching, but for now it's a nice fit.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3911
Change-Id: I9545af589f73baf9f17cb4e6ace9a814c2478fe9
Reviewed-on: https://skia-review.googlesource.com/3911
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/opts/SkOpts_hsw.cpp')
-rw-r--r-- | src/opts/SkOpts_hsw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opts/SkOpts_hsw.cpp b/src/opts/SkOpts_hsw.cpp index 55fe045a56..8c31af5b83 100644 --- a/src/opts/SkOpts_hsw.cpp +++ b/src/opts/SkOpts_hsw.cpp @@ -12,7 +12,7 @@ namespace SkOpts { void Init_hsw() { - run_pipeline = hsw::run_pipeline; + compile_pipeline = hsw::compile_pipeline; } } |