| commit | c24c8ef7fc8a75dba18aaf5f80542a60478ad8b6 | [log] [tgz] |
|---|---|---|
| author | Brian Salomon <bsalomon@google.com> | Mon Feb 01 13:32:30 2021 -0500 |
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Feb 01 21:31:58 2021 +0000 |
| tree | b424e53e8ec85968868a76c0c20e488529ae4db0 | |
| parent | ac7e501a6564bf64dd0192ee658c7dabc161e15d [diff] |
Consistently fail readPixels when rowbytes not a multiple of bpp Previously this would report success but may have rounded the rowbytes down to a multiple of bpp prior to writing the dst. On GPU it could trigger an assert in a debug build. Bug: chromium:1163061 Change-Id: I19709f4cdb71139732998a4dd2e14476099f0ba8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/363782 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Reed <reed@google.com>