Expose SkColorSpaceTransferFn inversion function
authorBrian Osman <brianosman@google.com>
Tue, 14 Mar 2017 15:27:13 +0000 (11:27 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 14 Mar 2017 15:57:03 +0000 (15:57 +0000)
commit73e627074839bc00569117235eb4e7d4fc3cc39f
tree344fcfeba2fc78066f59347adce4c0d55bc19c06
parentdce25909ac0e84ee73640fd49dd3b82f66dd4ce1
Expose SkColorSpaceTransferFn inversion function

Also adds tolerance to checks against zero

BUG=skia:

Change-Id: I2ad5737c6eef7e3ed52a685dceb347a434607336
Reviewed-on: https://skia-review.googlesource.com/9643
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
include/core/SkColorSpace.h
src/core/SkColorSpace.cpp
src/core/SkColorSpaceXform_A2B.cpp