aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-08-04 14:56:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-04 14:56:53 -0700
commit7403d87db8e43d4c2b5b25ac22a0ebc22bd09d69 (patch)
tree76c4c4ba5e50f16452fa0c1a7119ca3b6084714c /gm
parent1b99b548cbffc027724d2076ca8eab7a448ce461 (diff)
IWYU: 'core' target, files starting A-C.
TBR=reed@google.com Verbal lgtm, does not change API. Review URL: https://codereview.chromium.org/1265033002
Diffstat (limited to 'gm')
-rw-r--r--gm/aarectmodes.cpp1
-rw-r--r--gm/aaxfermodes.cpp1
-rwxr-xr-xgm/beziers.cpp1
-rw-r--r--gm/bigblurs.cpp2
-rw-r--r--gm/bigmatrix.cpp3
-rw-r--r--gm/bitmaprecttest.cpp1
-rw-r--r--gm/blurs.cpp1
-rw-r--r--gm/complexclip2.cpp2
-rw-r--r--gm/concavepaths.cpp1
-rw-r--r--gm/conicpaths.cpp1
-rw-r--r--gm/convexpaths.cpp1
-rw-r--r--gm/convexpolyclip.cpp1
-rw-r--r--gm/cubicpaths.cpp2
-rw-r--r--gm/degeneratesegments.cpp1
-rw-r--r--gm/drawable.cpp1
-rw-r--r--gm/dstreadshuffle.cpp1
-rw-r--r--gm/emptypath.cpp1
-rw-r--r--gm/filltypes.cpp3
-rw-r--r--gm/filltypespersp.cpp3
-rw-r--r--gm/getpostextpath.cpp1
-rw-r--r--gm/hairlines.cpp1
-rw-r--r--gm/hittestpath.cpp1
-rw-r--r--gm/linepaths.cpp2
-rw-r--r--gm/nested.cpp1
-rw-r--r--gm/pathfill.cpp3
-rw-r--r--gm/pathinterior.cpp5
-rw-r--r--gm/plus.cpp1
-rw-r--r--gm/poly2poly.cpp1
-rw-r--r--gm/quadpaths.cpp2
-rw-r--r--gm/samplerstress.cpp3
-rw-r--r--gm/shadertext.cpp1
-rw-r--r--gm/shadertext2.cpp1
-rw-r--r--gm/shadows.cpp5
-rw-r--r--gm/simpleaaclip.cpp4
-rw-r--r--gm/skbug1719.cpp3
-rwxr-xr-xgm/smallarc.cpp1
-rw-r--r--gm/srcmode.cpp1
-rw-r--r--gm/stlouisarch.cpp1
-rw-r--r--gm/strokes.cpp4
39 files changed, 54 insertions, 16 deletions
diff --git a/gm/aarectmodes.cpp b/gm/aarectmodes.cpp
index 7cf5a83929..e0df7d84b1 100644
--- a/gm/aarectmodes.cpp
+++ b/gm/aarectmodes.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
+#include "SkPath.h"
#include "SkShader.h"
static void test4(SkCanvas* canvas) {
diff --git a/gm/aaxfermodes.cpp b/gm/aaxfermodes.cpp
index 8e66b4337b..d33423a35e 100644
--- a/gm/aaxfermodes.cpp
+++ b/gm/aaxfermodes.cpp
@@ -7,6 +7,7 @@
*/
#include "gm.h"
#include "SkArithmeticMode.h"
+#include "SkPath.h"
#include "SkShader.h"
#include "SkXfermode.h"
diff --git a/gm/beziers.cpp b/gm/beziers.cpp
index 3dd8fa7900..68960edbf3 100755
--- a/gm/beziers.cpp
+++ b/gm/beziers.cpp
@@ -6,6 +6,7 @@
*/
#include "gm.h"
+#include "SkPath.h"
#include "SkRandom.h"
#define W 400
diff --git a/gm/bigblurs.cpp b/gm/bigblurs.cpp
index a92c7fe8df..55000052f0 100644
--- a/gm/bigblurs.cpp
+++ b/gm/bigblurs.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2013 Google Inc.
*
@@ -9,6 +8,7 @@
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/bigmatrix.cpp b/gm/bigmatrix.cpp
index abe0f4e750..c7c3b0dd07 100644
--- a/gm/bigmatrix.cpp
+++ b/gm/bigmatrix.cpp
@@ -1,13 +1,14 @@
-
/*
* 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 {
diff --git a/gm/bitmaprecttest.cpp b/gm/bitmaprecttest.cpp
index 6f2ccf211e..630c90c600 100644
--- a/gm/bitmaprecttest.cpp
+++ b/gm/bitmaprecttest.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
+#include "SkPath.h"
static void make_bm(SkBitmap* bm) {
bm->allocN32Pixels(60, 60);
diff --git a/gm/blurs.cpp b/gm/blurs.cpp
index b1af6850e8..8f95f007fa 100644
--- a/gm/blurs.cpp
+++ b/gm/blurs.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurMaskFilter.h"
+#include "SkPath.h"
class BlursGM : public skiagm::GM {
public:
diff --git a/gm/complexclip2.cpp b/gm/complexclip2.cpp
index 9357884c6e..4314619cfd 100644
--- a/gm/complexclip2.cpp
+++ b/gm/complexclip2.cpp
@@ -10,6 +10,8 @@
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkRandom.h"
+#include "SkRect.h"
+#include "SkRRect.h"
namespace skiagm {
diff --git a/gm/concavepaths.cpp b/gm/concavepaths.cpp
index 46b2ef4e0f..37635f8b67 100644
--- a/gm/concavepaths.cpp
+++ b/gm/concavepaths.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
+#include "SkPath.h"
#define WIDTH 400
#define HEIGHT 600
diff --git a/gm/conicpaths.cpp b/gm/conicpaths.cpp
index 717dd8e1dd..2bdd1f8d26 100644
--- a/gm/conicpaths.cpp
+++ b/gm/conicpaths.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
+#include "SkPath.h"
#include "SkTArray.h"
class ConicPathsGM : public skiagm::GM {
diff --git a/gm/convexpaths.cpp b/gm/convexpaths.cpp
index 889d65b189..4180884e66 100644
--- a/gm/convexpaths.cpp
+++ b/gm/convexpaths.cpp
@@ -6,6 +6,7 @@
* found in the LICENSE file.
*/
#include "gm.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkTArray.h"
diff --git a/gm/convexpolyclip.cpp b/gm/convexpolyclip.cpp
index 0478b51ff0..2ed17f2a5b 100644
--- a/gm/convexpolyclip.cpp
+++ b/gm/convexpolyclip.cpp
@@ -10,6 +10,7 @@
#include "SkBitmap.h"
#include "SkGradientShader.h"
+#include "SkPath.h"
#include "SkTLList.h"
static SkBitmap make_bmp(int w, int h) {
diff --git a/gm/cubicpaths.cpp b/gm/cubicpaths.cpp
index b3fca5ac02..74fbe8d58b 100644
--- a/gm/cubicpaths.cpp
+++ b/gm/cubicpaths.cpp
@@ -4,9 +4,11 @@
* 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
diff --git a/gm/degeneratesegments.cpp b/gm/degeneratesegments.cpp
index df111ac997..d5164908b6 100644
--- a/gm/degeneratesegments.cpp
+++ b/gm/degeneratesegments.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {
diff --git a/gm/drawable.cpp b/gm/drawable.cpp
index 3847ba5a32..c7bc76185b 100644
--- a/gm/drawable.cpp
+++ b/gm/drawable.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkDrawable.h"
+#include "SkPath.h"
struct MyDrawable : public SkDrawable {
SkRect onGetBounds() override { return SkRect::MakeWH(50, 100); }
diff --git a/gm/dstreadshuffle.cpp b/gm/dstreadshuffle.cpp
index 8cdccbc8f8..8ff40a8bec 100644
--- a/gm/dstreadshuffle.cpp
+++ b/gm/dstreadshuffle.cpp
@@ -7,6 +7,7 @@
*/
#include "gm.h"
#include "SkBitmap.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkXfermode.h"
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp
index ec60bfcaeb..36edf4e50f 100644
--- a/gm/emptypath.cpp
+++ b/gm/emptypath.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkRandom.h"
namespace skiagm {
diff --git a/gm/filltypes.cpp b/gm/filltypes.cpp
index f01f9bdd72..b470c05609 100644
--- a/gm/filltypes.cpp
+++ b/gm/filltypes.cpp
@@ -1,11 +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 "SkPath.h"
namespace skiagm {
diff --git a/gm/filltypespersp.cpp b/gm/filltypespersp.cpp
index 92fce3ab0c..cc09b95bda 100644
--- a/gm/filltypespersp.cpp
+++ b/gm/filltypespersp.cpp
@@ -1,12 +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 "SkGradientShader.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/getpostextpath.cpp b/gm/getpostextpath.cpp
index 2286602aa7..faace242e0 100644
--- a/gm/getpostextpath.cpp
+++ b/gm/getpostextpath.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkTemplates.h"
diff --git a/gm/hairlines.cpp b/gm/hairlines.cpp
index 605641562f..9d7e36631d 100644
--- a/gm/hairlines.cpp
+++ b/gm/hairlines.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
+#include "SkPath.h"
#include "SkTArray.h"
namespace skiagm {
diff --git a/gm/hittestpath.cpp b/gm/hittestpath.cpp
index f415ba3785..b5f01cd2fd 100644
--- a/gm/hittestpath.cpp
+++ b/gm/hittestpath.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkCullPoints.h"
+#include "SkPath.h"
#include "SkRandom.h"
static void test_hittest(SkCanvas* canvas, const SkPath& path) {
diff --git a/gm/linepaths.cpp b/gm/linepaths.cpp
index e8a4b0b1ca..0c99fa754c 100644
--- a/gm/linepaths.cpp
+++ b/gm/linepaths.cpp
@@ -4,8 +4,10 @@
* 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"
diff --git a/gm/nested.cpp b/gm/nested.cpp
index 9040ba6fba..d3b75b370b 100644
--- a/gm/nested.cpp
+++ b/gm/nested.cpp
@@ -6,6 +6,7 @@
*/
#include "gm.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkRRect.h"
diff --git a/gm/pathfill.cpp b/gm/pathfill.cpp
index 1260654979..a2b1ee0142 100644
--- a/gm/pathfill.cpp
+++ b/gm/pathfill.cpp
@@ -1,11 +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 "SkPath.h"
typedef SkScalar (*MakePathProc)(SkPath*);
diff --git a/gm/pathinterior.cpp b/gm/pathinterior.cpp
index 88efb3a7a8..f1cbfc4627 100644
--- a/gm/pathinterior.cpp
+++ b/gm/pathinterior.cpp
@@ -6,11 +6,12 @@
*/
#include "gm.h"
+#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
#include "SkGraphics.h"
-#include "SkRandom.h"
#include "SkLayerDrawLooper.h"
-#include "SkBlurMaskFilter.h"
+#include "SkPath.h"
+#include "SkRandom.h"
static SkRect inset(const SkRect& r) {
SkRect rect = r;
diff --git a/gm/plus.cpp b/gm/plus.cpp
index ba2a1a0a39..6a5af61d80 100644
--- a/gm/plus.cpp
+++ b/gm/plus.cpp
@@ -6,6 +6,7 @@
*/
#include "gm.h"
+#include "SkPath.h"
DEF_SIMPLE_GM(PlusMergesAA, canvas, 256, 256) {
SkPaint p;
diff --git a/gm/poly2poly.cpp b/gm/poly2poly.cpp
index c1d9b7e9e5..ea77033837 100644
--- a/gm/poly2poly.cpp
+++ b/gm/poly2poly.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "Resources.h"
+#include "SkPath.h"
#include "SkTypeface.h"
class SkJSCanvas {
diff --git a/gm/quadpaths.cpp b/gm/quadpaths.cpp
index 2fab37bfb0..359f62dd39 100644
--- a/gm/quadpaths.cpp
+++ b/gm/quadpaths.cpp
@@ -4,9 +4,11 @@
* 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 {
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp
index 7f85e17f54..eff6281cdd 100644
--- a/gm/samplerstress.cpp
+++ b/gm/samplerstress.cpp
@@ -6,9 +6,10 @@
*/
#include "gm.h"
+#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
+#include "SkPath.h"
#include "SkShader.h"
-#include "SkBlurMaskFilter.h"
namespace skiagm {
diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp
index 2bb4e96d92..fd74e7c6ce 100644
--- a/gm/shadertext.cpp
+++ b/gm/shadertext.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/shadertext2.cpp b/gm/shadertext2.cpp
index 4d697d9a5f..f4af684ae9 100644
--- a/gm/shadertext2.cpp
+++ b/gm/shadertext2.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/shadows.cpp b/gm/shadows.cpp
index 729104c980..82b5fd9f8e 100644
--- a/gm/shadows.cpp
+++ b/gm/shadows.cpp
@@ -1,13 +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 "gm.h"
-#include "SkBlurMask.h"
#include "SkBlurDrawLooper.h"
+#include "SkBlurMask.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/simpleaaclip.cpp b/gm/simpleaaclip.cpp
index 8054a53c61..372cb1bafb 100644
--- a/gm/simpleaaclip.cpp
+++ b/gm/simpleaaclip.cpp
@@ -5,10 +5,10 @@
* found in the LICENSE file.
*/
-
#include "gm.h"
-#include "SkCanvas.h"
#include "SkAAClip.h"
+#include "SkCanvas.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/skbug1719.cpp b/gm/skbug1719.cpp
index 66526295d8..0a75d353f4 100644
--- a/gm/skbug1719.cpp
+++ b/gm/skbug1719.cpp
@@ -6,8 +6,9 @@
*/
#include "gm.h"
-#include "SkColorFilter.h"
#include "SkBlurMaskFilter.h"
+#include "SkColorFilter.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/smallarc.cpp b/gm/smallarc.cpp
index 76611b763c..2109b90e0b 100755
--- a/gm/smallarc.cpp
+++ b/gm/smallarc.cpp
@@ -6,6 +6,7 @@
*/
#include "gm.h"
+#include "SkPath.h"
namespace skiagm {
diff --git a/gm/srcmode.cpp b/gm/srcmode.cpp
index ec2673f94a..7a7e89e052 100644
--- a/gm/srcmode.cpp
+++ b/gm/srcmode.cpp
@@ -8,6 +8,7 @@
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
+#include "SkPath.h"
#include "SkSurface.h"
#if SK_SUPPORT_GPU
diff --git a/gm/stlouisarch.cpp b/gm/stlouisarch.cpp
index 176fb4b619..7b31e54ec8 100644
--- a/gm/stlouisarch.cpp
+++ b/gm/stlouisarch.cpp
@@ -7,6 +7,7 @@
#include "gm.h"
#include "SkCanvas.h"
+#include "SkPath.h"
#include "SkTArray.h"
namespace skiagm {
diff --git a/gm/strokes.cpp b/gm/strokes.cpp
index 77638e4537..73823907a3 100644
--- a/gm/strokes.cpp
+++ b/gm/strokes.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2011 Google Inc.
*
@@ -6,9 +5,8 @@
* found in the LICENSE file.
*/
-
-
#include "gm.h"
+#include "SkPath.h"
#include "SkRandom.h"
#define W 400