67e50a6b5c
SK_ABORT was already using SkDebugf to print the error message to the console, so all the moving parts were there. This CL just adds a mechanism for the calling code to pass in arguments. Added a use case to demonstrate usage--when an allocation fails, the requested size is now shown in the error message. Change-Id: I42f141151fb57a399c086926249816833f349ddb Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293272 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Herb Derby <herb@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
apps | ||
bin | ||
launcher | ||
skp_gen | ||
tradefed | ||
vulkan | ||
.gitignore | ||
gclient.config | ||
whitespace.txt |