aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
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 /tools
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 'tools')
-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
5 files changed, 5 insertions, 0 deletions
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h
index fc2f45adef..1b3d9abf32 100644
--- a/tools/debugger/SkDrawCommand.h
+++ b/tools/debugger/SkDrawCommand.h
@@ -8,6 +8,7 @@
#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 c1b87e7535..24017bd6c9 100644
--- a/tools/dump_record.cpp
+++ b/tools/dump_record.cpp
@@ -6,6 +6,7 @@
*/
#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 10f9afdbe0..edda9bede0 100644
--- a/tools/ok.cpp
+++ b/tools/ok.cpp
@@ -10,6 +10,7 @@
// * 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 fd5f201cac..5630a34595 100644
--- a/tools/ok_srcs.cpp
+++ b/tools/ok_srcs.cpp
@@ -7,6 +7,7 @@
#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 17e117a7f9..20779cfd78 100644
--- a/tools/ok_vias.cpp
+++ b/tools/ok_vias.cpp
@@ -5,6 +5,7 @@
* found in the LICENSE file.
*/
+#include "SkImage.h"
#include "SkOSFile.h"
#include "SkPictureRecorder.h"
#include "ok.h"