Add matrix configs to DM

BUG=skia:832

Review URL: https://codereview.chromium.org/1125793002
2 files changed