aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlendTest.cpp
diff options
context:
space:
mode:
authorGravatar Hans Wennborg <hans@chromium.org>2017-04-05 15:06:30 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-06 21:11:05 +0000
commit7754ccce726b09e78d269804c1c11e1718965301 (patch)
treea5cf1a98e6f1a4ba312d60e55caef9dc1139c826 /tests/BlendTest.cpp
parent46a45ba907b81517dc301781443cc63fe3b5ccb0 (diff)
Specialize boxBlur(Interp) based on 'transpose' parameter
boxBlurInterp showed up hot when running Speedometer. I noticed that BoxBlur calls boxBlurInterp repeatedly, the call does not get inlined, and the function could be simplified a bit if 'transpose' is a compile-time constant. In particular, dst_x_stride or dst_y_stride now become a constant 1, which simplifies the dptr updates. Bug: skia:none Change-Id: I8782e5b133a2195328e13878aca8a749af150b86 Reviewed-on: https://skia-review.googlesource.com/11362 Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/BlendTest.cpp')
0 files changed, 0 insertions, 0 deletions