diff options
author | Mike Klein <mtklein@chromium.org> | 2017-06-01 12:37:08 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-01 17:05:13 +0000 |
commit | 761d27c4d76bbd553c10cfe835d572b6fa33cf26 (patch) | |
tree | 96a4dab9eb24960554544fe5e359dd903fce9a55 /src/core/SkConvertPixels.cpp | |
parent | d16084ffdc688bad6d0e9c04f3f98049b3412633 (diff) |
update SkRasterPipeline::run() to also take y
y isn't used yet. This is just a warmup that updates the callers.
Change-Id: I78f4f44e2b82f72b3a39fa8a8bdadef1d1b8a99e
Reviewed-on: https://skia-review.googlesource.com/18381
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkConvertPixels.cpp')
-rw-r--r-- | src/core/SkConvertPixels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkConvertPixels.cpp b/src/core/SkConvertPixels.cpp index 1c201a704e..2ada61f14e 100644 --- a/src/core/SkConvertPixels.cpp +++ b/src/core/SkConvertPixels.cpp @@ -397,7 +397,7 @@ static void convert_with_pipeline(const SkImageInfo& dstInfo, void* dstRow, size auto run = pipeline.compile(); // This y is declared above when handling dither (which needs to know y). for (y = 0; y < srcInfo.height(); ++y) { - run(0,srcInfo.width()); + run(0,y, srcInfo.width()); // The pipeline has pointers to srcRow and dstRow, so we just need to update them in the // loop to move between rows of src/dst. dstRow = SkTAddOffset<void>(dstRow, dstRB); |