commit | 3ad19e59571f1a2952209b1e25ff54f0da52acf4 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Tue Aug 15 15:44:04 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Aug 15 20:36:47 2017 +0000 |
tree | 55eb18404171208c891588fe693b980070b4358a | |
parent | 03776fc0d7eaf3f05886d7eaf6c2563c8fc2dfb1 [diff] |
Skip bilerp for integral-translate-only matrices (!clamp-clamp case) We've landed https://skia-review.googlesource.com/24126 to restore this optimization, but we check too late: for non-clamp/clamp cases we'd already adjusted the matrix scale, so the optimization never kicks in. Relocate the integral translation check before all other matrix adjustments. BUG=chromium:744674 Change-Id: I395d327c3ddf74dc6d23bb8aee782ec62a7373f1 Reviewed-on: https://skia-review.googlesource.com/34840 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Klein <mtklein@google.com>