DM: track a direct/indirect bit for each Sink too.
authormtklein <mtklein@chromium.org>
Fri, 31 Jul 2015 13:43:04 +0000 (06:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Jul 2015 13:43:04 +0000 (06:43 -0700)
commit99cab4e3081e7e0ae8a72eb53cb42b1bef3719a3
tree6f767527fe6b612807a5cdce64d021ce03643544
parent58ff81b42be51f8b4f4abf256dba0490a2562f94
DM: track a direct/indirect bit for each Sink too.

The decoding tests can now veto indirect sinks like pipe-8888.

This moves Sink type detection from automatic to explicit; I can't think of any
way to automatically differentiate pipe-8888 from 8888 based only on the
output.  (They should ideally be identical, after all.)

BUG=skia:4138

Review URL: https://codereview.chromium.org/1263113002
dm/DM.cpp
dm/DMSrcSink.cpp
dm/DMSrcSink.h