try to speed-up maprect + round2i + contains
authorreed <reed@google.com>
Mon, 11 Jul 2016 20:17:35 +0000 (13:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 11 Jul 2016 20:17:35 +0000 (13:17 -0700)
commitb42b785d1cbc98bd34aceae338060831b974f9c5
tree91f84ddd2f3cecf85c8c0dad4a5cfc48e2140c10
parent7e602c2c6cb2fbeb70a3978e2148844b673a8a4c
try to speed-up maprect + round2i + contains

We call roundOut in a few places. If we can get SkNx::Ceil we could efficiently implement that as well.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2133413002
CQ_INCLUDE_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review-Url: https://codereview.chromium.org/2133413002
bench/RectBench.cpp
gyp/core.gypi
gyp/tools.gyp
include/core/SkRect.h
include/private/SkNx.h [moved from src/core/SkNx.h with 99% similarity]
include/private/SkNx_neon.h [moved from src/opts/SkNx_neon.h with 100% similarity]
include/private/SkNx_sse.h [moved from src/opts/SkNx_sse.h with 100% similarity]
tests/RectTest.cpp