aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipStackTest.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/ClipStackTest.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/ClipStackTest.cpp')
-rw-r--r--tests/ClipStackTest.cpp28
1 files changed, 26 insertions, 2 deletions
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp
index fb46681f0f..eeef831df1 100644
--- a/tests/ClipStackTest.cpp
+++ b/tests/ClipStackTest.cpp
@@ -5,17 +5,39 @@
* found in the LICENSE file.
*/
-#include "Test.h"
+#include "SkCanvas.h"
+#include "SkClipOp.h"
+#include "SkClipOpPriv.h"
#include "SkClipStack.h"
+#include "SkImageInfo.h"
+#include "SkMatrix.h"
#include "SkPath.h"
+#include "SkPoint.h"
+#include "SkRRect.h"
#include "SkRandom.h"
#include "SkRect.h"
+#include "SkRefCnt.h"
#include "SkRegion.h"
+#include "SkScalar.h"
+#include "SkSize.h"
+#include "SkString.h"
+#include "SkSurface.h"
+#include "SkTLList.h"
+#include "SkTemplates.h"
+#include "SkTypes.h"
+#include "Test.h"
#if SK_SUPPORT_GPU
+#include "GrCaps.h"
+#include "GrClip.h"
#include "GrClipStackClip.h"
+#include "GrConfig.h"
+#include "GrContext.h"
+#include "GrContextFactory.h"
+#include "GrContextPriv.h"
#include "GrReducedClip.h"
#include "GrResourceCache.h"
+#include "GrResourceKey.h"
#include "GrSurfaceProxyPriv.h"
#include "GrTexture.h"
#include "GrTextureProxy.h"
@@ -23,6 +45,9 @@ typedef GrReducedClip::ElementList ElementList;
typedef GrReducedClip::InitialState InitialState;
#endif
+#include <cstring>
+#include <new>
+
static void test_assign_and_comparison(skiatest::Reporter* reporter) {
SkClipStack s;
bool doAA = false;
@@ -1510,7 +1535,6 @@ DEF_GPUTEST_FOR_ALL_CONTEXTS(ClipMaskCache, reporter, ctxInfo) {
#endif
}
-#include "SkSurface.h"
DEF_GPUTEST_FOR_ALL_CONTEXTS(canvas_private_clipRgn, reporter, ctxInfo) {
GrContext* context = ctxInfo.grContext();