graphite: Print extra debug information on TextureInfo mismatch
Add a toString helper method on TextureInfo and implement it for all
backends. Use it to print a more informative message when formats don't
match.
Bug: chromium:1423576
Change-Id: I179c9a68a233bde37a7bdcd5c89a8e01348aeaf0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/701677
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
7 files changed