commit | 816db16d19234821fb5e5b176022a9e41d410016 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Fri Apr 16 08:39:35 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Apr 19 14:26:14 2021 +0000 |
tree | 9c7bd9e7dadb9a2e3fc609f824d740cb07a7ec5a | |
parent | 59f1a9cb7a34d6c8144372809cb19f7b4a369aa3 [diff] |
GrMatrixEffect applies coord normalization/flip for GrTextureEffect. It checks if its child is a GrTextureEffect and if so the child supplies a matrix to concat. Additionally, GrTextureEffect shader modes that operate on unnormalized texture coords no longer receive prenormalized coords that must be unnormalized. Hoping this addresses (maybe partially) this regression: https://perf.skia.org/e/?begin=1618332600&end=1618386249&keys=Xdf47e259cd874b84b2e0c31c9465abe8&num_commits=50&request_type=1&xbaroffset=54589 Bug: skia:11844 Change-Id: I97eeb88440d5d81acb3edd8c406b17680da67438 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/397218 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>