aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClearTest.cpp
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-03-12 13:46:21 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-13 15:16:22 +0000
commitb607a8fbf01b51104dd49fbc5b859bf0cea2c1e3 (patch)
tree4beba230b63580dab20a9d03712e467ba6527bd1 /tests/ClearTest.cpp
parent2607e3bbc370ef99dc9a5fa85e84fee07f938737 (diff)
IWYU for some test files starting with 'C'.
Change-Id: Iea274ae52da8b4b87ec55222c856f40a0d88c4e0 Reviewed-on: https://skia-review.googlesource.com/113746 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-on: https://skia-review.googlesource.com/113944 Reviewed-by: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tests/ClearTest.cpp')
-rw-r--r--tests/ClearTest.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp
index 429b9e1d5d..1110fddbd2 100644
--- a/tests/ClearTest.cpp
+++ b/tests/ClearTest.cpp
@@ -5,14 +5,29 @@
* found in the LICENSE file.
*/
-#include "Test.h"
+#include "SkTypes.h"
#if SK_SUPPORT_GPU
+#include "GrColor.h"
#include "GrContext.h"
+#include "GrContextFactory.h"
+#include "GrContextOptions.h"
+#include "GrContextPriv.h"
#include "GrRenderTargetContext.h"
-
+#include "GrTypes.h"
+#include "SkBitmap.h"
#include "SkCanvas.h"
+#include "SkColor.h"
+#include "SkColorSpace.h"
+#include "SkImageInfo.h"
+#include "SkPaint.h"
+#include "SkRect.h"
+#include "SkRefCnt.h"
#include "SkSurface.h"
+#include "Test.h"
+
+#include <cstring>
+#include <memory>
static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t expectedValue,
uint32_t* actualValue, int* failX, int* failY) {