swap_src_dst -> move_src_dst
authorMike Klein <mtklein@chromium.org>
Fri, 4 Nov 2016 20:36:39 +0000 (16:36 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 4 Nov 2016 21:11:01 +0000 (21:11 +0000)
commitc5093411071222c752334dc6e38887020e986cc3
treecf8883533b865cc3182bc970efdb50a361615d79
parente33998aa26b27861463ec526f9c5dbb13607973b
swap_src_dst -> move_src_dst

We thought it'd be handy to have swap_src_dst so that it could be used
either to move dst into src or src into dst.  Turns out, we already have
a stage that moves dst into src (called "dst", the dst blend mode), so
there's really no reason to have swap_src_dst over the strictly more
efficient move_src_dst.

swap_src_dst is typically 12 register moves, where move_src_dst is 4.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4461

Change-Id: Ib453775f854e313f823851978eaadc3995872312
Reviewed-on: https://skia-review.googlesource.com/4461
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
src/core/SkModeColorFilter.cpp
src/core/SkRasterPipeline.h
src/opts/SkRasterPipeline_opts.h