From c65aec97619682b2c0191554f44ddf35f618a94d Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 9 Mar 2017 09:03:58 -0500 Subject: Make GrClip.h private BUG=skia: Change-Id: I4aa3c2707811ece3a63d161035e316c3bbc1cd15 Reviewed-on: https://skia-review.googlesource.com/9482 Commit-Queue: Brian Salomon Reviewed-by: Brian Osman --- tests/ImageStorageTest.cpp | 1 + tests/IntTextureTest.cpp | 1 + tests/ProcessorTest.cpp | 1 + tests/RectangleTextureTest.cpp | 3 ++- tests/SRGBMipMapTest.cpp | 3 ++- tests/TessellatingPathRendererTests.cpp | 3 ++- 6 files changed, 9 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/ImageStorageTest.cpp b/tests/ImageStorageTest.cpp index 42305066f6..59bb38b02a 100644 --- a/tests/ImageStorageTest.cpp +++ b/tests/ImageStorageTest.cpp @@ -9,6 +9,7 @@ #if SK_SUPPORT_GPU +#include "GrClip.h" #include "GrFragmentProcessor.h" #include "GrRenderTargetContext.h" #include "GrResourceProvider.h" diff --git a/tests/IntTextureTest.cpp b/tests/IntTextureTest.cpp index 14b18b22af..93a9ced577 100644 --- a/tests/IntTextureTest.cpp +++ b/tests/IntTextureTest.cpp @@ -8,6 +8,7 @@ #include "Test.h" #if SK_SUPPORT_GPU +#include "GrClip.h" #include "GrContext.h" #include "GrRenderTargetContext.h" #include "GrResourceProvider.h" diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp index 0b8f6febc7..03646e1d44 100644 --- a/tests/ProcessorTest.cpp +++ b/tests/ProcessorTest.cpp @@ -9,6 +9,7 @@ #include "Test.h" #if SK_SUPPORT_GPU +#include "GrClip.h" #include "GrContext.h" #include "GrGpuResource.h" #include "GrPipelineBuilder.h" diff --git a/tests/RectangleTextureTest.cpp b/tests/RectangleTextureTest.cpp index ef5f2d31a6..0f164ebc79 100644 --- a/tests/RectangleTextureTest.cpp +++ b/tests/RectangleTextureTest.cpp @@ -9,12 +9,13 @@ #include "TestUtils.h" #if SK_SUPPORT_GPU +#include "GrClip.h" #include "GrContext.h" #include "GrContextPriv.h" #include "GrRenderTargetContext.h" +#include "gl/GLTestContext.h" #include "gl/GrGLGpu.h" #include "gl/GrGLUtil.h" -#include "gl/GLTestContext.h" // skbug.com/5932 static void test_basic_draw_as_src(skiatest::Reporter* reporter, GrContext* context, diff --git a/tests/SRGBMipMapTest.cpp b/tests/SRGBMipMapTest.cpp index e01d676554..bf983eef1b 100644 --- a/tests/SRGBMipMapTest.cpp +++ b/tests/SRGBMipMapTest.cpp @@ -8,12 +8,13 @@ #include "Test.h" #if SK_SUPPORT_GPU #include "GrCaps.h" +#include "GrClip.h" #include "GrContext.h" #include "GrRenderTargetContext.h" #include "GrResourceProvider.h" -#include "gl/GrGLGpu.h" #include "SkCanvas.h" #include "SkSurface.h" +#include "gl/GrGLGpu.h" // using anonymous namespace because these functions are used as template params. namespace { diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp index 548be4b3a5..8579c4dcbd 100644 --- a/tests/TessellatingPathRendererTests.cpp +++ b/tests/TessellatingPathRendererTests.cpp @@ -10,9 +10,10 @@ #include "SkPath.h" #if SK_SUPPORT_GPU +#include "GrClip.h" #include "GrContext.h" -#include "ops/GrTessellatingPathRenderer.h" #include "SkGradientShader.h" +#include "ops/GrTessellatingPathRenderer.h" /* * These tests pass by not crashing, hanging or asserting in Debug. -- cgit v1.2.3