aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImageFilter.h
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-07-21 07:15:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-21 07:15:37 -0700
commitafbf71dd924c7bb46ccdac49e7408b4b088563ff (patch)
treef914dccf3130dc11f0003e1c744ebb9e942a4736 /include/core/SkImageFilter.h
parent1b93bd1e6eba3d14593490e4e24a34546638c8da (diff)
Adding color space to SkSpecialImage
Mostly means that GPU backed special images need to be supplied (and store) a color space object. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163343002 Review-Url: https://codereview.chromium.org/2163343002
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r--include/core/SkImageFilter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 8a1bc4071a..6210073bf4 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -11,6 +11,7 @@
#include "../private/SkTArray.h"
#include "../private/SkTemplates.h"
#include "../private/SkMutex.h"
+#include "SkColorSpace.h"
#include "SkFilterQuality.h"
#include "SkFlattenable.h"
#include "SkMatrix.h"
@@ -131,7 +132,8 @@ public:
#if SK_SUPPORT_GPU
static sk_sp<SkSpecialImage> DrawWithFP(GrContext* context,
sk_sp<GrFragmentProcessor> fp,
- const SkIRect& bounds);
+ const SkIRect& bounds,
+ sk_sp<SkColorSpace> colorSpace);
#endif
/**