Revert of IWYU: 'core' target, files starting A-C. (patchset #5 id:80001 of https...
authorreed <reed@chromium.org>
Wed, 5 Aug 2015 01:44:56 +0000 (18:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Aug 2015 01:44:57 +0000 (18:44 -0700)
Reason for revert:
revert to unblock DEPS roll

../../chrome/browser/chromeos/display/overscan_calibrator.cc:43:10: error: variable has incomplete type 'SkPath'
  SkPath base_path;

Original issue's description:
> IWYU: 'core' target, files starting A-C.
>
> TBR=reed@google.com
> Verbal lgtm, does not change API.
>
> Committed: https://skia.googlesource.com/skia/+/7403d87db8e43d4c2b5b25ac22a0ebc22bd09d69

TBR=reed@google.com,mtklein@google.com,bungeman@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1273613002

111 files changed:
bench/AlternatingColorPatternBench.cpp
bench/BezierBench.cpp
bench/ChartBench.cpp
bench/HairlinePathBench.cpp
bench/PathBench.cpp
bench/PathIterBench.cpp
bench/RectoriBench.cpp
bench/SKPBench.h
gm/aarectmodes.cpp
gm/aaxfermodes.cpp
gm/beziers.cpp
gm/bigblurs.cpp
gm/bigmatrix.cpp
gm/bitmaprecttest.cpp
gm/blurs.cpp
gm/complexclip2.cpp
gm/concavepaths.cpp
gm/conicpaths.cpp
gm/convexpaths.cpp
gm/convexpolyclip.cpp
gm/cubicpaths.cpp
gm/degeneratesegments.cpp
gm/drawable.cpp
gm/dstreadshuffle.cpp
gm/emptypath.cpp
gm/filltypes.cpp
gm/filltypespersp.cpp
gm/getpostextpath.cpp
gm/hairlines.cpp
gm/hittestpath.cpp
gm/linepaths.cpp
gm/nested.cpp
gm/pathfill.cpp
gm/pathinterior.cpp
gm/plus.cpp
gm/poly2poly.cpp
gm/quadpaths.cpp
gm/samplerstress.cpp
gm/shadertext.cpp
gm/shadertext2.cpp
gm/shadows.cpp
gm/simpleaaclip.cpp
gm/skbug1719.cpp
gm/smallarc.cpp
gm/srcmode.cpp
gm/stlouisarch.cpp
gm/strokes.cpp
include/core/SkAnnotation.h
include/core/SkBBHFactory.h
include/core/SkBitmapDevice.h
include/core/SkCanvas.h
include/core/SkColor.h
include/core/SkColorFilter.h
include/core/SkDevice.h
include/core/SkPostConfig.h
include/core/SkPreConfig.h
include/core/SkTypes.h
include/private/SkRecords.h
include/utils/SkNWayCanvas.h
samplecode/SampleAAClip.cpp
samplecode/SampleChart.cpp
samplecode/SampleCircle.cpp
samplecode/SampleClip.cpp
samplecode/SampleClipDrawMatch.cpp
samplecode/SampleClock.cpp
samplecode/SampleDitherBitmap.cpp
samplecode/SampleEmptyPath.cpp
samplecode/SampleFilterQuality.cpp
samplecode/SampleIdentityScale.cpp
samplecode/SampleLayerMask.cpp
samplecode/SamplePathFuzz.cpp
samplecode/SampleShaderText.cpp
samplecode/SampleStringArt.cpp
src/core/SkAdvancedTypefaceMetrics.cpp
src/core/SkAnnotation.cpp
src/core/SkBBHFactory.cpp
src/core/SkBitmap.cpp
src/core/SkBitmapDevice.cpp
src/core/SkBitmapFilter.cpp
src/core/SkBitmapFilter.h
src/core/SkBitmapHeap.cpp
src/core/SkBitmapHeap.h
src/core/SkBitmapScaler.cpp
src/core/SkBlitter.cpp
src/core/SkBlitter.h
src/core/SkBuffer.cpp
src/core/SkBuffer.h
src/core/SkCachedData.cpp
src/core/SkCachedData.h
src/core/SkCanvas.cpp
src/core/SkColor.cpp
src/core/SkColorFilter.cpp
src/core/SkMaskFilter.cpp
src/core/SkMiniRecorder.cpp
src/core/SkPictureImageGenerator.cpp
src/pdf/SkPDFDevice.h
src/ports/SkFontHost_FreeType.cpp
src/svg/SkSVGDevice.cpp
src/utils/SkDeferredCanvas.cpp
src/utils/android/SkAndroidSDKCanvas.cpp
src/utils/debugger/SkDebugCanvas.cpp
src/utils/debugger/SkDebugCanvas.h
src/utils/debugger/SkDrawCommand.h
src/utils/debugger/SkObjectParser.cpp
tests/AAClipTest.cpp
tests/BlurTest.cpp
tests/CanvasStateTest.cpp
tests/ClipCubicTest.cpp
tests/DeferredCanvasTest.cpp
tests/DrawBitmapRectTest.cpp
tests/SurfaceTest.cpp

index cbf5034..8484954 100644 (file)
@@ -9,7 +9,6 @@
 #include "SkCanvas.h"
 #include "SkGradientShader.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkString.h"
 
 enum ColorPattern {
index 73c9cb5..ec83d95 100755 (executable)
@@ -8,7 +8,6 @@
 #include "Benchmark.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkString.h"
 
 struct BezierRec {
index 61f97a2..0cc02b0 100644 (file)
@@ -8,9 +8,7 @@
 #include "Benchmark.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
-#include "SkTDArray.h"
 
 /**
  * This is a conversion of samplecode/SampleChart.cpp into a bench. It sure would be nice to be able
index 0e12d70..e421ce0 100644 (file)
@@ -8,7 +8,6 @@
 #include "Benchmark.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkShader.h"
 #include "SkString.h"
index f2e84c2..ffec90b 100644 (file)
@@ -1,16 +1,15 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "Benchmark.h"
 #include "SkBitmap.h"
 #include "SkCanvas.h"
 #include "SkColorPriv.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkShader.h"
 #include "SkString.h"
index 2da2594..bbc3c03 100644 (file)
@@ -10,7 +10,6 @@
 #include "SkCanvas.h"
 #include "SkColorPriv.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkShader.h"
 #include "SkString.h"
index 8752a34..b777fbe 100644 (file)
@@ -10,7 +10,6 @@
 #include "SkCanvas.h"
 #include "SkLayerDrawLooper.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 // This bench replicates a problematic use case of a draw looper used
index 05b5857..e1c66bf 100644 (file)
@@ -11,9 +11,6 @@
 #include "Benchmark.h"
 #include "SkCanvas.h"
 #include "SkPicture.h"
-#include "SkTDArray.h"
-
-class SkSurface;
 
 /**
  * Runs an SkPicture as a benchmark by repeatedly drawing it scaled inside a device clip.
index e0df7d8..7cf5a83 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkColorPriv.h"
-#include "SkPath.h"
 #include "SkShader.h"
 
 static void test4(SkCanvas* canvas) {
index d33423a..8e66b43 100644 (file)
@@ -7,7 +7,6 @@
  */
 #include "gm.h"
 #include "SkArithmeticMode.h"
-#include "SkPath.h"
 #include "SkShader.h"
 #include "SkXfermode.h"
 
index 68960ed..3dd8fa7 100755 (executable)
@@ -6,7 +6,6 @@
  */
 
 #include "gm.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 #define W   400
index 5500005..a92c7fe 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2013 Google Inc.
  *
@@ -8,7 +9,6 @@
 #include "gm.h"
 #include "SkBlurMask.h"
 #include "SkBlurMaskFilter.h"
-#include "SkPath.h"
 
 namespace skiagm {
 
index c7c3b0d..abe0f4e 100644 (file)
@@ -1,14 +1,13 @@
+
 /*
  * Copyright 2012 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
 
 #include "SkColorPriv.h"
-#include "SkPath.h"
 #include "SkShader.h"
 
 namespace skiagm {
index 630c90c..6f2ccf2 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "gm.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 
 static void make_bm(SkBitmap* bm) {
     bm->allocN32Pixels(60, 60);
index 8f95f00..b1af685 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkBlurMask.h"
 #include "SkBlurMaskFilter.h"
-#include "SkPath.h"
 
 class BlursGM : public skiagm::GM {
 public:
index 4314619..9357884 100644 (file)
@@ -10,8 +10,6 @@
 #include "SkCanvas.h"
 #include "SkPath.h"
 #include "SkRandom.h"
-#include "SkRect.h"
-#include "SkRRect.h"
 
 namespace skiagm {
 
index 37635f8..46b2ef4 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "gm.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 
 #define WIDTH 400
 #define HEIGHT 600
index 2bdd1f8..717dd8e 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "gm.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkTArray.h"
 
 class ConicPathsGM : public skiagm::GM {
index 4180884..889d65b 100644 (file)
@@ -6,7 +6,6 @@
  * found in the LICENSE file.
  */
 #include "gm.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkTArray.h"
 
index 2ed17f2..0478b51 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "SkBitmap.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
 #include "SkTLList.h"
 
 static SkBitmap make_bmp(int w, int h) {
index 74fbe8d..b3fca5a 100644 (file)
@@ -4,11 +4,9 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 // skbug.com/1316 shows that this cubic, when slightly clipped, creates big
index d516490..df111ac 100644 (file)
@@ -7,7 +7,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 namespace skiagm {
index c7bc761..3847ba5 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkDrawable.h"
-#include "SkPath.h"
 
 struct MyDrawable : public SkDrawable {
     SkRect onGetBounds() override { return SkRect::MakeWH(50, 100);  }
index 8ff40a8..8cdccbc 100644 (file)
@@ -7,7 +7,6 @@
  */
 #include "gm.h"
 #include "SkBitmap.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkShader.h"
 #include "SkXfermode.h"
index 36edf4e..ec60bfc 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 namespace skiagm {
index b470c05..f01f9bd 100644 (file)
@@ -1,12 +1,11 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
-#include "SkPath.h"
 
 namespace skiagm {
 
index cc09b95..92fce3a 100644 (file)
@@ -1,13 +1,12 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
 
 namespace skiagm {
 
index faace24..2286602 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkTemplates.h"
 
index 9d7e366..6056415 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "gm.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkTArray.h"
 
 namespace skiagm {
index b5f01cd..f415ba3 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkCullPoints.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 static void test_hittest(SkCanvas* canvas, const SkPath& path) {
index 0c99fa7..e8a4b0b 100644 (file)
@@ -4,10 +4,8 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkPaint.h"
 #include "SkRandom.h"
 
index d3b75b3..9040ba6 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include "gm.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkRRect.h"
 
index a2b1ee0..1260654 100644 (file)
@@ -1,12 +1,11 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
-#include "SkPath.h"
 
 typedef SkScalar (*MakePathProc)(SkPath*);
 
index f1cbfc4..88efb3a 100644 (file)
@@ -6,12 +6,11 @@
  */
 
 #include "gm.h"
-#include "SkBlurMaskFilter.h"
 #include "SkCanvas.h"
 #include "SkGraphics.h"
-#include "SkLayerDrawLooper.h"
-#include "SkPath.h"
 #include "SkRandom.h"
+#include "SkLayerDrawLooper.h"
+#include "SkBlurMaskFilter.h"
 
 static SkRect inset(const SkRect& r) {
     SkRect rect = r;
index 6a5af61..ba2a1a0 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include "gm.h"
-#include "SkPath.h"
 
 DEF_SIMPLE_GM(PlusMergesAA, canvas, 256, 256) {
     SkPaint p;
index ea77033..c1d9b7e 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "gm.h"
 #include "Resources.h"
-#include "SkPath.h"
 #include "SkTypeface.h"
 
 class SkJSCanvas {
index 359f62d..2fab37b 100644 (file)
@@ -4,11 +4,9 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 namespace skiagm {
index eff6281..7f85e17 100644 (file)
@@ -6,10 +6,9 @@
  */
 
 #include "gm.h"
-#include "SkBlurMaskFilter.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkShader.h"
+#include "SkBlurMaskFilter.h"
 
 namespace skiagm {
 
index fd74e7c..2bb4e96 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
 
 namespace skiagm {
 
index f4af684..4d697d9 100644 (file)
@@ -7,7 +7,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
 
 namespace skiagm {
 
index 82b5fd9..729104c 100644 (file)
@@ -1,14 +1,13 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "gm.h"
-#include "SkBlurDrawLooper.h"
 #include "SkBlurMask.h"
-#include "SkPath.h"
+#include "SkBlurDrawLooper.h"
 
 namespace skiagm {
 
index 372cb1b..8054a53 100644 (file)
@@ -5,10 +5,10 @@
  * found in the LICENSE file.
  */
 
+
 #include "gm.h"
-#include "SkAAClip.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
+#include "SkAAClip.h"
 
 namespace skiagm {
 
index 0a75d35..6652629 100644 (file)
@@ -6,9 +6,8 @@
  */
 
 #include "gm.h"
-#include "SkBlurMaskFilter.h"
 #include "SkColorFilter.h"
-#include "SkPath.h"
+#include "SkBlurMaskFilter.h"
 
 namespace skiagm {
 
index 2109b90..76611b7 100755 (executable)
@@ -6,7 +6,6 @@
  */
 
 #include "gm.h"
-#include "SkPath.h"
 
 namespace skiagm {
 
index 7a7e89e..ec2673f 100644 (file)
@@ -8,7 +8,6 @@
 #include "gm.h"
 #include "SkCanvas.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
 #include "SkSurface.h"
 
 #if SK_SUPPORT_GPU
index 7b31e54..176fb4b 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "gm.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkTArray.h"
 
 namespace skiagm {
index 7382390..77638e4 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
@@ -5,8 +6,9 @@
  * found in the LICENSE file.
  */
 
+
+
 #include "gm.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 #define W   400
index 62c844a..d7b9b84 100644 (file)
 
 #include "SkRefCnt.h"
 #include "SkString.h"
-#include "SkTypes.h"
 
 class SkData;
 class SkReadBuffer;
 class SkWriteBuffer;
+class SkStream;
+class SkWStream;
 struct SkPoint;
 
 /**
index ca70404..f0c49f1 100644 (file)
@@ -8,9 +8,9 @@
 #ifndef SkBBHFactory_DEFINED
 #define SkBBHFactory_DEFINED
 
-#include "SkTypes.h"
+#include "SkRect.h"
+
 class SkBBoxHierarchy;
-struct SkRect;
 
 class SK_API SkBBHFactory {
 public:
index d1cb9ad..ae637f9 100644 (file)
@@ -9,28 +9,7 @@
 #ifndef SkBitmapDevice_DEFINED
 #define SkBitmapDevice_DEFINED
 
-#include "SkBitmap.h"
-#include "SkCanvas.h"
-#include "SkColor.h"
 #include "SkDevice.h"
-#include "SkImageFilter.h"
-#include "SkImageInfo.h"
-#include "SkRect.h"
-#include "SkScalar.h"
-#include "SkSize.h"
-#include "SkSurfaceProps.h"
-#include "SkTypes.h"
-
-class SkDraw;
-class SkMatrix;
-class SkPaint;
-class SkPath;
-class SkPixelRef;
-class SkPixmap;
-class SkRRect;
-class SkSurface;
-class SkXfermode;
-struct SkPoint;
 
 ///////////////////////////////////////////////////////////////////////////////
 class SK_API SkBitmapDevice : public SkBaseDevice {
index bc39ec2..45f5c9c 100644 (file)
 #include "SkTypes.h"
 #include "SkBitmap.h"
 #include "SkDeque.h"
+#include "SkClipStack.h"
 #include "SkPaint.h"
 #include "SkRefCnt.h"
+#include "SkPath.h"
 #include "SkRegion.h"
 #include "SkSurfaceProps.h"
 #include "SkXfermode.h"
 
-class GrContext;
-class GrRenderTarget;
 class SkBaseDevice;
 class SkCanvasClipVisitor;
-class SkClipStack;
 class SkDraw;
 class SkDrawable;
 class SkDrawFilter;
 class SkImage;
-class SkImageFilter;
 class SkMetaData;
-class SkPath;
 class SkPicture;
-class SkPixmap;
 class SkRRect;
 struct SkRSXform;
 class SkSurface;
 class SkSurface_Base;
 class SkTextBlob;
+class GrContext;
+class GrRenderTarget;
+
+class SkCanvasState;
 
 /** \class SkCanvas
 
index 1ba1331..4c1f9ff 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2006 The Android Open Source Project
  *
@@ -5,11 +6,11 @@
  * found in the LICENSE file.
  */
 
+
 #ifndef SkColor_DEFINED
 #define SkColor_DEFINED
 
 #include "SkScalar.h"
-#include "SkTypes.h"
 
 /** \file SkColor.h
 
index df006ed..729eb46 100644 (file)
 #include "SkTDArray.h"
 #include "SkXfermode.h"
 
+class SkBitmap;
+class GrProcessor;
 class GrContext;
-class GrFragmentProcessor;
 class GrProcessorDataManager;
-class SkBitmap;
 
 /**
  *  ColorFilters are optional objects in the drawing pipeline. When present in
index 3715b1d..461f424 100644 (file)
@@ -9,12 +9,12 @@
 #define SkDevice_DEFINED
 
 #include "SkRefCnt.h"
+#include "SkBitmap.h"
 #include "SkCanvas.h"
 #include "SkColor.h"
 #include "SkImageFilter.h"
 #include "SkSurfaceProps.h"
 
-class SkBitmap;
 class SkClipStack;
 class SkDraw;
 class SkDrawFilter;
index 8ff1f06..6f3e2d1 100644 (file)
@@ -5,8 +5,6 @@
  * found in the LICENSE file.
  */
 
-// IWYU pragma: private, include "SkTypes.h"
-
 #ifndef SkPostConfig_DEFINED
 #define SkPostConfig_DEFINED
 
index 0715fc9..b590825 100644 (file)
@@ -5,8 +5,6 @@
  * found in the LICENSE file.
  */
 
-// IWYU pragma: private, include "SkTypes.h"
-
 #ifndef SkPreConfig_DEFINED
 #define SkPreConfig_DEFINED
 
index 2e49511..1a165a1 100644 (file)
@@ -145,7 +145,6 @@ inline void operator delete(void* p) {
     #define SK_TO_STRING_PUREVIRT()
     #define SK_TO_STRING_OVERRIDE()
 #else
-    class SkString;
     // the 'toString' helper functions convert Sk* objects to human-readable
     // form in developer mode
     #define SK_TO_STRING_NONVIRT() void toString(SkString* str) const;
index 1f28078..eefb83d 100644 (file)
 #include "SkCanvas.h"
 #include "SkDrawable.h"
 #include "SkMatrix.h"
-#include "SkPath.h"
 #include "SkPicture.h"
-#include "SkRect.h"
-#include "SkRRect.h"
 #include "SkRSXform.h"
 #include "SkTextBlob.h"
 
index a60836b..1fc993f 100644 (file)
@@ -10,7 +10,6 @@
 #define SkNWayCanvas_DEFINED
 
 #include "SkCanvas.h"
-#include "SkTDArray.h"
 
 class SK_API SkNWayCanvas : public SkCanvas {
 public:
index 78baf3d..a1ee67b 100644 (file)
@@ -7,10 +7,9 @@
  */
 
 #include "SampleCode.h"
-#include "SkAAClip.h"
-#include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkView.h"
+#include "SkCanvas.h"
+#include "SkAAClip.h"
 
 static void testop(const SkIRect& r0, const SkIRect& r1, SkRegion::Op op,
                    const SkIRect& expectedR) {
index 8d158f1..4c128a9 100644 (file)
@@ -8,7 +8,6 @@
 #include "SampleCode.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkView.h"
 
index 938b575..9cc927e 100644 (file)
@@ -1,16 +1,15 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "SampleCode.h"
+#include "SkView.h"
 #include "SkCanvas.h"
 #include "SkDevice.h"
 #include "SkPaint.h"
-#include "SkPath.h"
-#include "SkView.h"
 
 // ensure that we don't accidentally screw up the bounds when the oval is
 // fractional, and the impl computes the center and radii, and uses them to
index 2014278..3a38724 100644 (file)
@@ -11,7 +11,6 @@
 #include "SkColorPriv.h"
 #include "SkDevice.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 
 #define W   150
index c79c872..6a2a37b 100644 (file)
@@ -8,8 +8,6 @@
 #include "SampleCode.h"
 #include "SkCanvas.h"
 #include "SkInterpolator.h"
-#include "SkPath.h"
-#include "SkRRect.h"
 #include "SkTime.h"
 
 // This slide tests out the match up between BW clipping and rendering. It can
index 9b1e3e0..ec71f0f 100644 (file)
@@ -7,7 +7,6 @@
 #include "SampleCode.h"
 
 #include "SkCanvas.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkRRect.h"
 #include "SkTime.h"
index 9af5ce5..d825c71 100644 (file)
@@ -1,17 +1,16 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "SampleCode.h"
-#include "SkCanvas.h"
 #include "SkColorPriv.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
-#include "SkUtils.h"
 #include "SkView.h"
+#include "SkCanvas.h"
+#include "SkUtils.h"
 
 static void draw_rect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) {
     canvas->drawRect(r, p);
index 6071f42..53e2199 100644 (file)
@@ -1,15 +1,14 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "SampleCode.h"
 #include "SkView.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkString.h"
 
index 12a04a6..64b7f55 100644 (file)
@@ -12,7 +12,6 @@
 #include "SkAnimTimer.h"
 #include "SkCanvas.h"
 #include "SkInterpolator.h"
-#include "SkPath.h"
 #include "SkSurface.h"
 #include "SkRandom.h"
 #include "SkTime.h"
index 3302d27..4450d61 100644 (file)
@@ -13,7 +13,6 @@
 #include "SkCanvas.h"
 #include "SkColorPriv.h"
 #include "SkImageDecoder.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkStream.h"
 #include "SkTime.h"
index f5b8822..86a092c 100644 (file)
@@ -1,14 +1,13 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "SampleCode.h"
 #include "SkCanvas.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkView.h"
 
 ///////////////////////////////////////////////////////////////////////////////
index 70a052f..0955ce9 100644 (file)
@@ -14,7 +14,6 @@
 #include "SkColor.h"
 #include "SkTDArray.h"
 #include "SkRandom.h"
-#include "SkRRect.h"
 
 enum RandomAddPath {
     kMoveToPath,
index cf7cf96..9fdae84 100644 (file)
@@ -6,10 +6,9 @@
  */
 
 #include "SampleCode.h"
+#include "SkView.h"
 #include "SkCanvas.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
-#include "SkView.h"
 
 static void makebm(SkBitmap* bm, int w, int h) {
     bm->allocN32Pixels(w, h);
index 5bc667b..0e711b0 100644 (file)
@@ -4,10 +4,8 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #include "SampleCode.h"
 #include "SkCanvas.h"
-#include "SkPath.h"
 
 // Reproduces https://code.google.com/p/chromium/issues/detail?id=279014
 
index 81e98f3..f9b25dc 100644 (file)
@@ -16,7 +16,7 @@
 
 #if defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
 // forward declare structs needed for getAdvanceData() template for freetype
-struct FT_FaceRec_;
+struct FT_FaceRec;
 typedef struct FT_FaceRec_* FT_Face;
 #endif
 
index aa7a02a..bddff64 100644 (file)
@@ -7,10 +7,10 @@
 
 #include "SkAnnotation.h"
 #include "SkData.h"
-#include "SkPaint.h"
-#include "SkPoint.h"
 #include "SkReadBuffer.h"
 #include "SkWriteBuffer.h"
+#include "SkPoint.h"
+#include "SkStream.h"
 
 SkAnnotation::SkAnnotation(const char key[], SkData* value) : fKey(key) {
     if (NULL == value) {
index a4c7f4f..ce5026c 100644 (file)
@@ -6,9 +6,7 @@
  */
 
 #include "SkBBHFactory.h"
-#include "SkRect.h"
 #include "SkRTree.h"
-#include "SkScalar.h"
 
 SkBBoxHierarchy* SkRTreeFactory::operator()(const SkRect& bounds) const {
     SkScalar aspectRatio = bounds.width() / bounds.height();
index 97b0db6..aa26bdc 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2008 The Android Open Source Project
  *
@@ -5,22 +6,23 @@
  * found in the LICENSE file.
  */
 
+
 #include "SkAtomics.h"
 #include "SkBitmap.h"
 #include "SkColorPriv.h"
-#include "SkData.h"
-#include "SkFilterQuality.h"
+#include "SkDither.h"
+#include "SkFlattenable.h"
+#include "SkImagePriv.h"
 #include "SkMallocPixelRef.h"
 #include "SkMask.h"
-#include "SkMath.h"
+#include "SkPackBits.h"
 #include "SkPixelRef.h"
 #include "SkReadBuffer.h"
-#include "SkRect.h"
-#include "SkScalar.h"
 #include "SkUnPreMultiply.h"
+#include "SkUtils.h"
+#include "SkValidationUtils.h"
 #include "SkWriteBuffer.h"
-
-#include <string.h>
+#include <new>
 
 static bool reset_return_false(SkBitmap* bm) {
     bm->reset();
@@ -747,6 +749,9 @@ bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const {
 
 ///////////////////////////////////////////////////////////////////////////////
 
+#include "SkCanvas.h"
+#include "SkPaint.h"
+
 bool SkBitmap::canCopyTo(SkColorType dstColorType) const {
     const SkColorType srcCT = this->colorType();
 
@@ -1216,7 +1221,6 @@ void SkBitmap::validate() const {
 #endif
 
 #ifndef SK_IGNORE_TO_STRING
-#include "SkString.h"
 void SkBitmap::toString(SkString* str) const {
 
     static const char* gColorTypeNames[kLastEnum_SkColorType + 1] = {
index dfe1756..9da43d8 100644 (file)
@@ -8,16 +8,10 @@
 #include "SkBitmapDevice.h"
 #include "SkConfig8888.h"
 #include "SkDraw.h"
-#include "SkMatrix.h"
-#include "SkPaint.h"
-#include "SkPath.h"
 #include "SkPixelRef.h"
-#include "SkPixmap.h"
+#include "SkRasterClip.h"
 #include "SkShader.h"
 #include "SkSurface.h"
-#include "SkXfermode.h"
-
-class SkColorTable;
 
 #define CHECK_FOR_ANNOTATION(paint) \
     do { if (paint.getAnnotation()) { return; } } while (0)
index 8c44e9f..82494d9 100644 (file)
@@ -5,11 +5,17 @@
  * found in the LICENSE file.
  */
 
-#include "SkBitmapFilter.h"
+#include "SkErrorInternals.h"
+#include "SkConvolver.h"
+#include "SkBitmapProcState.h"
+#include "SkBitmap.h"
+#include "SkColor.h"
+#include "SkColorPriv.h"
+#include "SkConvolver.h"
+#include "SkUnPreMultiply.h"
+#include "SkShader.h"
 #include "SkRTConf.h"
-#include "SkTypes.h"
-
-#include <string.h>
+#include "SkMath.h"
 
 // These are the per-scanline callbacks that are used when we must resort to
 // resampling an image as it is blitted.  Typically these are used only when
index eb327d7..93b552e 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2013 Google Inc.
  *
@@ -5,12 +6,11 @@
  * found in the LICENSE file.
  */
 
+
 #ifndef SkBitmapFilter_DEFINED
 #define SkBitmapFilter_DEFINED
 
-#include "SkFixed.h"
 #include "SkMath.h"
-#include "SkScalar.h"
 
 // size of the precomputed bitmap filter tables for high quality filtering.
 // Used to precompute the shape of the filter kernel.
index e1d3cae..07e65fb 100644 (file)
@@ -7,7 +7,10 @@
  */
 
 #include "SkBitmapHeap.h"
+
 #include "SkBitmap.h"
+#include "SkReadBuffer.h"
+#include "SkWriteBuffer.h"
 #include "SkTSearch.h"
 
 SkBitmapHeapEntry::SkBitmapHeapEntry()
index 1e1979f..259d947 100644 (file)
@@ -1,19 +1,18 @@
+
 /*
  * Copyright 2012 Google Inc.
  *
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file.
  */
-
 #ifndef SkBitmapHeap_DEFINED
 #define SkBitmapHeap_DEFINED
 
-#include "SkAtomics.h"
 #include "SkBitmap.h"
-#include "SkPoint.h"
+#include "SkFlattenable.h"
 #include "SkRefCnt.h"
 #include "SkTDArray.h"
-#include "SkTypes.h"
+#include "SkAtomics.h"
 
 /**
  * SkBitmapHeapEntry provides users of SkBitmapHeap (using internal storage) with a means to...
index 6e25302..84b926e 100644 (file)
@@ -7,12 +7,10 @@
 
 #include "SkBitmapScaler.h"
 #include "SkBitmapFilter.h"
-#include "SkConvolver.h"
-#include "SkImageInfo.h"
-#include "SkPixmap.h"
 #include "SkRect.h"
-#include "SkScalar.h"
 #include "SkTArray.h"
+#include "SkErrorInternals.h"
+#include "SkConvolver.h"
 
 // SkResizeFilter ----------------------------------------------------------------
 
index a932ba9..59078d6 100644 (file)
@@ -9,6 +9,7 @@
 #include "SkAntiRun.h"
 #include "SkColor.h"
 #include "SkColorFilter.h"
+#include "SkCoreBlitters.h"
 #include "SkFilterShader.h"
 #include "SkReadBuffer.h"
 #include "SkWriteBuffer.h"
index baa9ccc..a2ab89d 100644 (file)
@@ -9,16 +9,14 @@
 #define SkBlitter_DEFINED
 
 #include "SkBitmapProcShader.h"
-#include "SkColor.h"
-#include "SkRect.h"
+#include "SkMask.h"
+#include "SkMatrix.h"
+#include "SkPaint.h"
+#include "SkPixmap.h"
+#include "SkRefCnt.h"
 #include "SkRegion.h"
 #include "SkShader.h"
-#include "SkTypes.h"
-
-class SkMatrix;
-class SkPaint;
-class SkPixmap;
-struct SkMask;
+#include "SkSmallAllocator.h"
 
 /** SkBlitter and its subclasses are responsible for actually writing pixels
     into memory. Besides efficiency, they handle clipping and antialiasing.
index 51c368a..590b05b 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2006 The Android Open Source Project
  *
@@ -5,9 +6,8 @@
  * found in the LICENSE file.
  */
 
-#include "SkBuffer.h"
 
-#include <string.h>
+#include "SkBuffer.h"
 
 ////////////////////////////////////////////////////////////////////////////////////////
 
index 92ed705..aaafb36 100644 (file)
@@ -11,7 +11,6 @@
 #define SkBuffer_DEFINED
 
 #include "SkScalar.h"
-#include "SkTypes.h"
 
 /** \class SkRBuffer
 
index 16c4eea..f1fb026 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "SkCachedData.h"
+#include "SkRefCnt.h"
 #include "SkDiscardableMemory.h"
 
 //#define TRACK_CACHEDDATA_LIFETIME
index a861157..6493a75 100644 (file)
@@ -9,7 +9,6 @@
 #define SkCachedData_DEFINED
 
 #include "SkMutex.h"
-#include "SkTypes.h"
 
 class SkDiscardableMemory;
 
index 342f79f..2308151 100644 (file)
@@ -5,12 +5,10 @@
  * found in the LICENSE file.
  */
 
-#include "SkBitmapDevice.h"
 #include "SkCanvas.h"
 #include "SkCanvasPriv.h"
-#include "SkClipStack.h"
+#include "SkBitmapDevice.h"
 #include "SkColorFilter.h"
-#include "SkDevice.h"
 #include "SkDraw.h"
 #include "SkDrawable.h"
 #include "SkDrawFilter.h"
@@ -20,6 +18,7 @@
 #include "SkMetaData.h"
 #include "SkNinePatchIter.h"
 #include "SkPaintPriv.h"
+#include "SkPathOps.h"
 #include "SkPatchUtils.h"
 #include "SkPicture.h"
 #include "SkRasterClip.h"
 #include "SkRRect.h"
 #include "SkSmallAllocator.h"
 #include "SkSurface_Base.h"
+#include "SkTemplates.h"
 #include "SkTextBlob.h"
 #include "SkTextFormatParams.h"
 #include "SkTLazy.h"
 #include "SkTraceEvent.h"
-
-#include <new>
+#include "SkUtils.h"
 
 #if SK_SUPPORT_GPU
 #include "GrRenderTarget.h"
index 73e6ddd..6fa239f 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2006 The Android Open Source Project
  *
@@ -5,9 +6,9 @@
  * found in the LICENSE file.
  */
 
+
 #include "SkColor.h"
 #include "SkColorPriv.h"
-#include "SkFixed.h"
 
 SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) {
     return SkPremultiplyARGBInline(a, r, g, b);
index 9cbcc64..8e01090 100644 (file)
@@ -7,14 +7,9 @@
 
 #include "SkColorFilter.h"
 #include "SkReadBuffer.h"
-#include "SkRefCnt.h"
 #include "SkString.h"
-#include "SkTDArray.h"
-#include "SkUnPreMultiply.h"
 #include "SkWriteBuffer.h"
 
-class GrFragmentProcessor;
-
 bool SkColorFilter::asColorMode(SkColor* color, SkXfermode::Mode* mode) const {
     return false;
 }
index 5e7cee6..bb700cd 100644 (file)
@@ -11,7 +11,6 @@
 #include "SkBlitter.h"
 #include "SkDraw.h"
 #include "SkCachedData.h"
-#include "SkPath.h"
 #include "SkRasterClip.h"
 #include "SkRRect.h"
 #include "SkTypes.h"
index df40fa4..916c477 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include "SkCanvas.h"
-#include "SkTLazy.h"
 #include "SkLazyPtr.h"
 #include "SkMiniRecorder.h"
 #include "SkPicture.h"
index 6c3faef..0dea60d 100644 (file)
@@ -11,7 +11,6 @@
 #include "SkMatrix.h"
 #include "SkPaint.h"
 #include "SkPicture.h"
-#include "SkTLazy.h"
 
 class SkPictureImageGenerator : SkImageGenerator {
 public:
index bed2947..32ebebd 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2011 Google Inc.
  *
@@ -5,13 +6,13 @@
  * found in the LICENSE file.
  */
 
+
 #ifndef SkPDFDevice_DEFINED
 #define SkPDFDevice_DEFINED
 
+#include "SkDevice.h"
 #include "SkBitmap.h"
 #include "SkCanvas.h"
-#include "SkClipStack.h"
-#include "SkDevice.h"
 #include "SkPaint.h"
 #include "SkPath.h"
 #include "SkPicture.h"
index 63f598f..6f235ed 100644 (file)
@@ -19,7 +19,6 @@
 #include "SkMatrix22.h"
 #include "SkMutex.h"
 #include "SkOTUtils.h"
-#include "SkPath.h"
 #include "SkScalerContext.h"
 #include "SkStream.h"
 #include "SkString.h"
index 9fd7ce7..f348c1d 100644 (file)
@@ -10,7 +10,6 @@
 #include "SkBase64.h"
 #include "SkBitmap.h"
 #include "SkChecksum.h"
-#include "SkClipStack.h"
 #include "SkData.h"
 #include "SkDraw.h"
 #include "SkImageEncoder.h"
index 8a4f817..52926a0 100644 (file)
@@ -9,7 +9,6 @@
 #include "SkDeferredCanvas.h"
 
 #include "SkChunkAlloc.h"
-#include "SkClipStack.h"
 #include "SkColorFilter.h"
 #include "SkDevice.h"
 #include "SkDrawFilter.h"
index a6393d2..41536b1 100644 (file)
@@ -8,10 +8,8 @@
 #include "SkAndroidSDKCanvas.h"
 
 #include "SkColorFilter.h"
-#include "SkPaint.h"
 #include "SkPathEffect.h"
 #include "SkShader.h"
-#include "SkTLazy.h"
 
 namespace {
 
index 6251c1b..1066d2b 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  * Copyright 2012 Google Inc.
  *
@@ -5,7 +6,7 @@
  * found in the LICENSE file.
  */
 
-#include "SkClipStack.h"
+
 #include "SkColorPriv.h"
 #include "SkDebugCanvas.h"
 #include "SkDrawCommand.h"
index 612ee57..e0aed62 100644 (file)
 
 #include "SkCanvas.h"
 #include "SkDrawCommand.h"
-#include "SkPath.h"
 #include "SkPathOps.h"
 #include "SkPicture.h"
-#include "SkString.h"
 #include "SkTArray.h"
+#include "SkString.h"
 
 class SkNWayCanvas;
 
index b8eca79..7ff5a86 100644 (file)
 #define SKDRAWCOMMAND_H_
 
 #include "SkCanvas.h"
-#include "SkTLazy.h"
-#include "SkPath.h"
-#include "SkRRect.h"
 #include "SkString.h"
-#include "SkTDArray.h"
 
 class SK_API SkDrawCommand {
 public:
index d8dbe83..d4c8325 100644 (file)
@@ -9,7 +9,6 @@
 #include "SkObjectParser.h"
 #include "SkData.h"
 #include "SkFontDescriptor.h"
-#include "SkPath.h"
 #include "SkRRect.h"
 #include "SkShader.h"
 #include "SkStream.h"
index 1c4f391..08dedb4 100644 (file)
@@ -10,7 +10,6 @@
 #include "SkMask.h"
 #include "SkPath.h"
 #include "SkRandom.h"
-#include "SkRRect.h"
 #include "Test.h"
 
 static bool operator==(const SkMask& a, const SkMask& b) {
index 645340a..4dad71d 100644 (file)
@@ -8,12 +8,11 @@
 #include "SkBlurMask.h"
 #include "SkBlurMaskFilter.h"
 #include "SkBlurDrawLooper.h"
-#include "SkCanvas.h"
-#include "SkEmbossMaskFilter.h"
 #include "SkLayerDrawLooper.h"
+#include "SkEmbossMaskFilter.h"
+#include "SkCanvas.h"
 #include "SkMath.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "Test.h"
 
 #if SK_SUPPORT_GPU
index 8b6aa25..f4db1a5 100644 (file)
@@ -302,7 +302,6 @@ DEF_TEST(CanvasState_test_soft_clips, reporter) {
 }
 
 #ifdef SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
-#include "SkClipStack.h"
 DEF_TEST(CanvasState_test_saveLayer_clip, reporter) {
     const int WIDTH = 100;
     const int HEIGHT = 100;
index 0970b83..31b38f2 100644 (file)
@@ -9,7 +9,6 @@
 #include "SkCubicClipper.h"
 #include "SkGeometry.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "Test.h"
 
 // Currently the supersampler blitter uses int16_t for its index into an array
index 600315e..eb2263e 100644 (file)
@@ -11,7 +11,6 @@
 #include "SkBitmapProcShader.h"
 #include "SkDeferredCanvas.h"
 #include "SkGradientShader.h"
-#include "SkPath.h"
 #include "SkShader.h"
 #include "SkSurface.h"
 #include "Test.h"
index 52c7433..7d8798c 100644 (file)
@@ -12,7 +12,6 @@
 #include "SkImageGeneratorPriv.h"
 #include "SkMatrixUtils.h"
 #include "SkPaint.h"
-#include "SkPath.h"
 #include "SkRandom.h"
 #include "SkShader.h"
 #include "SkSurface.h"
index 192abd7..3d6e59e 100644 (file)
@@ -10,7 +10,6 @@
 #include "SkDevice.h"
 #include "SkImageEncoder.h"
 #include "SkImage_Base.h"
-#include "SkPath.h"
 #include "SkRRect.h"
 #include "SkSurface.h"
 #include "SkUtils.h"