viz: Add color space information to SkiaRenderer

Take into account resource's color space information in SkiaRenderer so
color correction gets applied. This is done by plumbing through
color space information.

Since SkColorSpace does not cover everything in gfx::ColorSpace, this
patch does not pass all the color transformation pixel test. Further
investigation is needed for the failure cases.

Bug: 795132
Change-Id: I1712e4625a055fd93af7702509d167e33667671d
Reviewed-on: https://chromium-review.googlesource.com/c/1374460
Commit-Queue: weiliangc <weiliangc@chromium.org>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626416}
9 files changed