Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 447a20bcb267de834a121c0126c690c7ecea7c28..6debea16e43b276728e02e6cd589f1a9a413ccf7 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -431,6 +431,7 @@ bool SkDisplacementMapEffect::filterImageGPUDeprecated(Proxy* proxy, const SkBit |
ctx.ctm().mapVectors(&scale, 1); |
GrPaint paint; |
+ // SRGBTODO: AllowSRGBInputs? |
SkMatrix offsetMatrix = GrCoordTransform::MakeDivByTextureWHMatrix(displacement); |
offsetMatrix.preTranslate(SkIntToScalar(colorOffset.fX - displacementOffset.fX), |
SkIntToScalar(colorOffset.fY - displacementOffset.fY)); |