aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bench/ColorCanvasDrawBitmapBench.cpp1
-rw-r--r--bench/DrawBitmapAABench.cpp1
-rw-r--r--bench/DrawLatticeBench.cpp1
-rw-r--r--bench/ImageFilterDAGBench.cpp1
-rw-r--r--bench/MagnifierBench.cpp1
-rw-r--r--bench/ReadPixBench.cpp1
-rw-r--r--bench/ShaderMaskBench.cpp1
-rw-r--r--bench/WritePixelsBench.cpp1
-rw-r--r--gm/bitmapimage.cpp1
-rw-r--r--gm/colorspacexform.cpp1
-rw-r--r--gm/composeshader.cpp1
-rw-r--r--gm/deferredtextureimage.cpp1
-rw-r--r--gm/encode-platform.cpp1
-rw-r--r--gm/encode-srgb.cpp1
-rw-r--r--gm/encode.cpp1
-rw-r--r--gm/gammaencodedpremul.cpp1
-rw-r--r--gm/subsetshader.cpp1
-rw-r--r--include/core/SkCanvas.h2
-rw-r--r--include/private/SkRecords.h1
-rw-r--r--samplecode/SampleAAGeometry.cpp1
-rw-r--r--samplecode/SampleAnimatedText.cpp1
-rw-r--r--samplecode/SampleLayerMask.cpp1
-rw-r--r--src/core/SkCanvas.cpp1
-rw-r--r--src/core/SkDraw.h1
-rw-r--r--src/core/SkLiteDL.cpp1
-rw-r--r--src/core/SkLiteDL.h1
-rw-r--r--src/core/SkPictureCommon.h1
-rw-r--r--src/core/SkRecord.cpp1
-rw-r--r--src/core/SkRecordDraw.cpp1
-rw-r--r--src/fonts/SkRandomScalerContext.cpp1
-rw-r--r--src/pdf/SkPDFCanvas.cpp1
-rw-r--r--src/utils/SkDumpCanvas.cpp1
-rw-r--r--src/utils/SkShadowUtils.cpp1
-rw-r--r--tests/CanvasStateTest.cpp1
-rw-r--r--tests/ClipCubicTest.cpp77
-rw-r--r--tests/ClipperTest.cpp1
-rw-r--r--tests/EmptyPathTest.cpp1
-rw-r--r--tests/HighContrastFilterTest.cpp1
-rw-r--r--tests/PictureBBHTest.cpp1
-rw-r--r--tests/SpecialSurfaceTest.cpp1
-rw-r--r--tools/debugger/SkDrawCommand.h1
-rw-r--r--tools/dump_record.cpp1
-rw-r--r--tools/ok.cpp1
-rw-r--r--tools/ok_srcs.cpp1
-rw-r--r--tools/ok_vias.cpp1
45 files changed, 39 insertions, 83 deletions
diff --git a/bench/ColorCanvasDrawBitmapBench.cpp b/bench/ColorCanvasDrawBitmapBench.cpp
index c150e7974b..de13ba2afc 100644
--- a/bench/ColorCanvasDrawBitmapBench.cpp
+++ b/bench/ColorCanvasDrawBitmapBench.cpp
@@ -6,7 +6,6 @@
*/
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkColorSpaceXformCanvas.h"
#include "SkString.h"
diff --git a/bench/DrawBitmapAABench.cpp b/bench/DrawBitmapAABench.cpp
index f0ccd89000..011c30a100 100644
--- a/bench/DrawBitmapAABench.cpp
+++ b/bench/DrawBitmapAABench.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkMatrix.h"
#include "SkPaint.h"
diff --git a/bench/DrawLatticeBench.cpp b/bench/DrawLatticeBench.cpp
index 7a8cdf3b3a..806815b21d 100644
--- a/bench/DrawLatticeBench.cpp
+++ b/bench/DrawLatticeBench.cpp
@@ -6,7 +6,6 @@
*/
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkRect.h"
#include "SkString.h"
diff --git a/bench/ImageFilterDAGBench.cpp b/bench/ImageFilterDAGBench.cpp
index 350510bf9d..719e87b58d 100644
--- a/bench/ImageFilterDAGBench.cpp
+++ b/bench/ImageFilterDAGBench.cpp
@@ -10,7 +10,6 @@
#include "SkBlurImageFilter.h"
#include "SkDisplacementMapEffect.h"
#include "SkCanvas.h"
-#include "SkImage.h"
#include "SkMergeImageFilter.h"
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp
index 6403aa6de7..98deade164 100644
--- a/bench/MagnifierBench.cpp
+++ b/bench/MagnifierBench.cpp
@@ -6,7 +6,6 @@
*/
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkMagnifierImageFilter.h"
#include "SkRandom.h"
diff --git a/bench/ReadPixBench.cpp b/bench/ReadPixBench.cpp
index 2a8e9c4df3..2efb19cc9b 100644
--- a/bench/ReadPixBench.cpp
+++ b/bench/ReadPixBench.cpp
@@ -6,7 +6,6 @@
*/
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
diff --git a/bench/ShaderMaskBench.cpp b/bench/ShaderMaskBench.cpp
index 1cc2347403..8fd99b6536 100644
--- a/bench/ShaderMaskBench.cpp
+++ b/bench/ShaderMaskBench.cpp
@@ -9,7 +9,6 @@
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkRandom.h"
-#include "SkShader.h"
#include "SkString.h"
#include "SkTemplates.h"
diff --git a/bench/WritePixelsBench.cpp b/bench/WritePixelsBench.cpp
index 4e2dbeba33..5d6787e25c 100644
--- a/bench/WritePixelsBench.cpp
+++ b/bench/WritePixelsBench.cpp
@@ -6,7 +6,6 @@
*/
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkString.h"
diff --git a/gm/bitmapimage.cpp b/gm/bitmapimage.cpp
index be17af8520..8c37d5da44 100644
--- a/gm/bitmapimage.cpp
+++ b/gm/bitmapimage.cpp
@@ -8,7 +8,6 @@
#include "gm.h"
#include "Resources.h"
#include "SkCodec.h"
-#include "SkImage.h"
namespace skiagm {
diff --git a/gm/colorspacexform.cpp b/gm/colorspacexform.cpp
index eb98b010d7..4657f6ad11 100644
--- a/gm/colorspacexform.cpp
+++ b/gm/colorspacexform.cpp
@@ -10,7 +10,6 @@
#include "SkColorSpace_Base.h"
#include "SkColorSpaceXform.h"
#include "SkRect.h"
-#include "SkShader.h"
class ColorSpaceXformGM : public skiagm::GM {
public:
diff --git a/gm/composeshader.cpp b/gm/composeshader.cpp
index a6210c9240..90fcedc970 100644
--- a/gm/composeshader.cpp
+++ b/gm/composeshader.cpp
@@ -10,7 +10,6 @@
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkGraphics.h"
-#include "SkImage.h"
#include "SkShader.h"
#include "SkString.h"
#include "SkTDArray.h"
diff --git a/gm/deferredtextureimage.cpp b/gm/deferredtextureimage.cpp
index 9c1fe6a6f2..c88b878ccb 100644
--- a/gm/deferredtextureimage.cpp
+++ b/gm/deferredtextureimage.cpp
@@ -7,7 +7,6 @@
#include <vector>
#include "gm.h"
-#include "SkImage.h"
#include "SkMipMap.h"
#include "Resources.h"
diff --git a/gm/encode-platform.cpp b/gm/encode-platform.cpp
index b6e0c1c1c3..f53ebc0d9a 100644
--- a/gm/encode-platform.cpp
+++ b/gm/encode-platform.cpp
@@ -10,7 +10,6 @@
#include "Resources.h"
#include "SkCanvas.h"
#include "SkData.h"
-#include "SkImage.h"
#include "SkImageEncoderPriv.h"
#include "SkJpegEncoder.h"
#include "SkUnPreMultiply.h"
diff --git a/gm/encode-srgb.cpp b/gm/encode-srgb.cpp
index bbaeaa7042..fef133212c 100644
--- a/gm/encode-srgb.cpp
+++ b/gm/encode-srgb.cpp
@@ -12,7 +12,6 @@
#include "SkCodec.h"
#include "SkColorSpace_Base.h"
#include "SkData.h"
-#include "SkImage.h"
#include "SkImageEncoderPriv.h"
#include "SkJpegEncoder.h"
#include "SkPM4f.h"
diff --git a/gm/encode.cpp b/gm/encode.cpp
index bf13d3dc09..1dae1bf042 100644
--- a/gm/encode.cpp
+++ b/gm/encode.cpp
@@ -8,7 +8,6 @@
#include "sk_tool_utils.h"
#include "SkCanvas.h"
#include "SkData.h"
-#include "SkImage.h"
#include "SkImageEncoder.h"
#include "Resources.h"
diff --git a/gm/gammaencodedpremul.cpp b/gm/gammaencodedpremul.cpp
index d55498b235..327368f879 100644
--- a/gm/gammaencodedpremul.cpp
+++ b/gm/gammaencodedpremul.cpp
@@ -6,7 +6,6 @@
*/
#include "gm.h"
-#include "SkColorPriv.h"
#include "SkColorSpaceXform.h"
#include "SkColorSpaceXformPriv.h"
#include "SkOpts.h"
diff --git a/gm/subsetshader.cpp b/gm/subsetshader.cpp
index a7029f481a..c4ef5f7a77 100644
--- a/gm/subsetshader.cpp
+++ b/gm/subsetshader.cpp
@@ -7,7 +7,6 @@
#include "Resources.h"
#include "SkBitmap.h"
-#include "SkShader.h"
#include "gm.h"
DEF_SIMPLE_GM(bitmap_subset_shader, canvas, 256, 256) {
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 87ae7f8e2a..a259e531f3 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -14,6 +14,7 @@
#include "SkPaint.h"
#include "SkRasterHandleAllocator.h"
#include "SkSurfaceProps.h"
+#include "SkLights.h"
class GrContext;
class GrRenderTargetContext;
@@ -26,7 +27,6 @@ class SkDrawable;
class SkDrawFilter;
class SkImage;
class SkImageFilter;
-class SkLights;
class SkMetaData;
class SkPath;
class SkPicture;
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h
index f26b6ba880..02d2108a4c 100644
--- a/include/private/SkRecords.h
+++ b/include/private/SkRecords.h
@@ -11,7 +11,6 @@
#include "SkData.h"
#include "SkCanvas.h"
#include "SkDrawable.h"
-#include "SkImage.h"
#include "SkImageFilter.h"
#include "SkMatrix.h"
#include "SkPath.h"
diff --git a/samplecode/SampleAAGeometry.cpp b/samplecode/SampleAAGeometry.cpp
index 69aa77fd12..6f6541b0d9 100644
--- a/samplecode/SampleAAGeometry.cpp
+++ b/samplecode/SampleAAGeometry.cpp
@@ -6,7 +6,6 @@
*/
#include "SampleCode.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkGeometry.h"
#include "SkIntersections.h"
diff --git a/samplecode/SampleAnimatedText.cpp b/samplecode/SampleAnimatedText.cpp
index 29bd192130..e70530ab96 100644
--- a/samplecode/SampleAnimatedText.cpp
+++ b/samplecode/SampleAnimatedText.cpp
@@ -11,7 +11,6 @@
#include "SkUtils.h"
#include "SkColorPriv.h"
#include "SkColorFilter.h"
-#include "SkImage.h"
#include "SkRandom.h"
#include "SkSystemEventTypes.h"
#include "SkTime.h"
diff --git a/samplecode/SampleLayerMask.cpp b/samplecode/SampleLayerMask.cpp
index b03942199b..f0c6a40dc2 100644
--- a/samplecode/SampleLayerMask.cpp
+++ b/samplecode/SampleLayerMask.cpp
@@ -6,7 +6,6 @@
*/
#include "SampleCode.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkPath.h"
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index b890ead9cf..5e33dbf371 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -20,7 +20,6 @@
#include "SkImageFilter.h"
#include "SkImageFilterCache.h"
#include "SkLatticeIter.h"
-#include "SkLights.h"
#include "SkMakeUnique.h"
#include "SkMatrixUtils.h"
#include "SkMetaData.h"
diff --git a/src/core/SkDraw.h b/src/core/SkDraw.h
index f2d5946c9e..b142e7edf7 100644
--- a/src/core/SkDraw.h
+++ b/src/core/SkDraw.h
@@ -13,7 +13,6 @@
#include "SkCanvas.h"
#include "SkMask.h"
#include "SkPaint.h"
-#include "SkPixmap.h"
#include "SkStrokeRec.h"
#include "SkVertices.h"
diff --git a/src/core/SkLiteDL.cpp b/src/core/SkLiteDL.cpp
index b3149a7d42..0162327d40 100644
--- a/src/core/SkLiteDL.cpp
+++ b/src/core/SkLiteDL.cpp
@@ -8,7 +8,6 @@
#include "SkCanvas.h"
#include "SkData.h"
#include "SkDrawFilter.h"
-#include "SkImage.h"
#include "SkImageFilter.h"
#include "SkLiteDL.h"
#include "SkMath.h"
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h
index c5df350957..270b2ef4ce 100644
--- a/src/core/SkLiteDL.h
+++ b/src/core/SkLiteDL.h
@@ -14,7 +14,6 @@
#include "SkDrawable.h"
#include "SkRect.h"
#include "SkTDArray.h"
-#include "SkTemplates.h"
class SkLiteDL final {
public:
diff --git a/src/core/SkPictureCommon.h b/src/core/SkPictureCommon.h
index a400264c7f..6f6a9f1fcf 100644
--- a/src/core/SkPictureCommon.h
+++ b/src/core/SkPictureCommon.h
@@ -14,7 +14,6 @@
#include "SkPathEffect.h"
#include "SkRecords.h"
-#include "SkShader.h"
#include "SkTLogic.h"
// N.B. This name is slightly historical: hunting season is now open for SkImages too.
diff --git a/src/core/SkRecord.cpp b/src/core/SkRecord.cpp
index 3553ff5b45..4df4131340 100644
--- a/src/core/SkRecord.cpp
+++ b/src/core/SkRecord.cpp
@@ -6,7 +6,6 @@
*/
#include "SkRecord.h"
-#include "SkImage.h"
#include <algorithm>
SkRecord::~SkRecord() {
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp
index e668cc874c..fbb7f7ce6a 100644
--- a/src/core/SkRecordDraw.cpp
+++ b/src/core/SkRecordDraw.cpp
@@ -6,7 +6,6 @@
*/
#include "SkRecordDraw.h"
-#include "SkImage.h"
#include "SkPatchUtils.h"
void SkRecordDraw(const SkRecord& record,
diff --git a/src/fonts/SkRandomScalerContext.cpp b/src/fonts/SkRandomScalerContext.cpp
index a38f695563..3a292dcd79 100644
--- a/src/fonts/SkRandomScalerContext.cpp
+++ b/src/fonts/SkRandomScalerContext.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkGlyph.h"
#include "SkMakeUnique.h"
diff --git a/src/pdf/SkPDFCanvas.cpp b/src/pdf/SkPDFCanvas.cpp
index c5cde3d113..d946f48197 100644
--- a/src/pdf/SkPDFCanvas.cpp
+++ b/src/pdf/SkPDFCanvas.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkImage.h"
#include "SkLatticeIter.h"
#include "SkPDFCanvas.h"
#include "SkPDFDevice.h"
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp
index 05cabadefe..35b88de595 100644
--- a/src/utils/SkDumpCanvas.cpp
+++ b/src/utils/SkDumpCanvas.cpp
@@ -7,7 +7,6 @@
#include "SkData.h"
#include "SkDumpCanvas.h"
-#include "SkImage.h"
#include "SkPatchUtils.h"
#include "SkPicture.h"
#include "SkPixelRef.h"
diff --git a/src/utils/SkShadowUtils.cpp b/src/utils/SkShadowUtils.cpp
index 279ca7338c..f3311cd268 100644
--- a/src/utils/SkShadowUtils.cpp
+++ b/src/utils/SkShadowUtils.cpp
@@ -8,7 +8,6 @@
#include "SkShadowUtils.h"
#include "SkCanvas.h"
#include "SkColorFilter.h"
-#include "SkColorPriv.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkResourceCache.h"
diff --git a/tests/CanvasStateTest.cpp b/tests/CanvasStateTest.cpp
index ae417d40b6..73c8a0e0b9 100644
--- a/tests/CanvasStateTest.cpp
+++ b/tests/CanvasStateTest.cpp
@@ -6,7 +6,6 @@
*/
#include "CanvasStateHelpers.h"
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkClipOpPriv.h"
#include "SkCanvasStateUtils.h"
diff --git a/tests/ClipCubicTest.cpp b/tests/ClipCubicTest.cpp
index 854ac32dd1..1d88eaeaf7 100644
--- a/tests/ClipCubicTest.cpp
+++ b/tests/ClipCubicTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkCubicClipper.h"
#include "SkGeometry.h"
@@ -166,41 +165,41 @@ DEF_TEST(ClipCubic, reporter) {
#include "SkSurface.h"
-DEF_TEST(test_fuzz_crbug_698714, reporter) {
- auto surface(SkSurface::MakeRasterN32Premul(500, 500));
- SkCanvas* canvas = surface->getCanvas();
- SkPaint paint;
- paint.setAntiAlias(true);
- SkPath path;
- path.setFillType(SkPath::kWinding_FillType);
- path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0,0
- path.lineTo(SkBits2Float(0x43434343), SkBits2Float(0x43430143)); //195.263f, 195.005f
- path.lineTo(SkBits2Float(0x43434343), SkBits2Float(0x43434343)); //195.263f, 195.263f
- path.lineTo(SkBits2Float(0xb5434343), SkBits2Float(0x434300be)); //-7.2741e-07f, 195.003f
- // 195.263f, 195.263f, -1.16387e-05f, 3.58641e-38f, 3.85088e-29f,1.86082e-39f
- path.cubicTo(SkBits2Float(0x43434343), SkBits2Float(0x43434341),
- SkBits2Float(0xb74343bd), SkBits2Float(0x01434343),
- SkBits2Float(0x10434343), SkBits2Float(0x00144332));
- // 4.11823e-38f, 195.263f, 195.263f, 195.263f, -7.2741e-07f, 195.263f
- path.cubicTo(SkBits2Float(0x016037c0), SkBits2Float(0x43434343),
- SkBits2Float(0x43434343), SkBits2Float(0x43434343),
- SkBits2Float(0xb5434343), SkBits2Float(0x43434343));
- // 195.263f, 195.263f, -1.16387e-05f, 3.58641e-38f, 195.263f, -2
- path.cubicTo(SkBits2Float(0x43434344), SkBits2Float(0x43434341),
- SkBits2Float(0xb74343bd), SkBits2Float(0x01434343),
- SkBits2Float(0x43434343), SkBits2Float(0xc0000014));
- // -5.87228e+06f, 3.7773e-07f, 3.60231e-13f, -6.64511e+06f,2.77692e-15f, 2.48803e-15f
- path.cubicTo(SkBits2Float(0xcab33535), SkBits2Float(0x34cacaca),
- SkBits2Float(0x2acacaca), SkBits2Float(0xcacacae3),
- SkBits2Float(0x27481927), SkBits2Float(0x27334805));
- path.lineTo(SkBits2Float(0xb5434343), SkBits2Float(0x43434343)); //-7.2741e-07f, 195.263f
- // 195.263f, 195.263f, -1.16387e-05f, 195.212f, 195.263f, -2
- path.cubicTo(SkBits2Float(0x43434343), SkBits2Float(0x43434341),
- SkBits2Float(0xb74343b9), SkBits2Float(0x43433643),
- SkBits2Float(0x43434343), SkBits2Float(0xc0000014));
- path.lineTo(SkBits2Float(0xc7004343), SkBits2Float(0x27480527)); //-32835.3f, 2.77584e-15f
- path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0,0
- path.close();
- canvas->clipRect({0, 0, 65, 202});
- canvas->drawPath(path, paint);
-}
+DEF_TEST(test_fuzz_crbug_698714, reporter) {
+ auto surface(SkSurface::MakeRasterN32Premul(500, 500));
+ SkCanvas* canvas = surface->getCanvas();
+ SkPaint paint;
+ paint.setAntiAlias(true);
+ SkPath path;
+ path.setFillType(SkPath::kWinding_FillType);
+ path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0,0
+ path.lineTo(SkBits2Float(0x43434343), SkBits2Float(0x43430143)); //195.263f, 195.005f
+ path.lineTo(SkBits2Float(0x43434343), SkBits2Float(0x43434343)); //195.263f, 195.263f
+ path.lineTo(SkBits2Float(0xb5434343), SkBits2Float(0x434300be)); //-7.2741e-07f, 195.003f
+ // 195.263f, 195.263f, -1.16387e-05f, 3.58641e-38f, 3.85088e-29f,1.86082e-39f
+ path.cubicTo(SkBits2Float(0x43434343), SkBits2Float(0x43434341),
+ SkBits2Float(0xb74343bd), SkBits2Float(0x01434343),
+ SkBits2Float(0x10434343), SkBits2Float(0x00144332));
+ // 4.11823e-38f, 195.263f, 195.263f, 195.263f, -7.2741e-07f, 195.263f
+ path.cubicTo(SkBits2Float(0x016037c0), SkBits2Float(0x43434343),
+ SkBits2Float(0x43434343), SkBits2Float(0x43434343),
+ SkBits2Float(0xb5434343), SkBits2Float(0x43434343));
+ // 195.263f, 195.263f, -1.16387e-05f, 3.58641e-38f, 195.263f, -2
+ path.cubicTo(SkBits2Float(0x43434344), SkBits2Float(0x43434341),
+ SkBits2Float(0xb74343bd), SkBits2Float(0x01434343),
+ SkBits2Float(0x43434343), SkBits2Float(0xc0000014));
+ // -5.87228e+06f, 3.7773e-07f, 3.60231e-13f, -6.64511e+06f,2.77692e-15f, 2.48803e-15f
+ path.cubicTo(SkBits2Float(0xcab33535), SkBits2Float(0x34cacaca),
+ SkBits2Float(0x2acacaca), SkBits2Float(0xcacacae3),
+ SkBits2Float(0x27481927), SkBits2Float(0x27334805));
+ path.lineTo(SkBits2Float(0xb5434343), SkBits2Float(0x43434343)); //-7.2741e-07f, 195.263f
+ // 195.263f, 195.263f, -1.16387e-05f, 195.212f, 195.263f, -2
+ path.cubicTo(SkBits2Float(0x43434343), SkBits2Float(0x43434341),
+ SkBits2Float(0xb74343b9), SkBits2Float(0x43433643),
+ SkBits2Float(0x43434343), SkBits2Float(0xc0000014));
+ path.lineTo(SkBits2Float(0xc7004343), SkBits2Float(0x27480527)); //-32835.3f, 2.77584e-15f
+ path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0x00000000)); // 0,0
+ path.close();
+ canvas->clipRect({0, 0, 65, 202});
+ canvas->drawPath(path, paint);
+}
diff --git a/tests/ClipperTest.cpp b/tests/ClipperTest.cpp
index 641ed013be..8ebd9b479f 100644
--- a/tests/ClipperTest.cpp
+++ b/tests/ClipperTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkEdgeClipper.h"
#include "SkLineClipper.h"
diff --git a/tests/EmptyPathTest.cpp b/tests/EmptyPathTest.cpp
index 5b857a0119..060ef8d237 100644
--- a/tests/EmptyPathTest.cpp
+++ b/tests/EmptyPathTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "Test.h"
diff --git a/tests/HighContrastFilterTest.cpp b/tests/HighContrastFilterTest.cpp
index 7c3fc84c25..26f1a7c1f4 100644
--- a/tests/HighContrastFilterTest.cpp
+++ b/tests/HighContrastFilterTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkHighContrastFilter.h"
#include "Test.h"
diff --git a/tests/PictureBBHTest.cpp b/tests/PictureBBHTest.cpp
index 0bc81c2934..64b09b1e03 100644
--- a/tests/PictureBBHTest.cpp
+++ b/tests/PictureBBHTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkBBoxHierarchy.h"
#include "SkPaint.h"
diff --git a/tests/SpecialSurfaceTest.cpp b/tests/SpecialSurfaceTest.cpp
index a336cf669d..1867e2514a 100644
--- a/tests/SpecialSurfaceTest.cpp
+++ b/tests/SpecialSurfaceTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file
*/
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkSpecialImage.h"
#include "SkSpecialSurface.h"
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h
index 1b3d9abf32..fc2f45adef 100644
--- a/tools/debugger/SkDrawCommand.h
+++ b/tools/debugger/SkDrawCommand.h
@@ -8,7 +8,6 @@
#ifndef SKDRAWCOMMAND_H_
#define SKDRAWCOMMAND_H_
-#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkTLazy.h"
#include "SkPath.h"
diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp
index 24017bd6c9..c1b87e7535 100644
--- a/tools/dump_record.cpp
+++ b/tools/dump_record.cpp
@@ -6,7 +6,6 @@
*/
#include "DumpRecord.h"
-#include "SkBitmap.h"
#include "SkCommandLineFlags.h"
#include "SkDeferredCanvas.h"
#include "SkPicture.h"
diff --git a/tools/ok.cpp b/tools/ok.cpp
index edda9bede0..10f9afdbe0 100644
--- a/tools/ok.cpp
+++ b/tools/ok.cpp
@@ -10,7 +10,6 @@
// * ok is entirely opt-in. No more maintaining huge --blacklists.
#include "SkGraphics.h"
-#include "SkImage.h"
#include "ok.h"
#include <chrono>
#include <future>
diff --git a/tools/ok_srcs.cpp b/tools/ok_srcs.cpp
index 5630a34595..fd5f201cac 100644
--- a/tools/ok_srcs.cpp
+++ b/tools/ok_srcs.cpp
@@ -7,7 +7,6 @@
#include "ok.h"
#include "gm.h"
-#include "SkData.h"
#include "SkOSFile.h"
#include "SkPicture.h"
#include <vector>
diff --git a/tools/ok_vias.cpp b/tools/ok_vias.cpp
index 20779cfd78..17e117a7f9 100644
--- a/tools/ok_vias.cpp
+++ b/tools/ok_vias.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkImage.h"
#include "SkOSFile.h"
#include "SkPictureRecorder.h"
#include "ok.h"