Index: experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp |
diff --git a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp |
index a7750a8d856020158c351458c37072cb26eda3fc..29391fc287f4c16ccaf72f116f9817df2f53afa9 100644 |
--- a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp |
+++ b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp |
@@ -603,19 +603,6 @@ void SkPerlinNoiseShader2::PerlinNoiseShaderContext::shadeSpan( |
} |
} |
-void SkPerlinNoiseShader2::PerlinNoiseShaderContext::shadeSpan16( |
- int x, int y, uint16_t result[], int count) { |
- SkPoint point = SkPoint::Make(SkIntToScalar(x), SkIntToScalar(y)); |
- StitchData stitchData; |
- DITHER_565_SCAN(y); |
- for (int i = 0; i < count; ++i) { |
- unsigned dither = DITHER_VALUE(x); |
- result[i] = SkDitherRGB32To565(shade(point, stitchData), dither); |
- DITHER_INC_X(x); |
- point.fX += SK_Scalar1; |
- } |
-} |
- |
///////////////////////////////////////////////////////////////////// |
#if SK_SUPPORT_GPU |