aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlendTest.cpp
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-03-09 14:41:36 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-09 20:19:02 +0000
commite6b04a1407c5be8c84b233fd1cbc9523f2102be3 (patch)
treed2b2a3eb8d98705ec80e7605014122d50b4e2d80 /tests/BlendTest.cpp
parent4b8da2ace31dcfc01d592b764f71ad2b265fdf7d (diff)
IWYU for test files starting with 'B'.
Found reproduction of iwyu issue #486, fixed at https://github.com/include-what-you-use/include-what-you-use/pull/522 Change-Id: Ic77a1a0c3b02b7853517c7fc4d98d92b29c2b0eb Reviewed-on: https://skia-review.googlesource.com/113214 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tests/BlendTest.cpp')
-rw-r--r--tests/BlendTest.cpp20
1 files changed, 13 insertions, 7 deletions
diff --git a/tests/BlendTest.cpp b/tests/BlendTest.cpp
index 5332b10149..5b2f6faa14 100644
--- a/tests/BlendTest.cpp
+++ b/tests/BlendTest.cpp
@@ -5,26 +5,32 @@
* found in the LICENSE file.
*/
-#include <functional>
#include "SkBitmap.h"
+#include "SkBlendMode.h"
#include "SkCanvas.h"
#include "SkColor.h"
-#include "SkColorPriv.h"
+#include "SkColorSpace.h"
+#include "SkImageInfo.h"
+#include "SkPaint.h"
+#include "SkPoint.h"
+#include "SkRect.h"
+#include "SkRefCnt.h"
#include "SkSurface.h"
-#include "SkTaskGroup.h"
-#include "SkUtils.h"
+#include "SkTypes.h"
#include "Test.h"
#if SK_SUPPORT_GPU
+#include "GrBackendSurface.h"
#include "GrContext.h"
+#include "GrContextFactory.h"
#include "GrContextPriv.h"
#include "GrResourceProvider.h"
-#include "GrSurfaceContext.h"
-#include "GrSurfaceProxy.h"
-#include "GrTest.h"
#include "GrTexture.h"
+#include "GrTypes.h"
#endif
+#include <vector>
+
struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; };
static bool acceptable(const Results& r) {