Index: src/gpu/effects/GrSingleTextureEffect.h |
diff --git a/src/gpu/effects/GrSingleTextureEffect.h b/src/gpu/effects/GrSingleTextureEffect.h |
index 4169e404691cebd41de42cfed5e782a765e85746..ae7c69426ffa050049cafeda510b47ab1dc54566 100644 |
--- a/src/gpu/effects/GrSingleTextureEffect.h |
+++ b/src/gpu/effects/GrSingleTextureEffect.h |
@@ -9,6 +9,7 @@ |
#define GrSingleTextureEffect_DEFINED |
#include "GrFragmentProcessor.h" |
+#include "GrColorSpaceXform.h" |
#include "GrCoordTransform.h" |
#include "GrInvariantOutput.h" |
#include "SkMatrix.h" |
@@ -31,11 +32,13 @@ public: |
protected: |
/** unfiltered, clamp mode */ |
- GrSingleTextureEffect(GrTexture*, const SkMatrix&, GrCoordSet = kLocal_GrCoordSet); |
- /** clamp mode */ |
- GrSingleTextureEffect(GrTexture*, const SkMatrix&, GrTextureParams::FilterMode filterMode, |
+ GrSingleTextureEffect(GrTexture*, sk_sp<GrColorSpaceXform>, const SkMatrix&, |
GrCoordSet = kLocal_GrCoordSet); |
+ /** clamp mode */ |
+ GrSingleTextureEffect(GrTexture*, sk_sp<GrColorSpaceXform>, const SkMatrix&, |
+ GrTextureParams::FilterMode filterMode, GrCoordSet = kLocal_GrCoordSet); |
GrSingleTextureEffect(GrTexture*, |
+ sk_sp<GrColorSpaceXform>, |
const SkMatrix&, |
const GrTextureParams&, |
GrCoordSet = kLocal_GrCoordSet); |
@@ -58,6 +61,7 @@ protected: |
private: |
GrCoordTransform fCoordTransform; |
GrTextureAccess fTextureAccess; |
+ sk_sp<GrColorSpaceXform> fColorSpaceXform; |
typedef GrFragmentProcessor INHERITED; |
}; |