skia2/tools/viewer
Brian Osman 82ebe04caf Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function"
Moved named common transfer functions and gamuts to constexpr values in
SkColorSpace.h, in SkNamedTransferFn and SkNamedGamut namespaces.

Converted nearly all SkColorSpace::MakeRGB calls within Skia to use the
new factory with the named values. Multiple clients want a way to
extract named transfer function and gamut - this still doesn't provide
that, but this may be a better path forward for honestly advertising how
SkColorSpace works internally.

Originally landed as:
https://skia.googlesource.com/skia/+/a9549ab31630fc244094e6f1692371cbaf87f666

Re-landing with a new serialization format, but maintaining ability to
load old serialized color spaces, for SKP compatibility.

Bug: skia:
Change-Id: Ib84a6e1cd5d7d9816175773fdbaff2ca32658667
Reviewed-on: https://skia-review.googlesource.com/c/181176
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-01-05 20:06:51 +00:00
..
BisectSlide.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
BisectSlide.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
GMSlide.cpp Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
GMSlide.h Allow slides/gms to extend the UI 2018-05-15 14:29:43 +00:00
ImageSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
ImageSlide.h Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +00:00
ImGuiLayer.cpp migrating SkTDArray towards std::vector api 2018-08-08 15:51:44 +00:00
ImGuiLayer.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
NIMASlide.cpp Refactor Nima code 2018-10-30 19:32:52 +00:00
NIMASlide.h Refactor Nima code 2018-10-30 19:32:52 +00:00
SampleSlide.cpp Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SampleSlide.h Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SkottieSlide.cpp [skottie] Make animated image support generally available 2018-11-10 19:52:19 +00:00
SkottieSlide.h [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
SKPSlide.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SKPSlide.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
Slide.h Make Slide::getDimensions pure virtual. 2018-09-05 15:05:14 +00:00
SlideDir.cpp [sksg] Expose SkFont::Edging in TextNode 2018-11-21 22:48:00 +00:00
SlideDir.h Don't use MEM_MOVE=true with SkTArrays of sk_sp 2018-09-05 20:11:07 +00:00
StatsLayer.cpp Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
StatsLayer.h Add 'u' to zoom stats display on high DPI devices 2018-07-30 15:00:25 +00:00
SvgSlide.cpp Fix !defined(SK_XML) builds 2018-08-01 14:28:56 +00:00
SvgSlide.h Viewer SVG support 2018-04-05 16:34:22 +00:00
TouchGesture.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
TouchGesture.h Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Viewer.cpp Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
Viewer.h Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00