aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImageFilter.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2016-12-29 01:24:28 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-29 01:24:44 +0000
commita4cb388c0fe83de153806cbe42e4b7d47a069c09 (patch)
tree9e914f76fcf2ec6cd146d01f23120ea265233514 /include/core/SkImageFilter.h
parente02d3caab823728d3106bcb1d4fbb674afc959fb (diff)
Revert "Add ImageToColorSpace helper in SkImageFilter"
This reverts commit e02d3caab823728d3106bcb1d4fbb674afc959fb. Reason for revert: New logic triggers out-of-date assert. Reverting until I can fix that, too. Original change's description: > Add ImageToColorSpace helper in SkImageFilter > > Share this logic among a couple filters that need it. This also fixes a > bug that showed up in the morhpology GM for GPU color space configs. > > BUG=skia: > > Change-Id: Ic686b07aff80e58e14a86108703bfbb3cf524979 > Reviewed-on: https://skia-review.googlesource.com/6475 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Osman <brianosman@google.com> > TBR=bsalomon@google.com,robertphillips@google.com,brianosman@google.com,reviews@skia.org BUG=skia: NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: I00b444dfaaa9b5981f7b33b34419cf9795b52ddb Reviewed-on: https://skia-review.googlesource.com/6480 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r--include/core/SkImageFilter.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 86e12e1f4f..c2d7261196 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -386,15 +386,6 @@ protected:
*/
Context mapContext(const Context& ctx) const;
-#if SK_SUPPORT_GPU
- /**
- * Returns a version of the passed-in image (possibly the original), that is in a colorspace
- * with the same gamut as the one from the OutputProperties. This allows filters that do many
- * texture samples to guarantee that any color space conversion has happened before running.
- */
- static sk_sp<SkSpecialImage> ImageToColorSpace(SkSpecialImage* src, const OutputProperties&);
-#endif
-
private:
friend class SkGraphics;
static void PurgeCache();