From d90cd3b2796b693b2d6af6fe13a8ca6c4795d80e Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Tue, 22 May 2018 10:48:08 -0400 Subject: Revert "Revert "IWYU for tests starting with 'D'."" This reverts commit edf8449d2c3663350b6b6e30d2fa4c70da02deef. Change-Id: Ibeedd9965855b3ccfe44486d15307bf3da15fd9c Reviewed-on: https://skia-review.googlesource.com/129516 Reviewed-by: Ben Wagner Commit-Queue: Ben Wagner --- tests/DrawOpAtlasTest.cpp | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) (limited to 'tests/DrawOpAtlasTest.cpp') diff --git a/tests/DrawOpAtlasTest.cpp b/tests/DrawOpAtlasTest.cpp index 584ae64825..9388248c2f 100644 --- a/tests/DrawOpAtlasTest.cpp +++ b/tests/DrawOpAtlasTest.cpp @@ -8,10 +8,37 @@ #include "SkTypes.h" #if SK_SUPPORT_GPU - +#include "GrContext.h" +#include "GrContextFactory.h" #include "GrContextPriv.h" +#include "GrDeferredUpload.h" +#include "GrDrawOpAtlas.h" +#include "GrDrawingManager.h" +#include "GrOnFlushResourceProvider.h" +#include "GrOpFlushState.h" +#include "GrRenderTargetContext.h" +#include "GrSurfaceProxyPriv.h" +#include "GrTextureProxy.h" +#include "GrTypesPriv.h" +#include "GrXferProcessor.h" +#include "SkBitmap.h" +#include "SkColor.h" +#include "SkColorSpace.h" +#include "SkIPoint16.h" +#include "SkImageInfo.h" +#include "SkMatrix.h" +#include "SkPaint.h" +#include "SkPoint.h" +#include "SkRefCnt.h" #include "Test.h" -#include "text/GrGlyphCache.h" +#include "ops/GrDrawOp.h" +#include "text/GrAtlasManager.h" +#include "text/GrAtlasTextContext.h" +#include "text/GrTextUtils.h" + +#include + +class GrResourceProvider; static const int kNumPlots = 2; static const int kPlotSize = 32; @@ -145,16 +172,6 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(BasicDrawOpAtlas, reporter, ctxInfo) { check(reporter, atlas.get(), 1, 4, 1); } -#include "GrTest.h" - -#include "GrDrawingManager.h" -#include "GrOpFlushState.h" -#include "GrProxyProvider.h" - -#include "effects/GrConstColorProcessor.h" -#include "ops/GrAtlasTextOp.h" -#include "text/GrAtlasTextContext.h" - // This test verifies that the GrAtlasTextOp::onPrepare method correctly handles a failure // when allocating an atlas page. DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrAtlasTextOpPreparation, reporter, ctxInfo) { -- cgit v1.2.3