aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/YUVCacheTest.cpp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-11-03 14:43:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-11-03 14:43:53 -0700
commit544da7a7c399ab9775d6dbb441a5a695569f9939 (patch)
tree3dacc46146d16be4dfc7025d9dfecc5e6763efa6 /tests/YUVCacheTest.cpp
parent1b612a89fba2275e3effe12bdc9b6cdc2f4d9eee (diff)
Avoid matrix inverse in SkBitmapProcInfo::init for translate-only cases
If fInvMatrix doesn't have a scale component, the really-close-to-no-scale logic is a no-op. We can avoid an inverse op by hoisting the check out of just_trans_clamp/just_trans_general. R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2472003004 Review-Url: https://codereview.chromium.org/2472003004
Diffstat (limited to 'tests/YUVCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions