diff options
author | brianosman <brianosman@google.com> | 2016-07-21 13:28:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-21 13:28:36 -0700 |
commit | dfe4f2e4fe5b162d4adb4486fe751f1e3b30bea7 (patch) | |
tree | aa6ff74a25306386a0c5b5586a4843b470d80101 /src/effects/SkGpuBlurUtils.h | |
parent | 8602ede5fdfa721dcad4dcb11db028c1c24265f1 (diff) |
Add SkColorSpace to GrDrawContext
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164363002
Review-Url: https://codereview.chromium.org/2164363002
Diffstat (limited to 'src/effects/SkGpuBlurUtils.h')
-rw-r--r-- | src/effects/SkGpuBlurUtils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/SkGpuBlurUtils.h b/src/effects/SkGpuBlurUtils.h index 4f80fc3114..550f3b8d6f 100644 --- a/src/effects/SkGpuBlurUtils.h +++ b/src/effects/SkGpuBlurUtils.h @@ -23,6 +23,7 @@ namespace SkGpuBlurUtils { * Note: one of sigmaX and sigmaY should be non-zero! * @param context The GPU context * @param srcTexture The source texture to be blurred. + * @param colorSpace Color space of the source (used for the drawContext result, too). * @param gammaCorrect Should blur be gamma-correct (sRGB to linear, etc...) * @param dstBounds The destination bounds, relative to the source texture. * @param srcBounds The source bounds, relative to the source texture. If non-null, @@ -33,6 +34,7 @@ namespace SkGpuBlurUtils { */ sk_sp<GrDrawContext> GaussianBlur(GrContext* context, GrTexture* srcTexture, + sk_sp<SkColorSpace> colorSpace, bool gammaCorrect, const SkIRect& dstBounds, const SkIRect* srcBounds, |