DescriptionReduce 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:
Committed: https://skia.googlesource.com/skia/+/6dfe9ac3aad3ab8ec3a0f1684c94fef0c6ad9c3e
Patch Set 1 #
Total comments: 2
Depends on Patchset: Messages
Total messages: 8 (4 generated)
|