diff options
author | Brian Osman <brianosman@google.com> | 2017-10-17 17:15:52 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-18 13:27:46 +0000 |
commit | c4f93cab667b022bbaa196bddcbca23592ad2e6c (patch) | |
tree | f9d18a953013b5249b8dc36c76d24ddc76dbd9dd /src/gpu/GrProcessor.h | |
parent | 43938b8533dbee75816726b54737e410097428ce (diff) |
Add GrColorSpaceXformEffect
This is an FP that just applies a GrColorSpaceXform. I have a long string
of follow-up changes that use this, which greatly simplifies many other
FPs, and ultimately eliminates the need for color space xforms to be a
first-class type in SkSL.
Bug: skia:
Change-Id: I070d8bab81c9a620a2173c83b0013c63ad53bc8e
Reviewed-on: https://skia-review.googlesource.com/60726
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrProcessor.h')
-rw-r--r-- | src/gpu/GrProcessor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrProcessor.h b/src/gpu/GrProcessor.h index 77a6808430..e07254a8ea 100644 --- a/src/gpu/GrProcessor.h +++ b/src/gpu/GrProcessor.h @@ -98,6 +98,7 @@ public: kGrCCPRPathProcessor_ClassID, kGrCircleBlurFragmentProcessor_ClassID, kGrCircleEffect_ClassID, + kGrColorSpaceXformEffect_ClassID, kGrConfigConversionEffect_ClassID, kGrConicEffect_ClassID, kGrConstColorProcessor_ClassID, |