ImGui color space controls
authorBrian Osman <brianosman@google.com>
Fri, 24 Feb 2017 14:49:14 +0000 (09:49 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 24 Feb 2017 15:26:40 +0000 (15:26 +0000)
commita109e3926ed2fbbb41471a140b64297ea8554357
tree8831d5f9c84fbd23ec8f23d9c158e25b534c55bd
parente127523b4af6f415dd9c1dc730a264781fbd1d5b
ImGui color space controls

Adds radio buttons for switching among legacy, sRGB and F16.
Also adds a list of primaries you can pick from, as well as
a gamut diagram showing the primaries. The primaries can be
dragged around to alter the working space.

BUG=skia:

Change-Id: Ibd8c67dfe085594c0d7462f0efe4d79d73999919
Reviewed-on: https://skia-review.googlesource.com/8311
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
tools/viewer/Viewer.cpp
tools/viewer/Viewer.h