skia2/modules/canvaskit/htmlcanvas
Nathaniel Nifong b1ebbb19bc Wide color gamut support and working example.
Fixes release-cpu build issue, un-revert cl 289733

Color space arguments accepted at surface creation, paint, gradient, and other call sites.
Works correctly only when chrome happens to be rendering itself in the same color space
the canvaskit user has chosen, there's not yet end to end color management of
canvases supported in browsers.

readPixels not yet working due to possible chrome bug.

Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289733
Commit-Queue: Nathaniel Nifong <nifong@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Change-Id: I65ce1c643dac57e14b8476f598c96b12b7e040ce
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/291896
2020-05-26 20:13:33 +00:00
..
_namedcolors.js Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
canvas2dcontext.js Wide color gamut support and working example. 2020-05-26 20:13:33 +00:00
color.js Reland "Switch to using a Float32Array (bound as value array) for color." 2020-03-26 14:41:29 +00:00
font.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
htmlcanvas.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
imagedata.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
lineargradient.js Name name changes suggested in API review 2020-03-05 15:13:41 +00:00
path2d.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
pattern.js [canvaskit] Make SkImageShader from SkImage 2019-04-04 13:42:41 +00:00
postamble.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
preamble.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
radialgradient.js Name name changes suggested in API review 2020-03-05 15:13:41 +00:00
util.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00