diff options
author | msarett <msarett@google.com> | 2015-11-10 11:22:12 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-10 11:22:12 -0800 |
commit | 6dfe9ac3aad3ab8ec3a0f1684c94fef0c6ad9c3e (patch) | |
tree | 9d753b78754bec86a7bb619f6eeeffdd22d6f900 /dm | |
parent | 824f46ca2cf0a7c2e95ae747b020f4a321e72d66 (diff) |
Reduce messages from libjpeg-turbo
output_message():
By overriding output_message, we can use SkCodecPrintf,
which we can turn on or off.
The default turbo implementation of emit_message calls
output_message when it wants to print a message, so,
even though we don't override emit_message, it also uses
SkCodecPrintf.
emit_message():
Use libjpeg-turbo’s default implementation of emit_message.
It does not print "trace messages" which essentially are info
messages and it only prints the first warning (unless it a very
serious warning).
Currently, we just print everything, which is why the output
has been so verbose.
BUG=skia:
Review URL: https://codereview.chromium.org/1427523007
Diffstat (limited to 'dm')
0 files changed, 0 insertions, 0 deletions