aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPaint.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-10-18 13:15:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-18 18:46:25 +0000
commit2240be96d97b5ac0886381d74a21f1e2a0928f55 (patch)
treee0148f28dd2eb10bbfd3541213e4720b10b043b0 /src/gpu/GrPaint.h
parent8fed655df87618f8460af2a6284bdef764cf84c8 (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.h7
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&);