diff options
author | 2017-10-18 13:15:13 -0400 | |
---|---|---|
committer | 2017-10-18 18:46:25 +0000 | |
commit | 2240be96d97b5ac0886381d74a21f1e2a0928f55 (patch) | |
tree | e0148f28dd2eb10bbfd3541213e4720b10b043b0 /src/gpu/GrPaint.h | |
parent | 8fed655df87618f8460af2a6284bdef764cf84c8 (diff) |
Remove color space xform from GrTextureDomain & GrSimpleTextureEffect
Bug: skia:
Change-Id: I31435d334da28cce9bbc654c4b98746b03078897
Reviewed-on: https://skia-review.googlesource.com/61460
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrPaint.h')
-rw-r--r-- | src/gpu/GrPaint.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gpu/GrPaint.h b/src/gpu/GrPaint.h index a67c1c7525..c5b45633a7 100644 --- a/src/gpu/GrPaint.h +++ b/src/gpu/GrPaint.h @@ -17,7 +17,6 @@ #include "SkRegion.h" #include "SkTLazy.h" -class GrColorSpaceXform; class GrTextureProxy; class GrXPFactory; @@ -110,10 +109,8 @@ public: * Helpers for adding color or coverage effects that sample a texture. The matrix is applied * to the src space position to compute texture coordinates. */ - void addColorTextureProcessor(sk_sp<GrTextureProxy>, - sk_sp<GrColorSpaceXform>, const SkMatrix&); - void addColorTextureProcessor(sk_sp<GrTextureProxy>, sk_sp<GrColorSpaceXform>, const SkMatrix&, - const GrSamplerState&); + void addColorTextureProcessor(sk_sp<GrTextureProxy>, const SkMatrix&); + void addColorTextureProcessor(sk_sp<GrTextureProxy>, const SkMatrix&, const GrSamplerState&); void addCoverageTextureProcessor(sk_sp<GrTextureProxy>, const SkMatrix&); void addCoverageTextureProcessor(sk_sp<GrTextureProxy>, const SkMatrix&, const GrSamplerState&); |