aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-05-02 15:33:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-03 13:22:28 +0000
commitfed00319c9bafa41c8df658708030c072b301a41 (patch)
tree15bb74cab65d66f80cc1ab1f943f1fb36827b5af /src
parenta1c50c6aacc3e14053458cd89de64fade37269c4 (diff)
Reland: Remove SkLights include from SkCanvas.h
SkLights.h pulls in a bunch of other headers and is not needed (fwdecl works fine). Change-Id: I3ed97cd7861e51dcb7cfa7950a97b420dbc6fbfb TBR=reed@google.com Reviewed-on: https://skia-review.googlesource.com/15143 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src')
-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
11 files changed, 11 insertions, 0 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 5e33dbf371..b890ead9cf 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -20,6 +20,7 @@
#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 b142e7edf7..f2d5946c9e 100644
--- a/src/core/SkDraw.h
+++ b/src/core/SkDraw.h
@@ -13,6 +13,7 @@
#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 0162327d40..b3149a7d42 100644
--- a/src/core/SkLiteDL.cpp
+++ b/src/core/SkLiteDL.cpp
@@ -8,6 +8,7 @@
#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 270b2ef4ce..c5df350957 100644
--- a/src/core/SkLiteDL.h
+++ b/src/core/SkLiteDL.h
@@ -14,6 +14,7 @@
#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 6f6a9f1fcf..a400264c7f 100644
--- a/src/core/SkPictureCommon.h
+++ b/src/core/SkPictureCommon.h
@@ -14,6 +14,7 @@
#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 4df4131340..3553ff5b45 100644
--- a/src/core/SkRecord.cpp
+++ b/src/core/SkRecord.cpp
@@ -6,6 +6,7 @@
*/
#include "SkRecord.h"
+#include "SkImage.h"
#include <algorithm>
SkRecord::~SkRecord() {
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp
index fbb7f7ce6a..e668cc874c 100644
--- a/src/core/SkRecordDraw.cpp
+++ b/src/core/SkRecordDraw.cpp
@@ -6,6 +6,7 @@
*/
#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 3a292dcd79..a38f695563 100644
--- a/src/fonts/SkRandomScalerContext.cpp
+++ b/src/fonts/SkRandomScalerContext.cpp
@@ -5,6 +5,7 @@
* 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 d946f48197..c5cde3d113 100644
--- a/src/pdf/SkPDFCanvas.cpp
+++ b/src/pdf/SkPDFCanvas.cpp
@@ -5,6 +5,7 @@
* 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 35b88de595..05cabadefe 100644
--- a/src/utils/SkDumpCanvas.cpp
+++ b/src/utils/SkDumpCanvas.cpp
@@ -7,6 +7,7 @@
#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 f3311cd268..279ca7338c 100644
--- a/src/utils/SkShadowUtils.cpp
+++ b/src/utils/SkShadowUtils.cpp
@@ -8,6 +8,7 @@
#include "SkShadowUtils.h"
#include "SkCanvas.h"
#include "SkColorFilter.h"
+#include "SkColorPriv.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkResourceCache.h"