commit | 8660eb0df11c8c82836ef8e1ae57b1dc5d7a1d68 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Fri Sep 20 13:04:13 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Sep 20 19:55:27 2019 +0000 |
tree | a3100476da4b996d371c29e19af6d2cdd59ccad8 | |
parent | 6b921b7e4add9e48561b2659b6e594397271bed9 [diff] |
Check for scratch textures in GrResourceProvider. Restores scratch pool checks that were accidentally removed here: https://skia.googlesource.com/skia/+/a90382fcf6759d4e13c20cf542ab5440ffd4f02d Also enables checking scratch pool for mip-mapped textures, which was not previously done. Consolidates level prep and write-pixels code. Bug: chromium:1005237 Change-Id: I6f23ce15299290ca5b666f910dc5fc85541ec316 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/243038 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>