diff options
author | 2015-02-18 12:29:52 -0800 | |
---|---|---|
committer | 2015-02-18 12:29:52 -0800 | |
commit | 25d9c154087d2132a51d1ca74a104726f60ef380 (patch) | |
tree | ef43d8593418753e47805fff64da7c6b3741a3a3 /include/gpu/SkGr.h | |
parent | 5a105ff05303ac82a867b8b84a1edd145bd46218 (diff) |
Pass Rendertarget into context.
Adding Jim for text context stuff, and Steven for image blur stuff.
BUG=skia:
Review URL: https://codereview.chromium.org/939623005
Diffstat (limited to 'include/gpu/SkGr.h')
-rw-r--r-- | include/gpu/SkGr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h index 84b0c1c356..7cb614dd4c 100644 --- a/include/gpu/SkGr.h +++ b/include/gpu/SkGr.h @@ -80,13 +80,13 @@ GrTexture* GrRefCachedBitmapTexture(GrContext*, const SkBitmap&, const GrTexture // that the final paint will draw the same color at every pixel. This allows // an optimization where the the color filter can be applied to the SkPaint's // color once while converting to GrPaint and then ignored. -void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor paintColor, - bool constantColor, GrPaint* grPaint); +void SkPaint2GrPaintNoShader(GrContext* context, GrRenderTarget*, const SkPaint& skPaint, + GrColor paintColor, bool constantColor, GrPaint* grPaint); // This function is similar to skPaint2GrPaintNoShader but also converts // skPaint's shader to a GrFragmentProcessor if possible. // constantColor has the same meaning as in skPaint2GrPaintNoShader. -void SkPaint2GrPaintShader(GrContext* context, const SkPaint& skPaint, +void SkPaint2GrPaintShader(GrContext* context, GrRenderTarget*, const SkPaint& skPaint, const SkMatrix& viewM, bool constantColor, GrPaint* grPaint); //////////////////////////////////////////////////////////////////////////////// |