Fix the linear-rgb canvas color space so that it renders
This change fixes colorSpace:"linear-rgb" for 2D canvas so that
the skia rendering pipeline actually renders correctly into its
backing. The results still do not propagate to the display,
but they are inspectable via getImageData.
The main issue was that skia only support linear transfer curves
when the color type is 16-bit float. Also, getImage data had to
work around some output format limitations in skia
BUG=
634542
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed:
https://crrev.com/75885ebb694faeabc19dd751561a82a582703793
Cr-Commit-Position: refs/heads/master@{#426558}